Microsoft Virtualization Discussions

How to change the admin password on CDOT 8.3?

NAMAN
4,697 Views

With Powershell, is there a way to change admin password on multi CDOT 8.3 filers?  I've tried googling but I have found no answer so far.

 

thanks for your help in advance.

2 REPLIES 2

asulliva
4,685 Views

Have you tried the Set-NcUserPassword cmdlet?

 

Get-NcUser admin | Set-NcUserPassword -Password something_SECURE!

 

Don't authenticate your PowerShell session using the admin user if you're changing the admin password...it will cause some errors after the command is executed.

 

Andrew

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

giovannig
3,913 Views

This command seems to work, but because there are 5 different applications (http,ssh,ontapi,sp,console), it tries to change the pw 5 times, instead of just once. The command will runm, then error out 4 subsequent times.

4.0.0      DataONTAP


Public