Browse by Tags

Tagged Content List
  • Blog Post: Use PowerShell to Explore Old Windows VHDs

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to explore old Windows VHDs. Hey, Scripting Guy! It is time for spring clean-up around our datacenter. I am not talking about chasing out dust bunnies, although that is part of it. What I am talking about is trying...
  • Blog Post: PowerTip: Use PowerShell to Find Virtual Hard Disks

    Summary : Use Windows PowerShell to find virtual hard disks on your system. I notice that my disk space appears to be disappearing at a rapid rate, and I suspect someone is creating virtual hard disks (VHDs) and forgetting about them. How can I use Windows PowerShell to find all the VHDs on my system...
  • Blog Post: Use PowerShell to Archive a Folder and Copy to Server

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create a .zip archive folder and copy it to a server. Hey, Scripting Guy! I have a folder that contains scripts. I update these scripts from time-to-time. I like to store the scripts on a central shared server. To...
  • Blog Post: Use PowerShell to Create Archive and Send Email

    Summary : Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to create a .zip archive and email it. Hey, Scripting Guy! I have a number of files that I would like to archive on a regular basis to a .zip file. I need to email that .zip file as an attachment. I do this every week...
  • Blog Post: PowerTip: 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 lot of time mousing around? Copying a single source directory to multiple destinations can be a single line...
  • Blog Post: Use 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 store files in a zip archive so they are portable. I know how to copy the .zip archive from one place...
  • Blog Post: Use 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 having to install additional software. Can you help? —DR Hello DR, Microsoft Scripting...
  • Blog Post: Use 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 like to do this on my laptop running Windows 8.1, and I do not want to install any other software...
  • Blog Post: Weekend 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 things I can do from Windows PowerShell the better. It is a huge waste of time for me when I have...
  • Blog Post: Weekend Scripter: Count Images with PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, counts the images he used in Hey, Scripting Guy! Blog posts through the years. Microsoft Scripting Guy, Ed Wilson, is here. I have been writing the Hey, Scripting Guy! Blog for a while…actually, quite a while. It is the best job I have ever had—and...
  • Blog Post: Weekend Scripter: Use PowerShell to Investigate File Signatures—Part 2

    Summary : Windows PowerShell MVP, Boe Prox, concludes this two-part series about investigating file signatures with Windows PowerShell and the .NET Framework. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger, Boe Prox , for the conclusion of the two-part series he started yesterday...
  • Blog Post: Weekend Scripter: Use PowerShell to Investigate File Signatures—Part 1

    Summary : Windows PowerShell MVP, Boe Prox, talks about investigating file signatures by using Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. This weekend we have a two-part series from guest blogger, Boe Prox … When you work with File Server Resource Manager (FSRM), one...
  • Blog Post: 2014 Winter PowerShell Scripting Games Wrap Up #3

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using standard folders in his review of the 2014 Winter Windows PowerShell Scripting Games. Microsoft Scripting Guy, Ed Wilson, is here. It is beginning to look like spring here in Charlotte, North Carolina. This is a welcome relief, because...
  • Blog Post: Use PowerShell to Find Files that Have Not Been Accessed

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find files that have not been accessed for some time. Hey, Scripting Guy! On our server, we have tons of files. Unfortunately, many of them haven’t been accessed for years. I know the cost of storage is coming...
  • Blog Post: Use PowerShell to Find Metadata from Photograph Files

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to obtain metadata from photo files. Hey, Scripting Guy! I need some help. I have thousands of photo files on my computer. I need to bring some order to them. I know that I can use Get-ChildItem from Windows PowerShell...
  • Blog Post: List Music File Metadata in a CSV and Open in Excel with PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, shares a function that gets file metadata, and then he writes the information to a CSV file. Hey, Scripting Guy! Getting basic file properties such as the file name, the size of a file, and the directory that a file resides in is pretty cool. But when...
  • Blog Post: Use PowerShell to Create CSV File to Open in Excel

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about exporting a directory list to a CSV file and opening the file in Microsoft Excel with Windows PowerShell. Hey, Scripting Guy! I have a lot of music files that reside in nested folders. I would like to be able to look at the file information...
  • Blog Post: List Files in Folders and Subfolders with PowerShell

    Summary : Use Windows PowerShell to list files in folders and subfolders. Hey, Scripting Guy! I am an old VBScript guy. I love using VBScript, and I have done so for nearly 15 years. One reason I love VBScript so much is that, to me, it is easy to use. It is also very powerful. But after attending...
  • Blog Post: The Best Way to Use PowerShell to Delete Folders

    Summary : Microsoft Scripting Guy, Ed Wilson, discusses three ways to use Windows PowerShell to delete folders and then selects the best. Hey, Scripting Guy! I have a question. I occasionally need to delete a large number of folders. What is the easiest way to do this? —BR Hello BR...
  • Blog Post: Weekend Scripter: Use PowerShell and Pinvoke to Remove Stubborn Files

    Summary : Windows PowerShell MVP, Boe Prox, talks about using Windows PowerShell and Pinvoke to delete locked files. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest blog post by newly crowned Windows PowerShell MVP, Boe Prox. Long-time readers of the Hey, Scripting Guy! Blog are...
  • Blog Post: Create a Custom File Extension by Using PowerShell

    Summary : Learn how to use Windows PowerShell to create a custom file extension to store code snippets. Weekend Scripter: Creating a .snip file type Microsoft Scripting Guy, Ed Wilson, here. After I created the Get-CodeSnippet function yesterday , I decided that it might be useful to have my own...
  • Blog Post: Use PowerShell to Explore Disk Utilization on Your Computer

    Summary : Learn how to use Windows PowerShell to discover what files are using up all the disk space on your computer. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, here. I do not know about you, but it seems as if there is a disk space-eating gremlin on my computer. One day I have several...
  • Blog Post: Finding Read-Only and System Files by Using PowerShell 3.0

    Summary : Learn how to use new parameters with the enhanced Get-ChildItem cmdlet in Windows PowerShell 3.0. Microsoft Scripting Guy, Ed Wilson, is here. There are a number of really cool new things in Windows PowerShell 3.0. Some of these make my life a lot easier, and yet they are not the “big”...
  • Blog Post: How Can I Use Windows PowerShell to Delete All the .TMP Files on a Drive?

    Hey, Scripting Guy! How can I use Windows PowerShell to locate and delete all the .tmp files on a drive? -- OR Hey, OR. You know, there’s an old saying: Give a man a fish and he’ll eat for a day; teach that man to fish and he’ll eat for the rest of his life. Well, unless he’s like the Scripting...
  • Blog Post: Scripting Wife Learns About Unblocking Files in PowerShell

    Summary : The Scripting Wife learns how to unblock files that are downloaded from the Internet by using Windows PowerShell and a Sysinternals tool. Microsoft Scripting Guy, Ed Wilson, here. It is two days until the 2011 Scripting Games kick off. Things are quiet right now, and I am enjoying a chance...