Microsoft
Software
Hardware
Network
Question : providing credentials in Powershell without user action
I´m looking for a way to provide credentials to powershell scripts without a prompt for anything. MS says it is possible:
It is possible to produce a PSCredential object programmatically through Windows PowerShell without requiring user interaction. However, this method requires that the user name and password appear in plain text in the script. Therefore, we do not recommend this method
but I cannot find out, how to do it. What I am trying to do is to make a djoin (
http://technet.microsoft.
com/en-us/
library/of
fline-doma
in-
join-dj
oin-step-b
y-step(WS.
10).aspx
) on computers with different usernames (computername\administrato
r) but all the same password.
I am trying to copy the computers 'blob.txt' to every machine and then complete the djoin from there. It works great with a module I found but is prompting me for the password everytime. I have no problem with a plain password in my script, because I will carry it away afterwards.
Answer : providing credentials in Powershell without user action
Have you tried resetting the users password? Just make sure that the account is not compromised?
Also click on the Drafts folder > Tools > recover deleted items for outlook 2007 and check if you can see any deleted items
Random Solutions
mcafee EPO script to remove agent and virusscan
Access Report Using '=Format$' asks for Parameter when Opened
import emal from and to Thunderbird
Turn off the UAC
External Monintor won't work w/ Toshiba laptop; it USED to; fn (f5) doesn't "stick"
Attempted an unsupported operation
yum install 7 Zip
Custom control communicating an event to parent form
When the same MS Word 2007 Application runs on different machines, Forms on one machine may have darker shades of gray than on another. Why?
MailMerge: filter results from Access