Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Help with credentials in powershell

$
0
0

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.

http://pastebin.com/RErH4eWF

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.


Viewing all articles
Browse latest Browse all 8793

Trending Articles