Hello,
I am using a script that is helping me change the computer names remotely within our domain through a .csv. I have tested this out on multiple computers and this has worked flawlessly.
The only problem I am having is I have to enter my domain credential for every computer name changed. Is there a way to automate this process within the script?
Below is the script I am currently using.
Thanks in advance for any assistance.
submitted by /u/DeathByToeNail
[link] [comments]
The post Help with credentials in powershell appeared first on How to Code .NET.