PowerCLI error report (modification of post by view diff)
embed code: <script type="text/javascript" src="http://PoshCode.org/embed/2020"></script>download | new post
Generating error report bundle for VMware PowerCLI / vSphere
- $getVmScript = {
- Connect-VIServer yourVCenterServer
- Get-VM
- }
- $ getVmScript | Get-ErrorReport -ProblemScriptTimeoutSeconds 60 -ProblemDescription "Get-VM hangs when trying to retrieve all the VMs form the server. The server’s inventory can be successfully browsed via the vClient." -Destination 'D:\bug report'
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.
PowerShell Code Repository