Showing archive results for June 2015

Jun 15, 2015
Post comments count0
Post likes count0

PowerTip: Read Text File in Raw Mode with PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to read a text file in raw mode.  How can I use Windows PowerShell to read a text file as a single line of text, not as an array of strings created by            end-of-line returns?  Use the –Raw parameter with Get-Content. This forces Windows PowerShell t...

Scripting Guy!Windows PowerShellPowerTip
Jun 15, 2015
Post comments count0
Post likes count0

PowerShell Custom Type Module

Doctor Scripto

Summary: Create custom types in Windows PowerShell with a free module by Jon Newman. Microsoft Scripting Guy, Ed Wilson, is here. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest blogger who was with us in 2011, when he wrote Automate Facebook with a Free PowerShell Module.  My name is Jon Newman, and I’m an old hand at...

Scripting Guy!Windows PowerShellscripting techniques
Jun 14, 2015
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Parse Delimiters in File

Doctor Scripto

Summary: Use Windows PowerShell to parse file delimiters in a file.  How can I use Windows PowerShell to break out lines in a text file that are delimited by “\”? Here is the file content: PS C:> Get-Content C:fsoAnEmptyFile.txt This is content \mydata\more stuff \addmydata\addmore stuff\evenmore  Use the –Delimi...

Scripting Guy!Windows PowerShellPowerTip
Jun 14, 2015
Post comments count0
Post likes count0

Weekend Scripter: Deciphering Windows PowerShell Shorthand

Doctor Scripto

Summary: Learn how to decipher Windows PowerShell shorthand notation in this guest post written by Tim Warner. Microsoft Scripting Guy, Ed Wilson, is here. Welcome a new guest blogger today, Timothy Warner. Tim is an author and evangelist for Pluralsight, a premier online IT pro and development training company. Tim is the author of Sams Teach Your...

Scripting Guy!Windows PowerShellguest blogger
Jun 13, 2015
Post comments count0
Post likes count0

PowerTip: Find All PowerShell Cmdlets Except…

Doctor Scripto

Summary: Learn how to find all Windows PowerShell cmdlets except those from a specific module.  How can I find all Windows PowerShell cmdlets that begin with the verb "get" but are not contained in the            Windows PowerShell module named “PowerShellCookbook”?  Use the Get-Com...

Scripting Guy!Windows PowerShellPowerTip