Browse by Tags

Tagged Content List
  • Blog Post: PSImaging Part 3: Group-ImageFile

    Summary : Guest blogger, Ben Vierck, talks about grouping similar images with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we have Ben Vierck back for Part 3 in his series about images. Before you begin, you might like to read: PSImaging Part 1: Test-Image PSImaging...
  • Blog Post: PSImaging Part 2: Export-Text from Images

    Summary : Guest blogger, Ben Vierck, talks about using Windows PowerShell to export text from an image. Microsoft Scripting Guy, Ed Wilson, is here. Welcome back guest blogger Ben Vierck, for Part 2 of PSImaging. Read Part 1 before diving into today’s post: PSImaging Part 1: Test-Image . ...
  • Blog Post: PSImaging Part 1: Test-Image

    Summary : Guest blogger, Ben Vierck, talks about using Windows PowerShell to determine if a file is an image. Microsoft Scripting Guy, Ed Wilson, is here. I am happy to introduce a new guest blogger here at the Hey, Scripting Guy! Blog: Ben Vierck. Ben has been around for a while, using and supporting...
  • 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: 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: Hey, Scripting Guy! How Can I Search a Folder For All the Image Files That Are Not a Specified Height and Width?

    Hey, Scripting Guy! I have a folder on a server that contains employee photos, photos that will be used on our organization chart. New photos are taken daily for new staff members, and all the .JPG files are put into this folder. Because the photos are often different sizes, I would like to write a script...
  • Blog Post: How Can I Auto-Delete Specific File Types from the My Pictures Folder?

    Hey, Scripting Guy! How can I auto-delete specific file types from the My Pictures folder? If an error occurs with my fax machine, .drg and .txt files get added to My Pictures. I then have to delete these files before the fax machine will work again. -- WW Hey, WW. You know, this was a case where...
  • Blog Post: Use PowerShell to Easily Organize Your Music Collection

    Summary : Microsoft Scripting Guy, Ed Wilson, teaches you how to use Windows PowerShell to organize your music collection for ease of playback on Windows. Microsoft Scripting Guy, Ed Wilson, is here. I love the weekend. In general, it is a time for me to explore and to experiment with Windows PowerShell...
  • Blog Post: Weekend Scripter: Download Lyrics for Your Favorite Song with PowerShell

    Summary: Learn how to use a Windows PowerShell function to download lyrics for your favorite songs. Retrieving song lyrics with Windows PowerShell Microsoft Scripting Guy Ed Wilson here. Well it is New Year’s day in Charlotte , North Carolina . This year, or perhaps I should say last...
  • Blog Post: Hey, Scripting Guy! How Can I Get the “Date Picture Taken” Property From a .JPG File?

    Hey, Scripting Guy! How can I get the Date Picture Taken property from a .JPG file? -- MW Hey, MW. Before we answer your question we should point out that this is likely to be the last Hey, Scripting Guy! column for quite some time to come. Not that we’re going anywhere, mind you. It’s...
  • Blog Post: How Can I Tell Whether a .GIF File is a Regular Picture File or an Animated Picture File?

    Hey, Scripting Guy! I have a silly question for you: how can I tell whether a .GIF file is a regular old picture file or an animated picture file? -- WW Hey, WW. To begin with, there’s no such thing as a silly question. We’ve always believed that - well, come to think of it, last summer a neighbor...
  • Blog Post: Hey, Scripting Guy! Weekend Scripter: Converting PNG Files to JPEG Format

    This week saw the kickoff and first week of the 2010 Scripting Games . The Scripting Wife is in the midst of things, so we decided to give her a break and let her catch her breath. You can catch up with her progress by reviewing the articles in the archive . Microsoft Scripting Guy Ed Wilson here...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (03/27/09)

    Determining if SQL Is Installed; How to Read Paired Information into a Dictionary Object Hey, Scripting Guy! Being an avid reader of your columns for the last several years has been a blast. I wrote you once before but with no success (in terms of a reply, which was expected, and in terms of not seeing...
  • Blog Post: Hey, Scripting Guy! How Can I Use Windows PowerShell to Convert Graphics Files to Different File Formats?

    Hey, Scripting Guy! I have a number of graphics files that I need to convert to a different file format. Can I use Windows PowerShell 2.0 to convert a .bmp file to a .jpg file? -- SW Hello SW, Microsoft Scripting Guy Ed Wilson here. It is Guest Blogger Week here on the Script Center ....
  • Blog Post: How Can I Add the Date a Picture Was Taken to the File Names of My Digital Photos?

    Hey, Scripting Guy! How can I rename all the .JPG files in a folder so that the date the picture was taken is included in the file name? -- NH Hey, NH. Welcome to Hey, Scripting Guy! , the only daily scripting column on TechNet that is written without the use of steroids, amphetamines, human growth...
  • Blog Post: Use PowerShell to Find Installed Video Codecs on Windows 8

    Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to find installed video codecs on Windows 8. Hey, Scripting Guy! Dude, I am in trouble. Big time! Last week, I installed Windows 8 on the laptops used by all our department heads and front-line supervisors. I thought...
  • Blog Post: How Can I Display the Vertical and Horizontal Sizes of a .JPG File?

    Hey, Scripting Guy! How can I display the vertical and horizontal resolutions of a .JPG file? -- ST Hey, ST. This is a very commonly-asked question, and for the longest time we had no answer for it: nothing built into the operating system seemed capable of returning this information, and even Dsofile...
  • Blog Post: The Scripting Guys Really Do Rock, Part 3 of 4

    [Disclaimer: this is a reprint of a previously published article from the TechNet Script Center FunZone. The FunZone was not migrated from our old platform. This article is printed here due to popular demand.] This is part three of a four part series of articles about using VBScript to work with the...
  • Blog Post: Hey, Scripting Guy! How Can I Sort Digital Files By the Date Each Picture Was Taken?

    Hey, Scripting Guy! I read your article on renaming image files so that the pictures could then be sorted in chronological order. When I ran your script, however, it didn’t quite work for me: the files were renamed, but the pictures weren’t sorted the way I had hoped they would be. I think that’s because...
  • Blog Post: How Can I Play a Sound From Within a Script?

    Hey, Scripting Guy! I have a script that pops up a message box to alert users to a problem. Is there any way I can play a sound at the same time the message box appears? -- TL Hey, TL. You guys do this on purpose, don’t you; you love to ask questions where there isn’t a clear-cut answer. This is yet...
  • Blog Post: iCame, iPod, iScripted: Scripting iTunes

    [Disclaimer: this is a reprint of an old Scripting Guys article from the TechNet Script Center FunZone. The FunZone was not migrated from our old platform. It is printed here due to popular demand.] If you’re like most people, at one time or another you’ve been given a present that was...
  • Blog Post: How Can I Determine the Height and Width of a Picture File Without Using Windows Media Player?

    Hey, Scripting Guy! Awhile back you showed us a method to determine the height and width of a picture file. However, that solution required us to import all our picture files into Windows Media Player. Isn’t there another way to get this information, one that doesn’t require Windows Media Player? --...
  • Blog Post: iCame, iPod, iScripted: Scripting iTunes conclusion

    [Disclaimer: this is a reprint of a previously published article from the TechNet Script Center FunZone. The FunZone was not migrated from our old platform. It is printed here due to popular demand.] This is part three of a three part series of articles about using VBScript to script iTunes. The first...
  • Blog Post: Weekend Scripter: A Cool Music Explorer Script

      Microsoft Scripting Guy Ed Wilson here. I don’t know about you, but I have thousands of music files on my computer. In fact, I have exactly 4,018 music files. I used this Windows PowerShell command to count them: PS   E:\Music>   ( dir   -Include   *.mp3,*.wma   -Recurse...