Microsoft Virtualization Discussions

Set Aggregate SnapShot Schedule using PowerShell

ADMINSTEWARJ
5,104 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
migration has accepted the solution

beaupre
5,104 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,104 Views

Hello,

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

ADMINSTEWARJ
5,104 Views

So is there another command that can be used?

migration has accepted the solution

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