Microsoft Virtualization Discussions

Set Aggregate SnapShot Schedule using PowerShell

ADMINSTEWARJ
views-count 2514 Views

Hi all,

Does anyone know if it's possible to use powershell to set the SnapShot scheulde for an Aggregate? There doesn't seem to be a switch in the "Set-NaSnapShotSchedule" command to specify an aggregate.

Regards,

Josche

3 REPLIES 3

Re: Set Aggregate SnapShot Schedule using PowerShell

vinith
views-count 2515 Views

Hello,

Set-NaSnapShotSchedule sets the snapshot schedule only for a specified volume and not aggregate.

Re: Set Aggregate SnapShot Schedule using PowerShell

ADMINSTEWARJ
views-count 2515 Views

So is there another command that can be used?

Re: Set Aggregate SnapShot Schedule using PowerShell

beaupre
views-count 2515 Views

You can try the invoke-nassh cmdlet. This cmdlet is helpful for when there is no cmdlet available.

invoke-nassh "snap sched -A aggr0 0 1 4@9,14,19"

View solution in original post

G2 Review Banner
All Community Forums
Public