Microsoft Virtualization Discussions

Set Aggregate SnapShot Schedule using PowerShell

ADMINSTEWARJ
3,271 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

1 ACCEPTED SOLUTION

beaupre
3,271 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

3 REPLIES 3

vinith
3,271 Views

Hello,

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

ADMINSTEWARJ
3,271 Views

So is there another command that can be used?

beaupre
3,272 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"

Public