Software Development Kit (SDK) and API Discussions

Highlighted

Cmdlet to assign schedule policy

Hi,

 

I'm searching for a cmdlet to assign a snapshot schedule policy to specified volumes over WFA.

 

 

Does anybody knows the cmdlet for this task?

 

 

Kind regards

 

 

Franco

2 REPLIES 2
Highlighted

Re: Cmdlet to assign schedule policy

From a PowerShell perspective, you'll want to use the "Update-NcVol" cmdlet to change the snapshot policy assigned to a volume:

 

Update-NcVol -Query @{ Name = $volName } -Attributes @{ VolumeSnapshotAttributes = @{ SnapshotPolicy = $snapPolicy } }

Hope that helps.

 

Andrew

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

View solution in original post

Highlighted

Re: Cmdlet to assign schedule policy

Hi Andrew,

 

this sounds good. I will try this and give you a feedback.

 

Thank you so far!

 

 

Franco

Check out the KB!
Knowledge Base
All Community Forums