Aston-HyperV-Code/Host/ALL-Kill.ps1

18 lines
491 B
PowerShell
Raw Normal View History

2021-06-02 10:12:04 +02:00
Stop-VM RTR* -turnoff
Stop-VM SRV* -turnoff
Remove-VM RTR* -Force
Remove-VM SRV* -Force
2021-06-28 15:25:53 +02:00
#Dismount-VHD Path d:\VHD\SRV-01.vhdx
#Dismount-VHD Path d:\VHD\SRV-02.vhdx
#Dismount-VHD Path d:\VHD\SRV-03.vhdx
#Dismount-VHD Path d:\VHD\RTR-01.vhdx
#Dismount-VHD Path d:\VHD\RTR-02.vhdx
#Dismount-VHD Path d:\VHD\RTR-03.vhdx
#Dismount-VHD Path d:\VHD\CLI-01.vhdx
#Dismount-VHD Path d:\VHD\CLI-02.vhdx
#Dismount-VHD Path d:\VHD\CLI-03.vhdx
2021-06-02 10:12:04 +02:00
del d:\VHD\RTR*
del d:\VHD\SRV*