I have recently been working on an issue with a PowerCLI script that has been working for a few weeks that just stopped working. The script is modified version of the one Kyle Ruddy posted about here:
https://blogs.vmware.com/PowerCLI/2018/07/automate-file-based-backup-of-vcsa.html
The script also uses Credentials store to be able to run the script securely but other than that the script is pretty vanilla.
Now that you are up to speed with how it is supposed to work, my next post will cover the issue, and how to resolve it.
Covering topics of error messages, installation guides, and How To Articles for Windows Server and Workstations, VMWare, and Home Automation using Home Assistant.
Friday, December 13, 2019
Friday, December 6, 2019
PowerCLI - Datastore Report
I recently was working in an environment where they are still running vSphere 6.0. While doing some storage expansions I discovered that the Flash Client and the C# Client were not reporting the same size on the Datastore. This can be very frustrating as you are not sure which one you can trust. So as a tie breaker I decided to turn to my good friend PowerCLI.
It turns out that the PowerCLI and the C# client were reporting the same thing. So I decided to create a PowerCLI Script to assist me in my work. You can find the script there on my Github:
https://github.com/kenbshinn/PowerCLI-Scripts/blob/master/VM_Datastore_Report.ps1
I hope you found this post helpful and will share it with your friends.
It turns out that the PowerCLI and the C# client were reporting the same thing. So I decided to create a PowerCLI Script to assist me in my work. You can find the script there on my Github:
https://github.com/kenbshinn/PowerCLI-Scripts/blob/master/VM_Datastore_Report.ps1
I hope you found this post helpful and will share it with your friends.
Subscribe to:
Posts (Atom)
I have moved!!!
Please check out my new blog which now contains all my old posts and some new goodies as well. I can now be found at http://www.kenbshinn.c...
-
To start, let me apologize for not taking screen shots to share this issue. If this issue occurs in the future I will be sure to take them t...
-
I have been away for a while, but in my absence I have been playing with a Home Automation System called Home Assistant. You can find out mo...
-
The other day I was tasked with deploying a Infoblox OVA in our Lab environment. I was under the impression that this was going to be a simp...