Inventory Drive Types by Using PowerShell

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to detect drive types.  Hey, Scripting Guy! We have a number of workstations in our network. Many of the users bring USB keys from home to transfer their files. Others have large external USB drives attached to their machines, and others have portable CD/DVD…


Use PowerShell to Initialize Raw Disks and to Partition and Format Volumes

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to initialize raw disks and to partition and format volumes. Microsoft Scripting Guy, Ed Wilson, is here. In yesterday’s post, Use PowerShell to Add VHDs and Configure New Virtual Machines, I was able to create and add new VHDs to previously existing virtual machines….


Weekend Scripter: The Scripting Wife Talks About the First Warm-Up Event in the Winter Scripting Games

Summary: The Scripting Wife talks about the first event in the 2013 Winter Scripting Games warm-up events. Microsoft Scripting Guy, Ed Wilson, is here. Today, we have a special guest. You guessed it: The Scripting Wife is with us today. If you are reading the Hey, Scripting Guy! Blog for the first time, Welcome. Let…


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 he was doing with Windows…


Use PowerShell to Determine Fragmentation of Your Drive

Summary: Learn how to use Windows PowerShell to determine the amount of fragmentation of your hard disk drives.   Hey, Scripting Guy! One of the things that annoys me is that the “new” defragmenter program in Windows 7 does not return any information. I guess from a user standpoint, it is OK—and it runs as…

3

A PowerShell Carol in which Ebenezer Script Learns WMI

   Summary: A Windows PowerShell Carol in which Ebenezer Script learns how easy it to use WMI to check disk space usage.   Hey, Scripting Guy! I am wondering if Ebenezer Script will learn how easy it is to work with WMI from inside Windows PowerShell. — CS   Hello CS, Microsoft Scripting Guy Ed…

0

Hey, Scripting Guy! How Can I Create a Disk Space Report in a Word Document?

    Hey, Scripting Guy! We are having problems with several of our servers at work. Several of them were upgraded from Windows NT 4, and as a result, we are constantly running into disk space issues on the C: drive. I would rather manage the problem than take the servers down and rebuild them…

1

Hey, Scripting Guy! How Can I Tell How Much Free Disk Space a User Has?

I know most people have heard of Moore’s Law that is named after Gordon Moore, but have you ever heard of Bob’s law? Bob was the senior network administrator when I first became an IT pro, and he created what he called Bob’s Law. Briefly stated it says this: “A user’s demand for storage space…

3