Forum Discussion

rashi_jain's avatar
rashi_jain
Level 5
11 years ago

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 the backup of   c drive .

 

 

I want to change backup path from c drive to another drive.

 

 

Please help me to resolve the issue

 

  • So borrowing from AddImageJob.ps1 leads to the following:

     

    Replace if($oTempVol.System -eq $true) {.....}

    with

    if($oTempVol.MountPoint -eq "C:\")
            {
                $oVolume = $oTempVol
            }

     

25 Replies