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 ‘wmi’

WinConnections Orlando 2008 PowerShell Demos

Friday, May 9th, 2008 by Jeffery Hicks
These are my conference demos from WinConnections Orlando 2008. My sessions were all on PowerShell: Managing Active Directory with PowerShell Managing Servers and Desktops with PowerShell and WMI Powershell and Windows Server 2008 Read the examples thoroughly and test in a non-production environment. If you have questions, please post in…   More »

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 »

Targeting a list of names

Friday, February 15th, 2008 by Essentials Administrator
 This script assumes you have a text file listing one name per line - could be a computer name or a user name. In the example, which uses WMI, it's a computer name, and the script performs the same operation against each name. There are actually simpler ways, or at…   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).