[powershell]
$esxhost= Get-VMHost anyhost
dir ‘vmstores:\[email protected]\name\datastorename\*\*.vmx’ |
% {New-VM -Host $esxhost -VMFilePath $_.DatastoreFullPath}
[/powershell]
A place to store my quick notes I want to access later, plus maybe help the world…?
[powershell]
$esxhost= Get-VMHost anyhost
dir ‘vmstores:\[email protected]\name\datastorename\*\*.vmx’ |
% {New-VM -Host $esxhost -VMFilePath $_.DatastoreFullPath}
[/powershell]