MorettiMa
3 years agoLevel 2
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........
check the hauser command man page for details or read the techynote below
https://sort.veritas.com/public/documents/sf/5.0/aix/manpages/vcs/hauser_1m.html