PowerCLI error report (modification of post by view diff)
embed code: <script type="text/javascript" src="http://PoshCode.org/embed/2019"></script>download | new post
Generating error report bundle for VMware PowerCLI / vSphere
- $moveVmScript = {
- Connect-VIServer yourVCenterServer
- Move-VM WinXP -Location yourDestinationHost
- }
- $ moveVmScript | Get-ErrorReport -ProblemScriptTimeoutSeconds 120 -ProblemDescription "An error is returned by Move-VM. The operation should be successful. The same can be done via the vClient." -Destination 'D:\bug report' –DontIncludeServerLogs
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