Microsoft Virtualization Discussions

Set Aggregate SnapShot Schedule using PowerShell

ADMINSTEWARJ
5,500 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
5,500 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
5,500 Views

Hello,

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

ADMINSTEWARJ
5,500 Views

So is there another command that can be used?

beaupre
5,501 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