Scripting Blog

A place to learn about PowerShell and share stories of automation

PowerTip: Read File with Backtick in Name

Summary: Read the content of a text file with a backtick ( ` ) in the name.  How can I use Windows PowerShell to read the content of a file that has a backtick ( ` ) in the file name?  Use single quotation marks around the name when you supply the path to Get-Content, for example: Get-Content 'c:\fso\a file with a...

One of My Favorite PowerShell Functions

Summary: Ed Wilson, Microsoft Scripting Guy, discusses one of his favorite functions: Get-EnumValues. Microsoft Scripting Guy, Ed Wilson, is here. Today I am working on my presentation for Atlanta TechStravaganza 2015, which will happen on August 21. It will be a really cool event, and the Scripting Wife and I are looking forward to ...

Describe Your PowerShell Variables

Summary: Ed Wilson, Microsoft Scripting Guy, talks about adding a description to variables. Microsoft Scripting Guy, Ed Wilson, is here. There is a “water feature” outside that keeps running and running and running. It is a bit strange, and to be honest, it makes me think that it is raining all the time. In central Florida in the ...

Feedback usabilla icon