Showing results for December 2014 - Page 12 of 13 - Scripting Blog [archived]

Dec 4, 2014
0
0

Trace Your Commands by Using Trace-Command

Doctor Scripto
Doctor Scripto

Summary: Boe Prox uses Trace-Command to understand commands. Honorary Scripting Guy and Windows PowerShell MVP, Boe Prox, here today filling in for my good friend, The Scripting Guy. This is the fourth part in a series of five posts about troubleshooting PowerShell scripts/functions. The series includes: Today I am talking about using Tra...

Scripting Guy!Windows PowerShellBoe Prox
Dec 3, 2014
0
0

PowerTip: Use PowerShell to Hide Parameter From IntelliSense

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to hide a parameter from IntelliSense.  How can I use Windows PowerShell to hide a parameter from IntelliSense?  Introduced in Windows PowerShell 4.0, you can specify the DontShow attribute            for the [parameter()] type to hide that...

Scripting Guy!Windows PowerShellPowerTip
Dec 3, 2014
0
0

Enforce Better Script Practices by Using Set-StrictMode

Doctor Scripto
Doctor Scripto

Summary: Boe Prox shows how to use Set-StrictMode to write better scripts. Honorary Scripting Guy and Windows PowerShell MVP, Boe Prox, here today filling in for my good friend, The Scripting Guy. This is the third part in a series of five posts about troubleshooting Windows PowerShell scripts and functions. The series includes: If you...

Scripting Guy!Windows PowerShellBoe Prox
Dec 2, 2014
0
0

PowerTip: Use PowerShell to Remove an Item from an Array

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell remove an item from an array. How can I remove an item from an array?Use the ArrayList class, which has the Remove() method (instead of using System.Array,            which does not have this method):PS > $ArrayList = New-Object System.Collections.Ar...

Scripting Guy!Windows PowerShellPowerTip
Dec 2, 2014
0
0

Troubleshoot by Using Set-PSDebug

Doctor Scripto
Doctor Scripto

Summary: Boe Prox uses the Set-PSDebug cmdlet to assist in troubleshooting. Honorary Scripting Guy and Windows PowerShell MVP, Boe Prox, here today filling in for my good friend, The Scripting Guy. This is the second part in a series of five posts about troubleshooting Windows PowerShell scripts and functions. The series includes: Today I...

Scripting Guy!Windows PowerShellBoe Prox