Microsoft Virtualization Discussions
I want to write a powershell command for the WFA to delete exports policys, since there is none.
But I just can't find a Powershell command that does that. All I can find is the 'New-NcExportPolicy' command to create an export policy.
So is there simply no command for deleting one or am I missing something?
Would be happy if you could tell me the appropriate command.
See The Solution
Which version of PSTK are you using? I use 4.4 and it shows me:
PS C:\> Get-Command *NcExport*CommandType Name ModuleName----------- ---- ----------Cmdlet Add-NcExportRuleClientmatches dataontapCmdlet Get-NcExportAccessCacheConfig dataontapCmdlet Get-NcExportPolicy dataontapCmdlet Get-NcExportRule dataontapCmdlet Get-NcExportsAccessCache dataontapCmdlet New-NcExportPolicy dataontapCmdlet New-NcExportRule dataontapCmdlet Remove-NcExportPolicy dataontapCmdlet Remove-NcExportRule dataontapCmdlet Remove-NcExportRuleClientmatches dataontapCmdlet Rename-NcExportPolicy dataontapCmdlet Set-NcExportAccessCacheConfig dataontapCmdlet Set-NcExportRule dataontapCmdlet Set-NcExportRuleIndex dataontapCmdlet Set-NcExportsAccessCache dataontapCmdlet Test-NcExportAccess dataontap
View solution in original post