Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » disk drives and volumes   (RSS)

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (9/11/09)

Share this post: Hey Scripting Guy! I stumbled across the TechNet Script Center recently while trying to solve a problem I had at work. I had heard about scripting, of course, but had never taken the time to learn about it. I was able to find a script

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (01/23/09)

How Can I Return File Names of Files Created in Less Than an Hour from the Current Time? Hey, Scripting Guy! I am attempting to write a script that looks at the creation dates of all files in a certain directory. If the files were created less than an

How Can I Determine the Percentage of Free Space on a Drive?

Hey, Scripting Guy! How can I determine the percentage of free space available on the drive where a script is running? -- GS Hey, GS. And hey, welcome to another edition of Scripting Guys Trivia , the Internet game show in which the Scripting Guys get

How Can I Create a Logon Script That Will Open a User’s Mapped Drives?

Hey, Scripting Guy! How can I create a logon script that will open a user’s mapped drives? -- KZ Hey, KZ. You know, a lot of people think we decided to write this column because we wanted yet another way to tell people about scripting. That’s partially

How Can I Map Network Drives Based on a Computer’s Site?

Hey, Scripting Guy! How can I parse information in a text file, and then use that information to map network drives based on a computer’s site? -- BH Hey, BH. We’ll be with you in a second - we’re still replaying last night’s baseball game, in which the

How Can I Determine the Drive Label of a Drive?

Hey, Scripting Guy! Given the drive letter, how can I determine the drive label? -- PM Hey, PM. You know, after sitting around all winter, checking his watch every 15 minutes or so just to verify the date and time, the Scripting Guy who writes this column

How Can I Determine When a Removable Drive Gets Connected?

Hey, Scripting Guy! How can I determine when a USB flash drive gets connected? -- PS Hey, PS. OK, we admit it: the Scripting Guys are lazy. (Especially on a Friday, which is the day when we have to write our Monday column.) There might be a way to monitor

How Can I Determine Which Users are Using the Most Disk Space on a Drive?

Hey, Scripting Guy! How can I determine which users are using the most disk space on a drive? -- PW Hey, PW. Interesting question. In theory , you could probably do this by retrieving a collection of all the files on a drive, checking the owner, determining

How Can I Correlate Logical Drives and Physical Disks?

Hey, Scripting Guy! How can I correlate logical drives and physical disks? -- LB Hey, LB. We’ll make a deal with you: we’ll show you a script that can tell you which logical drives are found on which physical disks, and you promise not to say, “Wait,

How Can I Determine the Next Available Drive Letter on a Computer?

Hey, Scripting Guy! How can I determine the next available drive letter on a computer? -- TW Hey, TW. Interesting question, and one that crops up from time-to-time. In the old days, when users only had drives A, B, and C, this was easy; you could pretty
 
Page view tracker