-
- Novice
- Posts: 3
- Liked: never
- Joined: Oct 29, 2019 8:12 am
- Full Name: Hen Suissa
- Contact:
Export to csv Job
Hi, I want to export all the virtual machines I have under each job to Excel file Is it possible with POWERSHELL? If so, what is the command?
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Export to csv Job
Hi Hen,
Sure. You can export it to a csv file using export-csv cmdlet with a path specified.
Like this:
Best regards,
Oleg
Sure. You can export it to a csv file using export-csv cmdlet with a path specified.
Like this:
Code: Select all
$jobs = get-vbrjob
foreach ($job in $jobs) {
get-vbrjobobject -job $job | export-csv 'C:\VMsInJobs.csv'
}
Oleg
-
- Novice
- Posts: 3
- Liked: never
- Joined: Oct 29, 2019 8:12 am
- Full Name: Hen Suissa
- Contact:
Re: Export to csv Job
Hi Oleg,
thank you very much!!
thank you very much!!
Who is online
Users browsing this forum: Google [Bot] and 10 guests