NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

Export-Policy rename PowerShell Script

CG_HDSUPPLY
2,818 Views

Hey guys,

 

I am looking for someone to help me identify the proper cmdlet to use to automate the renaming of all my export polices. After a migration to CMODE with the 7MTT Ive been tasked with clean up of the ugly transition_export_policy naming scheme and would like to write a powershell script that can rename them.

1 REPLY 1

asulliva
2,782 Views

I would try "Rename-NcExportPolicy" : )

 

Hope that helps.

 

Andrew 

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