Showing archive results for July 2014

Jul 9, 2014
Post comments count0
Post likes count0

Handling Errors the PowerShell Way

Doctor Scripto
Doctor Scripto

Summary: Trevor Sullivan talks about handling errors in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we have guest blogger and Windows PowerShell MVP, Trevor Sullivan... also find Trevor on Twitter (https://twitter.com/pcgeek86) and his blog (http://trevorsullivan.net) Microsoft Scripting Guy, Ed Wilson, just wrote a post...

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

PowerTip: Use PowerShell to Locate the Help File You Need

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to find the Help file you need.  How can I figure out the exact name of the Help file that I am looking for about sessions?  Use a wildcard character with Get-Help to narrow down the scope of the Help files: Get-Help about_*session*   Name       ...

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

Getting to Know ForEach and ForEach-Object

Doctor Scripto
Doctor Scripto

Summary: Learn the differences between ForEach and ForEach-Object in Windows PowerShell. Honorary Scripting Guy and Windows PowerShell MVP, Boe Prox, here today filling in for my good friend, The Scripting Guy. Today I am going to talk about some differences between using ForEach and using ForEach-Object in day-to-day scripting activities. There ar...

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

PowerTip: Find Information About PowerShell Cmdlet Parameter Sets

Doctor Scripto
Doctor Scripto

Summary: Learn how to find information about Windows PowerShell cmdlet parameter sets.  How can I find information about the various parameter sets for a specific Windows PowerShell cmdlet?  Use Get-Command to return cmdlet information, pipe the results to the Select-Object cmdlet,           an...

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

Piping Results from One PowerShell Cmdlet to Another

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about piping the results from one cmdlet to another.  Hey, Scripting Guy! I have a problem. When I pipe information from one Windows PowerShell cmdlet to anther (for example, when I use Get-Process and pipe it to Stop-Process ), sometimes it works, and sometimes it does not. This is not great....

Scripting Guy!Windows PowerShellgetting started