Showing results for March 2013 - Page 2 of 13 - Scripting Blog [archived]

Mar 29, 2013
Post comments count0
Post likes count0

Security Series: Using PowerShell to Protect Your Private Cloud Infrastructure – Part 1

Doctor Scripto
Doctor Scripto

Summary: Microsoft senior technical writer, Yuri Diogenes, and knowledge engineer, Tom Shinder, talk about using Windows PowerShell to protect a Windows Server 2012-based cloud infrastructure. Microsoft Scripting Guy, Ed Wilson, is here. Today we start a three-part series by Yuri Diogenes and Tom Shinder. The authors describe examples about how you...

Scripting Guy!Windows PowerShellguest blogger
Mar 28, 2013
Post comments count0
Post likes count0

PowerTip: Find PowerShell Noun Distribution

Doctor Scripto
Doctor Scripto

Summary: Learn how to see which nouns in Windows PowerShell are used most.  How can I find which Windows PowerShell cmdlet nouns are used most?  Import all the modules, then use the Get-Command cmdlet to retrieve all cmdlet information, and group by noun. You can also use the following commands to sort the results by count. Note...

Scripting Guy!Windows PowerShellPowerTip
Mar 27, 2013
Post comments count0
Post likes count0

PowerTip: Get the Last Boot Time with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Learn how to get the last boot time for your computer.  How can I find the last boot time for my computer by using Windows PowerShell?  In Windows PowerShell 3.0, use the Get-CimInstance cmdlet, and select the LastBootUptime property from the Win32_Operatingsystem WMI class: PS C:\> Get-CimInstanc...

Scripting Guy!Windows PowerShellPowerTip
Mar 27, 2013
Post comments count0
Post likes count0

Troubleshoot the InvokeMethodOnNull Error with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about troubleshooting the InvokeMethodOnNull error in a Windows PowerShell script.  Hey, Scripting Guy! Ed...thank you for all you do for those of us who are spread so thin we can't go deep on subjects like scripting. I have a question regarding a script you created in Use PowerShell to Create...

Scripting Guy!Windows PowerShellscripting techniques
Mar 26, 2013
Post comments count0
Post likes count0

PowerTip: Store PowerShell Credentials

Doctor Scripto
Doctor Scripto

  Summary: Store your Windows PowerShell credentials in a variable for later use.  How can I store alternate credentials for repeated use in my Windows PowerShell session? Use the Get-Credential cmdlet to prompt for a credential, and store the results in a variable: $credential = Get-Credential  

Scripting Guy!Windows PowerShellPowerTip