Browse CLASSROOM TRAINING REGISTER for classroom training CONTACT us

SAPIEN Solutions

SAPIEN homepage
PrimalScript script editor+ide
PrimalScope script debugger
Free Tools script utilities
SAPIEN Press tech books
ScriptingAnswers.com learn+share
ScriptingOutpost.com online store
Blog.Sapien.com official blog
Contact Us

 

Posts Tagged ‘alternate credentials’

Alternate Credentials - ADSI and WMI

Friday, February 15th, 2008 by Essentials Administrator
 Here's an example of using alternate credentials to connect to either WMI or ADSI. Note that WMI doesn't allow alternate credentials if you're connecting to the LOCAL computer - only for remote connections. Both of these examples use a function. GetPassword, which I've included. This prompts you for a password…   More »

WMI and alternate credentials

Friday, February 15th, 2008 by Essentials Administrator
 Here's an example of using PowerShell to connect to WMI on a remote computer using alternate credentials. Keep in mind that WMI itself doesn't permit alternate credentials for local connections.   # # ScriptingAnswers.com Essentials # copyright 2006 SAPIEN Technologies, Inc. # # Using alternate credentials with WMI # #…   More »


Entries (RSS) and Comments (RSS).