How Can I Get a List of All the Files in a Folder and Its Subfolders?

Hey, Scripting Guy! How can I use a script to show me all the files in a folder? And then how can I modify that script so it shows me all the files in any subfolders of that folder?– CS Hey, CS. Yesterday we showed everyone a script that changed all the files in a…

27

Use PowerShell to Collect Server Data and Write to SQL

  Summary: Use Windows PowerShell to collect server data and automatically store that information in a Microsoft SQL Server.   Hey, Scripting Guy! How is Windows PowerShell usage by database professionals different from the way that other IT Pros use Windows PowerShell?   — MC   Hello MC, Microsoft Scripting Guy Ed Wilson here. Next…

27

Use PowerShell to Create an Exchange 2010 Database Report

Summary: Learn how to use Windows PowerShell to create an HTML report of Exchange 2010 databases by using conditional formatting and thresholds.   Hey, Scripting Guy! I need to learn how to produce reports on my Exchange 2010 databases. Is this something that I can do by using Windows PowerShell? —TH Hello TH, Microsoft Scripting…

26

Easily Compare Two Folders by Using PowerShell

Summary: Microsoft Scripting Guy Ed Wilson illustrates how to compare two folders by using Windows PowerShell.   Microsoft Scripting Guy Ed Wilson here. It is an absolutely beautiful day in Charlotte, North Carolina. The early morning rain gave way to a colorful rainbow. My manager bought me a new laptop, and I have been busy…


2012 Scripting Games Advanced Event 2: Find Information about Remote and Local Services

  Summary: In Advanced Event 2, you must find information about remote and local services. About this event Division Advanced Date of Event 4/3/2012 12:01 AM Due Date 4/10/2012 12:01 AM Event scenario You are a server administrator for a medium-sized enterprise company. Your boss has tasked you with finding the way that all services…


2012 Scripting Games Advanced Event 6: Compute Uptime for Multiple Servers

  Summary: In Advanced Event 6, you are required to compute the uptime for multiple servers. About this event Division Advanced Date of Event 4/9/2012 12:01 AM Due Date 4/16/2012 12:01 AM Event scenario You are the server lead for a medium-sized enterprise, and your boss has tasked you with computing the uptime of all…


How to Use PowerShell to Write to Event Logs

Summary: Guest blogger, Jonathan Tyler, talks about how to write to Windows event logs by using Windows PowerShell—and avoid errors in doing so. Microsoft Scripting Guy, Ed Wilson, is here. While I was at TechEd in New Orleans, I had the chance to talk to Jonathan Tyler. I see him from time-to-time, although he only…


How to Use PowerShell to Create Shared Folders in Windows 7

  Summary: Guest blogger Sean Kearney shows you how to use Windows PowerShell to create shared folders and set permissions on a Windows desktop.   Hey, Scripting Guy! How can I use Windows PowerShell to create shares? — SK   Hello SK, Microsoft Scripting Guy Ed Wilson here. Wrapping up Guest Blogger Week is Sean…

25

Use PowerShell to Data Mine Your Outlook Inbox

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to data mine your Microsoft Outlook Inbox.   Hey, Scripting Guy! I was talking to my boss the other day, and he made a rather interesting observation. He said that if I send four or five emails to a person within a four-…

25