Browse by Tags

Tagged Content List
  • 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: Comparing PowerShell PSSessions and CIM Sessions

    Summary : Guest blogger, Trevor Sullivan, compares Windows PowerShell PSSessions and CIM sessions. Microsoft Scripting Guy, Ed Wilson, is here. Today we have the exciting conclusion to Honorary Scripting Guy , Trevor Sullivan’s guest blog series on CIM. To see more of Trevor’s guest posts...
  • Blog Post: Invoking CIM Methods with PowerShell

    Summary : Guest blogger, Trevor Sullivan, talks about invoking CIM methods via Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we have another guest post from Trevor Sullivan. Trevor is an Honorary Scripting Guy , and a recognized Microsoft Community Contributor (MCC). To see...
  • Blog Post: Introduction to the CIMCmdlets PowerShell Module

    Summary : Guest blogger, Trevor Sullivan, talks about using the CIMCmdlets PowerShell module. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest post from Trevor Sullivan. Trevor is an Honorary Scripting Guy , and a recognized Microsoft Community Contributor (MCC). To see more of Trevor’s...
  • Blog Post: What is CIM and Why Should I Use It in PowerShell?

    Summary : Honorary Scripting Guy and guest blogger, Trevor Sullivan, explores CIM and using it with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a guest post from Trevor Sullivan. Trevor is an Honorary Scripting Guy and a recognized Microsoft Community Contributor...
  • Blog Post: Hey, Scripting Guy! Weekend Scripter: Using Functions to Convert Weight Measurements (Part 1)

    Microsoft Scripting Guy Ed Wilson here. If you have been following us on Twitter, you know that I have been out for nearly a week due to ear surgery. While I have been recuperating, I have had a lot of time to think about the module we started last Saturday , and that we continued last Sunday . The Scripting...
  • Blog Post: Use PowerShell to Translate a User’s SID to an Active Directory Account Name

    Summary : Microsoft Scripting Guy Ed Wilson shows how to use Windows PowerShell to translate a user's SID to an Active Directory Domain Services account name. Hey, Scripting Guy! It seems that whenever I search for Windows PowerShell scripts to translate a user name into a SID, all I can find is...
  • Blog Post: A PowerShell Object Lesson: Part 2

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about the importance of returning objects to ease administrative work. Microsoft Scripting Guy, Ed Wilson, is here. This afternoon I am sipping a magnificent cup of Oolong green tea. I added a spoonful of jasmine buds to my teapot, in addition to...
  • Blog Post: The Function of PowerShell Functions

    Summary: In this how to article, Microsoft Scripting Guy Ed Wilson discusses design considerations for Windows PowerShell functions. Hey, Scripting Guy! I am trying to decide how to configure my Windows PowerShell function. I have heard that functions should return objects, but I am thinking that...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (01/16/09)

    How Do I Set Process Affinity? Hey, Scripting Guy! I have this application that I would like to set process affinity for. I know I can use Task Manager, right-click the process, and choose to set affinity, but I would like to be able to do this from a script. Can this be done? I asked a newsgroup...
  • Blog Post: Masking Passwords in Windows PowerShell

    Summary : With Windows PowerShell cmdlets, it is easy to mask passwords used when scripting remote applications. Hey, Scripting Guy! I need to be able to mask a password when running a Windows PowerShell script. I am attempting to convert my VBScript scripts to Windows PowerShell, but I have a...
  • Blog Post: Format PowerShell Output with an Easy-to-Use Table

    Summary : The Scripting Wife learns how to format Windows PowerShell output with the easy-to-use Format-Table cmdlet. Microsoft Scripting Guy, Ed Wilson, here. I wonder how you might describe the perfect day? For me, it consists of receiving feedback via the scripter@microsoft.com email alias or on...
  • Blog Post: Hey, Scripting Guy! Interacting with the Windows PowerShell Console Window

    About the author : Tibor Soós is a Windows PowerShell MVP who lives in Hungary. I started to learn programming in 1982 at the age of 12. My father bought a little Z80 based computer, named Mickey '80 , which was produced by a computer manufacturing plant of an agricultural collective farm. Strange...
  • Blog Post: Hey, Scripting Guy! How Can I Use Profiles with Windows PowerShell?

    Hey, Scripting Guy! I would like to personalize the way that Windows PowerShell works. I have been hearing that I can use a thing called a profile to do this, but when I try to find information about profiles, I come up blank. There is no New-Profile Windows PowerShell cmdlet so I do not see how to create...
  • Blog Post: Weekend Scripter: Use PowerShell to Easily Modify Registry Property Values

    Summary : Microsoft Scripting Guy, Ed Wilson, shows to use the PowerShell registry provider to easily modify registry property values. Microsoft Scripting Guy, Ed Wilson, is here. It is finally the weekend. It seems like it has been a rather long week. Of course, each week is only 168 hours long,...
  • Blog Post: Don't Translate File and Folder VBScript Scripts into PowerShell

    Summary : Simplify your code and do not translate an old file and folder VBScript script into Windows PowerShell. Hey, Scripting Guy! I know there are not really established patterns and practices for writing VBScript code, or even for writing Windows PowerShell script. But there is code that I like...
  • Blog Post: Use PowerShell and Scheduled Tasks to Automate Troubleshooting

    Summary : Microsoft Scripting Guy Ed Wilson shows how to use Windows PowerShell and scheduled tasks to automate troubleshooting your computer. Hey, Scripting Guy! We have a website that is currently hosted on a rather unreliable server. I am tired of constantly being harassed by management that...
  • Blog Post: Why PowerShell Uses Objects

    Summary : Microsoft PowerShell MVPs, Don Jones and Jeffery Hicks, show the flexibility and the power of Windows PowerShell objects. Microsoft Scripting Guy, Ed Wilson, is here. This week we will not have our usual PowerTip . Instead we have excerpts from seven books from Manning Press. In addition...
  • Blog Post: Use PowerShell to Query Active Directory from the Console

    Summary: Learn how to query Active Directory by using Windows PowerShell without writing a script. Hey, Scripting Guy! Occasionally I have to perform a quick query of Active Directory, but I do not want to write a complicated VBScript or Windows PowerShell script. Is there a way to use Windows...
  • Blog Post: Windows PowerShell 3.0 First Steps: Part 4

    Summary : Microsoft Scripting Guy, Ed Wilson, shares a portion from his popular Microsoft Press book Windows PowerShell 3.0 First Steps . Microsoft Scripting Guy, Ed Wilson, is here. Today I want to share with you another portion from my new book, Windows PowerShell 3.0 First Steps , which was recently...
  • Blog Post: Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (2/5/10)

    In this post : How Can I Run My First VBScript Script? Can I Use VBScript on Windows 7? Troubleshooting a VBScript Script How Can I Run My First VBScript Script? Hey, Scripting Guy! I have followed the instructions from the VBScript first steps guide to the letter at least...
  • Blog Post: Find the Index Number of a Value in a PowerShell Array

    Summary : In this blog post, Microsoft Scripting Guy, Ed Wilson, talks about finding the index number of a value in a Windows PowerShell array. Microsoft Scripting Guy, Ed Wilson, is here. The other day, the Scripting Wife and I were invited to speak with a customer in Charlotte. Our contact, Rafael...
  • Blog Post: Learn PowerShell Live with Scripting Guy Ed Wilson

    Summary : Microsoft Scripting Guy Ed Wilson will present five Live Meetings for Microsoft Tech · Ed 2011 during the Road To Tech · Ed Script Week . It is official. I will conduct five Live Meetings beginning Monday, March 28, 2011. In these hour-long meetings, I will start at the very...
  • Blog Post: Using the PowerShell Contains Operator

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using the Windows PowerShell Contains operator to work with arrays. Microsoft Scripting Guy, Ed Wilson, is here. Today I am happy to provide you with an excerpt from my book Windows PowerShell 3.0 Step by Step , published by Microsoft Press...
  • Blog Post: Translate Active Directory VBScript into PowerShell—Not Me!

    Summary : Don’t translate old VBScript scripts that search Active Directory—instead use the Active Directory cmdlets from the RSAT. Hey, Scripting Guy! I have this script that I use for auditing Active Directory. Basically, it queries to see what new user accounts have been created in...