VSR Scripting - How to get Image Job Network User
Hi, I have successfully used the example powershell scripts that come with VSR 18 to script creating backup jobs, that back up to a network drive. I am now trying to write a script to get each ImageJobs NetworkUser and then change the NetworkPassword. I have spent a day trying to find how to get an ImageJobs NetworkUser but have failed. Please will someone help me out. See below for the script I am trying to get to work. Many Thanks, Josonic # I have got the system volume as $oVolume, and therefore its ID ForEach($ImageJob in $v2iAuto.ImageJobs) { Write-Host $ImageJob.Displayname # shows displayname correctly Write-Host $ImageJob.Location # shows 'IImageLocation Location (string) {get} {set}' Write-Host $ImageJob.Location($oVolume.ID) # shows 'The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))' Write-Host $ImageJob.Location($oVolume.ID).Path # shows 'The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))' }Solved1.4KViews0likes1CommentVSR 16: Service Pack 1 - available now!
Service Pack 1 for Veritas System Recovery (VSR) 16 is now available. What's new? 32TB volume support Microsoft Surface Pro 4 support Support for the following Linux versions: Red Hat 6.6, 6.7 & 6.8 SLES 11.4 CentOS 6.6, 6.7 & 6.8 Windows 2016 Server support (as a managed client with the Veritas System Recovery Management Solution) Release notes: http://www.veritas.com/docs/000125903 Patch download: http://www.veritas.com/docs/000125892 (NOTE: SP1 is also available via LiveUpdate) Updated compatibility list: http://www.veritas.com/docs/000114479 For more details about VSR, please visit https://www.veritas.com/product/backup-and-recovery/system-recovery To download a trialware copy of VSR, please visit https://www.veritas.com/trial/en/us/system-recovery-16.html Please use this thread for any questions that are specific to SP1.6.2KViews2likes38CommentsAutomate / Script System Recovery Policy Creation
Hi Gurus, Would like to seek for your advice regarding our current situation - deploy VSR 2016 on 3 sites with about 80 - 200 machines each. No VSR central management. Backup will be dumped to shared drive. We've gone past the installation part, but I would like to ask for your advice / suggestions how to go about automating / scripting creation of backup policies. Only a handful will have peculiar backup selection/destination/retention, so it would be extremely helpful if we can automate creation of policies for similar machines.2.1KViews0likes7Comments