Quantcast
Channel: All Data Protection posts
Viewing all articles
Browse latest Browse all 3495

Re: How to export to csv the Get-SMSchedule command you can run on Snapcenter?

$
0
0

The most basic way would be something like this:

 

Get-SMSchedule | Select-Object <list of PowerShell properties that you want to include in your exported CSV> | Export-CSV C:\path\to\your\CSV\file

You can run "Get-SMSchedule | Get-Member" to get a list of all available properties (there are usually a large number of properties available that aren't displayed by default).  

 

Some light reading:

 

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/select-object?view=powershell-6

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-member?view=powershell-6


Viewing all articles
Browse latest Browse all 3495

Trending Articles