Showing results for July 2014 - Page 11 of 13 - Scripting Blog [archived]

Jul 6, 2014
Post comments count0
Post likes count0

PowerTip: Find PowerShell Variables in Various Scopes

Doctor Scripto
Doctor Scripto

Summary: Learn how to find Windows PowerShell variables in various scopes.  How can I see what Windows PowerShell variables exist in various scopes?  Use the Get-Variable cmdlet and use the –Scope modifier (this can be global, local, or script), for example: Get-Variable -Scope global

Scripting Guy!Windows PowerShellPowerTip
Jul 6, 2014
Post comments count0
Post likes count0

Weekend Scripter: From Zero to PowerShell Hero

Doctor Scripto
Doctor Scripto

Summary: Microsoft MVP and winner of the Scripting Games, Taylor Gibb, talks about his experience with Windows PowerShell and IT in general. Microsoft Scripting Guy, Ed Wilson, is here. One of the great things about TechEd is getting to talk to the various people that I meet virtually. One person who was both fun and inspirational to talk to was Ta...

Scripting Guy!Windows PowerShellguest blogger
Jul 5, 2014
Post comments count0
Post likes count0

PowerTip: Examine the Most Recent PowerShell Error

Doctor Scripto
Doctor Scripto

Summary: Learn how to examine the most recent error in Windows PowerShell.  My Windows PowerShell command failed with an error. How can I look at the error record?  Use the $error automatic variable to it displays the last error.           You can see more details by piping it to the Format-List&nbs...

Scripting Guy!Windows PowerShellPowerTip
Jul 5, 2014
Post comments count0
Post likes count0

Weekend Scripter: Using Try, Catch, Finally Blocks for PowerShell Error Handling

Doctor Scripto
Doctor Scripto

Summary: Microsoft PFE, Ashley McGlone, talks about using Try, Catch, Finally blocks for error handling in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today’s guest blogger is Ashley McGlone, a Microsoft premier field engineer. Ashley is a popular speaker at our Windows PowerShell Saturday events. He regularly blogs about...

Scripting Guy!Windows PowerShellscripting techniques
Jul 4, 2014
Post comments count0
Post likes count0

PowerTip: Difference Between XML PowerShell Cmdlets

Doctor Scripto
Doctor Scripto

Summary: Understand the difference between XML cmdlets in Windows PowerShell. What is the difference between the Windows PowerShell cmdlets, Export-CliXML and ConvertTo-XML? The Help file for ConvertTo-XML says:"This cmdlet is similar to Export-CliXML, except that Export-CliXML stores the resulting XML in a file. ...

Scripting Guy!Windows PowerShellPowerTip