Check Storage Migration Status from PowerShell

Check Storage Migration Status from PowerShell

Q: How can I check Storage Migration status by using Windows PowerShell?

A: It's possible to query the WMI job that is used as part of the Storage Migration by using the Get-WmiObject PowerShell cmdlet. The virtualization namespace is used and the class is Msvm_MigrationJob. An example is shown below.

PS C:\> Get-WmiObject -Namespace root\virtualization\v2 -Class Msvm_MigrationJob | ft Name, JobStatus, PercentComplete, VirtualSystemName


 

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish