Sign in
TechNet Blogs
Technet Blog Images
More ...
Blog - Title
TechNet Blogs
>
Hey, Scripting Guy! Blog
Server & Tools Blogs
>
Server & Management Blogs
>
Hey, Scripting Guy! Blog
All About Windows Server
Windows Server
Windows Server Essentials Blog
Building Clouds
Partner & Customer Solutions
Server & Cloud
Ask The
Performance Team
Ask Premier Field Engineering
Ask the Core Team
Cloud & Datacenter Management
The System Center Team Blog
System Center Virtual Machine Manager
System Center Service Manager
System Center Operations Manager
System Center Data Protection Manager
System Center Orchestrator
Partner & Customer Solutions
Client Management
System Center Configuration Manager
System Center Service Manager
MDOP
Malware Protection Center
Windows Intune
SUS
Partner and Customer Solutions
Virtualization, VDI & Remote Desktop
Virtualization Team Blog
Ben Armstrong’s Virtualization Blog
Jose Barreto Blog on Hyper-V
Partner & Customer Solutions
Remote Desktop Services
Windows Multipoint Server
Ask the Core Team on Hyper-V
File & Storage & High Availability
File & Storage
Jose Barreto
Partner & Customer Solutions
Ask the Core Team on Failover Cluster
Clustering & High Availability
Windows Server Management
PowerShell
Hey Scripting Guy (PowerShell)
Server Manager
Group Policy
Networking
Identity & Access
Ask Directory Services
Active Directory
Microsoft Leadership
Brad Anderson - In the Cloud
Hey, Scripting Guy! Blog
Learn about Windows PowerShell
Live Now on Server & Tools Blogs
Useful Links
Learn Powershell
TechNet Script Center Home page
Scripting Guys Script Repository
The Official Scripting Guys Scripting Forum
Subscribe
Comments
Contact
Menu
Blog Home
Atom
Translate this page
Powered by
Microsoft® Translator
Twitter Feed
Tags
2010 Scripting Games
2011 Scripting Games
2012 Scripting Games
Active Directory
Advanced
Beginner
databases
dates and times
desktop management
event logs
events and monitoring
Excel spreadsheet
files
folders
general management tasks
getting started
guest blogger
leaderboard
Logs and monitoring
Microsoft Excel
Microsoft Outlook
Microsoft Word
networking
Office
operating system
PowerShell 3
PowerTip
processes
Quick-Hits Friday
registry
running
Scripting Guy!
scripting techniques
Scripting Wife
Sean Kearney
searching Active Directory
security
servers
SQL Server
storage
string manipulation
text files
user accounts
using the Internet
VBScript
Web pages and HTAs
Weekend Scripter
Windows PowerShell
WMI
writing
More
▼
Less
▲
Related Resources
Script Center Home
Scripting Library
Learn to Script
Script Repository
Scripting Forum
2012 Scripting Games
Archives
Archives
May 2013
(40)
April 2013
(61)
March 2013
(62)
February 2013
(56)
January 2013
(62)
December 2012
(62)
November 2012
(68)
October 2012
(62)
September 2012
(62)
August 2012
(63)
July 2012
(32)
June 2012
(39)
May 2012
(33)
April 2012
(97)
March 2012
(44)
February 2012
(31)
January 2012
(31)
December 2011
(31)
November 2011
(30)
October 2011
(31)
September 2011
(30)
August 2011
(31)
July 2011
(31)
June 2011
(30)
May 2011
(31)
April 2011
(97)
March 2011
(41)
February 2011
(28)
January 2011
(31)
December 2010
(31)
November 2010
(30)
October 2010
(31)
September 2010
(30)
August 2010
(33)
July 2010
(31)
June 2010
(30)
May 2010
(67)
April 2010
(65)
March 2010
(34)
February 2010
(29)
January 2010
(23)
December 2009
(23)
November 2009
(22)
October 2009
(23)
September 2009
(22)
August 2009
(25)
July 2009
(24)
June 2009
(38)
May 2009
(22)
April 2009
(22)
March 2009
(22)
February 2009
(20)
January 2009
(22)
December 2008
(8)
November 2008
(17)
October 2008
(9)
September 2008
(8)
August 2008
(6)
July 2008
(5)
June 2008
(21)
May 2008
(21)
April 2008
(22)
March 2008
(21)
February 2008
(21)
January 2008
(22)
December 2007
(10)
November 2007
(20)
October 2007
(23)
September 2007
(19)
August 2007
(23)
July 2007
(21)
June 2007
(21)
May 2007
(22)
April 2007
(21)
March 2007
(22)
February 2007
(21)
January 2007
(21)
December 2006
(11)
November 2006
(20)
October 2006
(22)
September 2006
(20)
August 2006
(23)
July 2006
(20)
June 2006
(22)
May 2006
(22)
April 2006
(20)
March 2006
(23)
February 2006
(20)
January 2006
(21)
December 2005
(16)
November 2005
(20)
October 2005
(21)
September 2005
(21)
August 2005
(23)
July 2005
(20)
June 2005
(22)
May 2005
(21)
April 2005
(21)
March 2005
(22)
February 2005
(20)
January 2005
(21)
December 2004
(16)
November 2004
(20)
October 2004
(21)
September 2004
(21)
August 2004
(22)
More
▼
Less
▲
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Hey, Scripting Guy! Blog
How Can I Set an Active Directory Attribute Value to NULL?
Posted
over 8 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! How can I set an Active Directory property to NULL? I tried setting the value to an empty string (“”) but it didn’t work. -- JJ Hey, JJ. You know, it’s not like the Scripting Guys to get philosophical; one of the Scripting Guys...
Hey, Scripting Guy! Blog
How Can I Save a Single Excel Worksheet to a CSV File?
Posted
over 8 years ago
by
ScriptingGuy1
8
Comments
Hey, Scripting Guy! I’d like to be able to open an Excel spreadsheet, get all the information off one of the worksheets, and then save that worksheet data to a comma-separated values file. How can I do that? -- SS Hey, SS. You know, you just...
Hey, Scripting Guy! Blog
How Can I Be Notified Any Time a Network Cable Gets Unplugged?
Posted
over 8 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! Is there a way I can be notified any time a network cable gets unplugged on a computer? -- DD Hey, DD. A lot of people, when growing up, had a grandmother or an aunt or someone somewhere who had a house with a big attic, an attic...
Hey, Scripting Guy! Blog
How Can I Create an Environment Variable Using a Script?
Posted
over 8 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! Can I create an environment variable using a script? -- OD Hey, OD. WMI is a great technology for scripting, but it has its eccentricities. For example, can you create a process using a script? Of course you can; after all, WMI...
Hey, Scripting Guy! Blog
How Can I Move Files Based on Their File Extension?
Posted
over 8 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! I have a folder with a bunch of files in it. I need to move all those files; the only problem is that the files need to be moved to different folders depending on their file extensions. For example, I want all the .log files to go...
Hey, Scripting Guy! Blog
How Can I Display A Progress Bar (or Something Similar) While My Script Runs?
Posted
over 8 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! How can I get my script to do something interesting while the code executes; you know, how can I display a progress bar or something? -- HD Hey, HD. To begin with, we don’t recommend that you try to use a true progress bar; that...
Hey, Scripting Guy! Blog
How Can I Determine Which USB Devices are Connected to a Computer?
Posted
over 8 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I determine which USB devices are connected to a computer? -- WM Hey, WM. If you watch a lot of TV - um, not that the Scripting Guys do; we spend our spare time reading the works of Shakespeare, solving differential equations...
Hey, Scripting Guy! Blog
How Can I Automatically Dismiss a Message Box After a Specified Length of Time?
Posted
over 8 years ago
by
ScriptingGuy1
8
Comments
Hey, Scripting Guy! I’d like to display a Yes/No message box for a few seconds and then, if no one clicks a button, have the message box disappear and the script perform the default operation. How do I do that? -- JR Hey, JR. Sounds like you need the...
Hey, Scripting Guy! Blog
How Can I Delete a Table from a Jet Database?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! Can I delete a table from a Jet database using a script? -- AK Hey, AK. Of course you can delete a table from a Jet database using a script; after all, you can do anything using a script! Well, OK, maybe not DHCP server stuff...
Hey, Scripting Guy! Blog
How Can I Temporarily Add a Group to Another Active Directory Group?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I’d like to add an Active Directory group to a second group, but only for an hour; after an hour, I’d like remove that group from the second group. Can I do that with a script? -- JW Hey, JW. Well, this is definitely one of the...
Hey, Scripting Guy! Blog
How Can I Determine Which Version of Internet Explorer is Installed on a Computer?
Posted
over 8 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! How can I determine which version of Internet Explorer is installed on a computer? -- MG Hey, MG. Probably the best (and definitely the easiest) way to do this is to use WMI; after all, using WMI makes it as easy to get this information...
Hey, Scripting Guy! Blog
How Can I Get a List of All the Domains in a Forest?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I get a list of all the domains in a forest? -- NS Hey, NS. Any time you want information about Active Directory your best bet is to go right to the source: simply ask Active Directory to provide you with this information...
Hey, Scripting Guy! Blog
How Can I Tell If a File Exists on a CD or DVD Drive?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I tell whether a file exists on any CD or DVD drive connected to a computer? -- GH Hey, GH. Well, one way to do this would be to search the entire file system - including any mapped network drives - and check to see if a...
Hey, Scripting Guy! Blog
How Can I Delete a Single Registry Value?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I delete a single registry value? I don’t want to delete the entire registry key, just one value. -- BF Hey, BF. Registry terminology can be a bit confusing, thanks in large part to those of us here at Microsoft (we tend...
Hey, Scripting Guy! Blog
How Can I Determine the Elapsed Time Between Two Dates?
Posted
over 8 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I tell how many days there are between two dates? For example, if I have a log file that says an application started on January 1, 2005 and that the application ended today, is there a way to determine how many days the application...
Hey, Scripting Guy! Blog
How Can I Create a Folder on the Start Menu?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I create a folder on the Start menu? I want the folder to be named the same as the %username% environment variable. -- SB Hey, SB. As we are wont to do, we’re going to break this question down into subtasks. We’ll explain...
Hey, Scripting Guy! Blog
How Can I Use a Multi-Select Dialog Box in a Script?
Posted
over 8 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! Awhile back you showed us how to use a File Open dialog box in our scripts. At the same time you said you’d show us how to use a multi-select dialog box. Did you just forget about the multi-select dialog box? -- AA Hey, AA. Yes...
Hey, Scripting Guy! Blog
How Can I Determine if a Users' Folder Exists on a Computer?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I determine if the C:\Documents and Settings\ %username% \Application Data\Microsoft\Templates folder exists on a computer? -- JM Hey, JM. The FileSystemObject includes a FolderExists method that makes it very easy to check...
Hey, Scripting Guy! Blog
How Can I Sort the Contents of a Text File?
Posted
over 8 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! I have a text file that contains a list of computer names. How can I sort that file alphabetically? -- LR Hey, LR. If we wanted to take the easy way out we’d just tell you, “Sorry, you can’t do that.” And we could get away with...
Hey, Scripting Guy! Blog
How Can I Write Binary Data to the Registry?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I write binary data to the registry? -- FG Hey, FG. WMI’s Standard Registry Provider includes a method - SetBinaryData - that makes it relatively easy to write binary data to the registry. There’s one little catch to be...
Hey, Scripting Guy! Blog
How Can I Read Text From a File and Then Rename the File Using the Text I Just Read?
Posted
over 8 years ago
by
ScriptingGuy1
1
Comments
Guy! I would like to be able to open a file, read the first 10 characters, and then rename the file to those 10 characters plus a .txt file extension. How can I do that? -- KA Hey, KA. Ah, for once a text file question that can be answered without...
Hey, Scripting Guy! Blog
How Can I Tell Whether a Web Page is Accessible?
Posted
over 8 years ago
by
ScriptingGuy1
7
Comments
Hey, Scripting Guy! How can I tell whether or not a Web page is accessible? -- JW Hey, JW. To tell you the truth, these are the kinds of questions we hate, questions where we don’t know the answer off the top of our heads but where it seems like there...
Hey, Scripting Guy! Blog
How Can I Create a GUID Using a Script?
Posted
over 8 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! We have items that we need to track using unique identification numbers. My boss suggested that we use GUIDs for this purpose. Is there any way to create a GUID using a script? -- DX Hey, DX. GUIDs (globally unique identifiers)...
Hey, Scripting Guy! Blog
How Can I List the Files in a Folder and All Its Subfolders?
Posted
over 8 years ago
by
ScriptingGuy1
8
Comments
Hey, Scripting Guy! How can I list all of the files in a folder, as well as all the files in any subfolders of that folder? -- MA Hey, MA. This is a question we get asked quite a bit, and one which have avoided answering up till now. That’s because...
Hey, Scripting Guy! Blog
How Can I Count the Number of Times a User has Logged on to a Computer?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I count the number of times a user has logged on to a computer? -- DE Hey, DE. How can you count the number of times a user has logged on to a computer? Good question and, ultimately, the answer might be: you can’t. But...
Page 118 of 124 (3,083 items)
«
116
117
118
119
120
»