70-740, Teil 5.1.5.
Speichermigration implementieren
Ideen für die Recherche im Web:
Hyper-V Speichermigration
Zum Nachschlagen:
https://docs.microsoft.com/en-us/powershell/module/hyper-v/move-vmstorage?view=win10-ps#examples
Übungen:
Get-VM
Get-VM pm-gui1
Get-VM wd-nano1 | Get-VMHardDiskDrive | ft VMName, Path
Get-VM wd-nano1 | ft VMName, SmartPagingFilePath
Get-VM wd-nano1 | ft VMName, SnapshotFileLocation
Move-VMStorage wd-nano1 -SnapshotFilePath „\\wd\ISOs\wd-nano1“ -SmartPagingFilePath „\\wd\ISOs\wd-nano1“ -VHDs @(@{„SourceFilePath“ = „C:\NanoServerImageGenerator\wd-nano1.vhdx“; „DestinationFilePath“ = „\\wd\ISOs\wd-nano1.vhdx“}, @{„SourceFilePath“ = „C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\wd-nano1A.vhdx“; „DestinationFilePath“ = „\\wd\ISOs\wd-nano1A.vhdx“})
Get-WmiObject -Namespace root\virtualization\v2 -Class Msvm_MigrationJob | ft Name, JobStatus, PercentComplete, VirtualSystemName
Get-VM wd-nano1 | Get-VMHardDiskDrive | ft VMName, Path
Get-VM wd-nano1 | ft VMName, SmartPagingFilePath
Get-VM wd-nano1 | ft VMName, SnapshotFileLocation
dir \\wd\ISOs\wd-nano1*.vhdx
dir \\wd\ISOs\wd-nano1