Showing archive results for October 2014

Oct 18, 2014
Post comments count0
Post likes count0

PowerTip: Find Errors Related to Update-Help

Doctor Scripto

Summary: Use Windows PowerShell to find errors related to Update-Help.  How can I use Windows PowerShell to find if Update-Help is completing successfully on my computer?  Use the Get-WinEvent cmdlet and search Windows PowerShell logs for event 4103 and a status level of 2 (error).         &nbs...

Scripting Guy!Windows PowerShellPowerTip
Oct 18, 2014
Post comments count0
Post likes count0

Weekend Scripter: Why Learn PowerShell?

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about why to learn Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Every once in a while, I am asked, “Why should I learn Windows PowerShell?” To be honest, that is always a bit of a troublesome question. Not because I cannot answer it, but because to me the question is...

Scripting Guy!Windows PowerShellscripting techniques
Oct 17, 2014
Post comments count0
Post likes count0

PowerTip: Change the PowerShell Prompt

Doctor Scripto

Summary: Learn how to shorten the Windows PowerShell prompt. I am concerned that the Windows PowerShell prompt is becoming too long when working with the registry or the            file system, and I would like to shorten it. Change the prompt with the following one-liner (remember to add a space at the end o...

Scripting Guy!Windows PowerShellPowerTip
Oct 16, 2014
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Remove Characters in a String

Doctor Scripto

Summary: Learn how to use Windows PowerShell to remove specific characters in a string. I have a string that includes braces:$a = '{Abcde}'   I want to remove the braces, but keep the text string inside the braces.    How can I do this by using Windows PowerShell? Use the –Replace operator, create a reg...

Scripting Guy!Windows PowerShellscripting techniques
Oct 15, 2014
Post comments count0
Post likes count0

PowerTip: Check Status of PowerShell Help Files on Remote Computers

Doctor Scripto

Summary: Use Windows PowerShell to check the status of Help file updates on remote computers.  How can I easily see if the Windows PowerShell Help files are up-to-date on my remote computers?  Use the Invoke-Command cmdlet, target the remote computers, use Get-Help to look for help,           &...

Scripting Guy!Windows PowerShellPowerTip