Write and Run PowerShell Script Without Scripting
Summary: Microsoft Scripting Guy, Ed Wilson, talks about writing and running a Windows PowerShell script without scripting. Hey, Scripting Guy! I like using the Windows PowerShell ISE, but I do not...
View ArticlePowerTip: Use PowerShell to Show Illegal File Name Characters
Summary: Use Windows PowerShell to display illegal characters for a file name. How can I use Windows PowerShell to easily obtain a list of characters that are not permitted in file names? Use the...
View ArticleAvoid Scripting: Use PowerShell Command History
Summary: Microsoft Scripting Guy, Ed Wilson, talks about avoiding Windows PowerShell scripting by using command history. Hey, Scripting Guy! I used to have a program that I could use to keep track of...
View ArticlePowerTip: Use PowerShell to Generate Random File Name
Summary: Use Windows PowerShell to generate a random file name. How can I use Windows PowerShell to generate a random file name so I can ensure that a file I create does not have a naming...
View ArticleDon’t Script: Edit PowerShell Command History
Summary: Microsoft Scripting Guy, Ed Wilson, talks about editing the Windows PowerShell command history. Hey, Scripting Guy! I liked your ideas in Avoid Scripting: Use PowerShell Command History. My...
View ArticlePowerTip: Use PowerShell to Find Temp User Directory
Summary: Use Windows PowerShell to find the temporary user directory. How can I use Windows PowerShell to find location of my temporary user directory? Use the GetTempPath static method from the...
View ArticleDon’t Write Scripts: Use Snippets
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell snippets to avoid scripting demands. Hey, Scripting Guy! One of the things that I find myself having to do from...
View ArticlePowerTip: Use PowerShell to Identify Files Without an Extension
Summary: Use Windows PowerShell to identify files that do not have an extension. How can I use Windows PowerShell to easily identify files that do not have an extension? Use the HasExtension static...
View ArticleDon’t Script: Create PowerShell Snippets
Summary: Microsoft Scripting Guy, Ed Wilson, talks about creating custom Windows PowerShell snippets. Hey, Scripting Guy! Thank you for yesterday's blog post, Don’t Write Scripts: Use Snippets. I like...
View ArticlePowerTip: Encrypt Files with PowerShell
Summary: Learn how to easily encrypt files by using Windows PowerShell. How can I use Windows PowerShell to easily encrypt files? Use the Encrypt static method from the System.IO.File .NET Framework...
View ArticleWeekend Scripter: Avoid PowerShell Scripting—Use GUI Tools
Summary: Microsoft Scripting Guy, Ed Wilson, talks about exporting queries from the event log tool.Microsoft Scripting Guy, Ed Wilson, is here. It has long been a truism (at least with things related...
View ArticlePowerTip: Use PowerShell to Read the Content of a ZIP File
Summary: Learn how to use Windows PowerShell to read the content of a .zip file. How can I read the content of a .zip file from within Windows PowerShell? Use the OpenRead static method from the...
View ArticleWeekend Scripter: Use PowerShell to Create Folder
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create folders.Microsoft Scripting Guy, Ed Wilson, is here. I am not a huge fan of using a mouse. In fact, the more...
View ArticlePowerTip: Find if Folder Exists
Summary: Use Windows PowerShell to see if a folder exists. How can I easily find if a folder exists for a Windows PowerShell script that I am writing? Use the Test-Path cmdlet and the PathType...
View ArticleUse PowerShell to Create ZIP Archive of Folder
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create a .zip archive of a folder. Hey, Scripting Guy! I need a way to create a .zip archive of a folder. I would...
View ArticlePowerTip: Use PowerShell to Find ODBC Drivers
Summary: Use Windows PowerShell to find installed ODBC drivers. How can I use Windows PowerShell to check installed ODBC drivers so that I can investigate if a missing driver might be the...
View ArticleUse PowerShell to Zip Multiple Folders
Summary: Use Windows PowerShell to create a .zip archive of multiple folders. Hey, Scripting Guy! I need to compress multiple folders before I attempt to archive them. I would like to do this without...
View ArticlePowerTip: Use PowerShell to Map a Drive
Summary: Learn how to use Windows PowerShell to map a drive. How can I use Windows PowerShell to map a drive to a server from a client running Windows 8.1? Use the New-SmbMapping cmdlet and specify...
View ArticleUse PowerShell to Extract Zipped Files
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to extract zipped files. Hey, Scripting Guy! I need to be able to work with zipped files from time-to-time. Often I...
View ArticlePowerTip: Use PowerShell to Copy Source to Multiple Destinations
Summary: Use Windows PowerShell to copy a source directory to multiple destinations. How can I use Windows PowerShell to make multiple backup copies of a source directory without wasting a...
View Article