Browse by Tags

Tagged Content List
  • 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: Use PowerShell to Find and Change Read-Only Files

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find read-only Microsoft Excel files and to change them to read-write. Hey, Scripting Guy! I have a problem that hopefully you can resolve. We recently restored a bunch of files from tape, and for some reason they...
  • Blog Post: Hey, Scripting Guy! Can I Delete All Files from Nested Folders and Subfolders?

    Share this post: Hey, Scripting Guy! At work we have a series of folders that are used to store files for a month. At the end of the month, we need to delete all of the files that are in the folders and start over. The folder structure is very nested; therefore, I do not want to have to recreate all...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (01/30/09)

    How Do I Compress Files? Hey, Scripting Guy! After some time without needing help, I've run into a problem about which I have been unable to discover any information. Perhaps you can aid me. Assume you have (1) a single file, and (2) a folder that contains a number of files of various types. Further...
  • Blog Post: Use PowerShell to Manage an EqualLogic SAN

    Summary : Guest blogger, Mike Robbins, talks about using Windows PowerShell to manage an EqualLogic SAN. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a returning guest blogger, Mike F. Robbins, who will talk about Managing an EqualLogic PS Series storage area network with PowerShell...
  • Blog Post: Use PowerShell to Detect and Fix Files with Leading Spaces

    Summary : Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to detect and to fix files that have leading spaces in the file name. Hey, Scripting Guy! I am hoping that you can help me. We have a rather strange problem at work, and if I do not get to the end of it, I am afraid...
  • Blog Post: Use PowerShell to Toggle the Archive Bit on Files

      Summary : Learn how to use Windows PowerShell to toggle file attributes such as the archive bit. Hey, Scripting Guy! I have a number of files that have had the archive bit flipped. Unfortunately, our backup program relies on the archive bit to determine if it has backed up a file recently or if...
  • Blog Post: Use PowerShell to Find the History of USB Flash Drive Usage

    Summary : Microsoft premier field engineer, Jason Walker, shows how to use Windows PowerShell to get a history of USB drive usage. Microsoft Scripting Guy, Ed Wilson, is here. I was talking to Jason Walker at the Charlotte Windows PowerShell User Group the other day. I asked him what cool things...
  • Blog Post: Use PowerShell to Copy Files to a Shared Drive

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to copy a script collection to a shared network drive. Microsoft Scripting Guy, Ed Wilson, is here. Well, it is Monday in Charlotte, North Carolina, in the United States. Today is a cardio day. I spend the day running...
  • Blog Post: Hey, Scripting Guy! How Can I Create File Names Based on Their Time Stamp?

    Hey, Scripting Guy! How can I create a file name from the date? I have this application that creates a log file, and every hour I would like to save that log file as a file whose name is generated from the current time stamp. Can this be done? - RH Hi RH, Ever since I read your e-mail message,...
  • Blog Post: Hey, Scripting Guy! Does the Win32_Volume WMI Class Support Filtering on the Name Property?

    Hey, Scripting Guy! I have a problem using the Win32_Volume WMI class on my Windows Vista computer. I keep getting an error. I have searched the Internet using Bing and other search engines, but I cannot find the answer to my problem. It should be so simple; all I want to do is filter the results by...
  • Blog Post: Easily Unblock All Files in a Directory Using PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to unblock all files in a directory. Microsoft Scripting Guy, Ed Wilson, is here. Today is the day. As those of you who have been reading the Hey, Scripting Guy! Blog on a regular basis know, today is the speaker’s...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (02/13/09)

    How Do I Troubleshoot Some Scripts Not Executing on Certain Computers? Hey, Scripting Guy! I have VBScripts executed using GPOs per organizational unit. For some reason, the scripts are not executed on certain computers. Sometimes, clicking Repair on Local Area Network connection and logging off...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (3/5/10)

    In this post : How Do I Create Shortcuts in Windows PowerShell? Tell Me More About Try/Catch/Finally Blocks? Troubleshooting a VBScript Script How Can I Determine Drive Speed? Can I Use VBScript to List All Computers Encrypted with BitLocker? How Do I Create Shortcuts in Windows...
  • Blog Post: Use a PowerShell Cmdlet to Count Files, Words, and Lines

    Summary: Learn how to use a powerful Windows PowerShell cmdlet to count words and lines in files, or to count files. Microsoft Scripting Guy Ed Wilson here. The weekend is halfway over in Charlotte, North Carolina. For my friends in Australia, the weekend is already over, and they are on their...
  • Blog Post: Weekend Scripter: Where.exe—The What, Why, and How

    Microsoft Scripting Guy Ed Wilson here. The sounds outside seems amplified by the inky darkness that grudgingly gives way to the early morning sun. I am sitting on the front porch sipping a cup of English Breakfast Tea, munching on a freshly baked cinnamon scone, and hanging out on Twitter via my laptop...
  • Blog Post: Use PowerShell to Rename Files in Bulk

    Summary : Learn how to use Windows PowerShell to rename files in bulk. Microsoft Scripting Guy, Ed Wilson, is here. Matt Tisdale is back today with another solution to a situation at work… I received a call from a gentleman named Cristofer this afternoon. He had a business need and he heard...