Forum Discussion

MorettiMa's avatar
MorettiMa
Level 2
3 years ago

Can I put the username and password on the command line

Hi.

How can I put the username and password on the command line?
I had some command like :
hares.exe -offline processzyx -sys machinexyz
There is something like :
hares.exe -offline processzyx -sys machinexyz -user aaa -password aaaa 
or
hares.exe -offline processzyx -sys machinexyz -userfile d:\userpass.csv 

I need to make a script in powershell to stop and start some (200) process........