Is there a way to get a list of folders from a backup job? We add folders to backup jobs using VMs and Templates view.
I've searched through the forums a bit but have yet to find something.
Thanks
-
- Enthusiast
- Posts: 32
- Liked: 11 times
- Joined: Sep 19, 2013 9:26 pm
- Full Name: Jason Greenback
- Contact:
-
- VP, Product Management
- Posts: 6035
- Liked: 2860 times
- Joined: Jun 05, 2009 12:57 pm
- Full Name: Tom Sightler
- Contact:
Re: List out Folders in a backup job
If you just want the name/path of objects in the jobs something like this should work:
Code: Select all
((Get-VBRJob -Name "<Name_of_Job>").GetObjectsinJob() | ? {$_.Role -eq "EInclude"}).Location
-
- Enthusiast
- Posts: 32
- Liked: 11 times
- Joined: Sep 19, 2013 9:26 pm
- Full Name: Jason Greenback
- Contact:
Re: List out Folders in a backup job
Perfect!!! Thanks for the help.
Who is online
Users browsing this forum: No registered users and 17 guests