Microsoft Virtualization Discussions
I have a pb with the powershell api invoke-nasnapmirrorupdate with the parameter -TransferRate. This parameter send only 0 whatever i put.
For Example in powershell window :
Invoke-NaSnapmirrorUpdate -Destination vol_dst_sm -MaxTransferRate 20
And here is the network capture :
<netapp version='1.0' xmlns='http://www.netapp.com/filer/admin'><snapmirror-update>
The ontap version is 8.0.1 P2
Powershell version : 2.0
Someone has an idea ?
Thanks for advance
See The Solution
The MaxTransferRate parameter is specified in bytes/second. The max-transfer-rate parameter in the API is in kilobytes/second.
PS C:\> help Invoke-NaSnapmirrorUpdate -Parameter MaxTransferRate
Maximum transfer rate in bytes per second. The default is as fast as the filer can transfer.
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
View solution in original post
Ah ok !
I didn't understand that. It's ok now.
Thank you very much
Live Chat, Watch Parties, and More!
Engage digitally throughout the sales process, from product discovery to conﬁguration, and handle all your post-purchase needs.