Microsoft Virtualization Discussions

Set Aggregate SnapShot Schedule using PowerShell

ADMINSTEWARJ
4,860 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
4,860 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
4,860 Views

Hello,

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

ADMINSTEWARJ
4,860 Views

So is there another command that can be used?

beaupre
4,861 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