rashi_jain
11 years agoLevel 5
problem with running of "CretaeImageNow.PS1"
i am running this script "./createImageNow.ps1 [UNCPATH] .
steps to tun the script : "./createImageNow.ps1 //192.168.125.30/est2 .This command is run successfully but this script always take th...
- 11 years ago
So borrowing from AddImageJob.ps1 leads to the following:
Replace if($oTempVol.System -eq $true) {.....}
with
if($oTempVol.MountPoint -eq "C:\")
{
$oVolume = $oTempVol
}