Showing results for July 2014 - Scripting Blog [archived]

Jul 31, 2014
0
0

PowerTip: Use PowerShell to Display Invalid File Names

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to display invalid file name characters.  How can I use Windows PowerShell to display information about invalid file name characters?  Use the System.IO.Path class and call the GetInvalidFileNameChars static method: [System.IO.Path]::GetInvalidFileNameChars...

Scripting Guy!Windows PowerShellPowerTip
Jul 31, 2014
0
0

Exclude Delayed Start Services when Checking Status with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Windows PowerShell MVP, Mike Robbins, shows us how to use Windows PowerShell to check the status of Windows services and improve the accuracy of results. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Mike Robbins. Mike F Robbins is a senior systems engineer with 20 years of professional experience as an IT pro. ...

Scripting Guy!Windows PowerShellguest blogger
Jul 30, 2014
0
0

PowerTip: Check Status of PowerShell Preference Variables

Doctor Scripto
Doctor Scripto

Summary: Learn to easily check the value assignments of Windows PowerShell preference variables.  How can I use Windows PowerShell to quickly check the value of Windows PowerShell preference variables?  You can use the Windows PowerShell variable drive and look for variables that end with            the word&...

Scripting Guy!Windows PowerShellPowerTip
Jul 30, 2014
0
0

Use PowerShell to Write Verbose Output

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to write verbose output.    Hey, Scripting Guy! The other day, you said that I should not use Write-Host. I even read that such usage is dangerous to the health of small canines in 2012 Scripting Games Commentary: STOP USING WRITE-HOST!. —BP  ...

Scripting Guy!Windows PowerShellscripting techniques
Jul 29, 2014
0
0

PowerTip: Use PowerShell to Create Two Column Output

Doctor Scripto
Doctor Scripto

Summary: Create a two column output of data by using Windows PowerShell.  How can I use Windows PowerShell to create output that has two columns?  Use the Format-Wide cmdlet, and then use the –Column parameter to specify            a number of columns, for example: Get-Process | ...

Scripting Guy!Windows PowerShellPowerTip

Feedback