I am working on a script to update SVM’s credentials via API calls. While exploring the options I have come across swagger documentation for creating/modifying storage (SVMs). While creating/adding storage system is successful, I am trying to update the credential using PUT method (according to documentation. But I am getting the following error that {'Message': "The requested resource does not support http method 'PUT'."}
... View more
Hello All, I am attempting to create a script which will add up the total available and used size of all volume here is my script $vols = Get-NcVol $voltotal = $vols | Measure-Object -Property TotalSize -Sum $voltotalsize = ConvertTo-FormattedNumber $voltotal.sum DataSize -Verbose $volused = $vols | Measure-Object -Property Used -Sum $volusedsize = ConvertTo-FormattedNumber $volused.sum DataSize -Verbose It is giving me wrong numbers I think this is because the get-ncvol give volume size in Gb,Tb and Mb so we basically can not add apple to orange Has anyone everdone that ? can you give me an exemple ?
... View more
-admin権限でreadonlyのユーザーをAnsible用に作成
<NetApp>
ONTAP9.12.1P5 FAS2750
<Python関連> ansible 6.2.0 ansible-core 2.13.3 netapp-lib 2020.3.12
<ansible-galaxy関連>※モジュールコレクションのことです netapp.ontap 21.21.0
Admin edit with subject translation:
Specifying the module with "all" will result in an error.
... View more
Hello Community, Getting below error while importing the ONTAP module, please help. PS C:\Program Files\WindowsPowerShell\Modules\NetApp.ONTAP> Import-Module .\NetApp.ONTAP.psd1 Import-Module : Could not load file or assembly 'file:///C:\Program Files\WindowsPowerShell\Modules\NetApp.ONTAP\OntapiPS.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) At line:1 char:1 + Import-Module .\NetApp.ONTAP.psd1 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Import-Module], FileLoadException + FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand Regards, Kabir
... View more