Sign In
TechNet Blogs
Technet Blog Images
More ...
Tweet tweet!
Translate this page
Powered by
Microsoft® Translator
Related Links
Blog Home
Script Center Home
Scripting Library
Learn to Script
Script Repository
Scripting Forum
2012 Scripting Games
Common Tasks
Blog Home
RSS for comments
RSS for posts
Atom
OK
Email Blog Author
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
2009 Summer Scripting Games (42)
2010 Scripting Games (115)
2011 Scripting Games (132)
2012 Scripting Games (125)
Active Directory (216)
ActiveX Data Objects (ADO) (30)
Advanced (70)
arrays hash tables and dictionary objects (29)
Beginner (96)
CSV and other delimited files (35)
databases (57)
dates and times (56)
desktop management (111)
displaying output (32)
event logs (45)
events and monitoring (37)
Excel spreadsheet (52)
Excel.Application (31)
files (140)
folders (74)
general management tasks (55)
getting started (299)
groups (39)
guest blogger (264)
Internet Explorer (31)
leaderboard (57)
local accounts and Windows NT 4.0 accounts (33)
Logs and monitoring (48)
Microsoft Excel (114)
Microsoft Outlook (49)
Microsoft Word (95)
multimedia (30)
Office (286)
operating system (229)
other Directory Services (34)
performance (32)
printing (31)
prize winners (32)
processes (48)
Quick-Hits Friday (88)
registry (82)
regular expressions (39)
running (86)
Scripting Guy! (2162)
scripting techniques (990)
Scripting Wife (85)
Sean Kearney (50)
searching Active Directory (63)
security (44)
servers (31)
services (31)
sponsors (38)
storage (211)
string manipulation (48)
text files (147)
troubleshooting (39)
user accounts (89)
using the Internet (38)
VBScript (1049)
Web pages and HTAs (71)
Weekend Scripter (186)
Windows PowerShell (1300)
Windows PowerShell ISE (33)
WMI (159)
writing (45)
Archives
Archives
May 2012
(29)
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)
May, 2005
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
May, 2005
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Hey, Scripting Guy! Blog
How Can I Open an Excel Workbook and Retrieve the Names of All the Worksheets?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I open an Excel workbook and retrieve the names of all the worksheets? -- JG Hey, JG. It’s the first day back after a three-day weekend, and this morning all the Scripting Guys stumbled into the office and just stared blankly...
Hey, Scripting Guy! Blog
How Can I Change the "Copy Music to This Location Folder" in Windows Media Player?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I change the Copy music to this location folder in Windows Media Player? -- BD Hey, BD. You know, a lot of people think that the reason we Scripting Guys don’t do very much work is because we’re just plain lazy. Those people...
Hey, Scripting Guy! Blog
How Can I Get Just the User Name When Using the Win32_ComputerSystem Class?
Posted
over 7 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! I’m using the Win32_ComputerSystem class to get the name of the logged-on user. The name comes back formatted like this: Domain\Name . How can I extract just the user name? -- KW Hey, KW. As our much-beloved and highly-respected...
Hey, Scripting Guy! Blog
How Can I Extract Word Paragraphs That Use a Specific Style?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I save (to a separate file) all the paragraphs in a Word document that are formatted using a particular style, like Heading 1? -- RN Hey, RN. You know, when we first read this question we thought, “Interesting. But why would...
Hey, Scripting Guy! Blog
How Can I Use ADO to Open a Text File That has Spaces in the File Name?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I use ADO to open a text file that has spaces in the file name? -- TL Hey, TL. You might not even remember sending us this question; to say it’s been awhile would be an understatement. (You should have seen all the dust...
Hey, Scripting Guy! Blog
How Can I Correlate Logical Drives and Physical Disks?
Posted
over 7 years ago
by
ScriptingGuy1
3
Comments
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...
Hey, Scripting Guy! Blog
How Can I Remove the Last Carriage Return-Linefeed in a Text File?
Posted
over 7 years ago
by
ScriptingGuy1
5
Comments
Hey, Scripting Guy! How can I remove the last carriage return-linefeed in a text file? -- LEK Hey, LEK. From the rest of your email you note that you’re using the FileSystemObject to read a text file, then using the contents of that text file as a...
Hey, Scripting Guy! Blog
How Can I Switch Between Using a Proxy Server and Not Using a Proxy Server?
Posted
over 7 years ago
by
ScriptingGuy1
12
Comments
Hey, Scripting Guy! At work we need to use a proxy server to connect to the Internet; when I take my laptop home to work, however, I don’t need to use a proxy server. I know I can use the Internet Options in Control Panel to change between using a proxy...
Hey, Scripting Guy! Blog
How Can I Generate Random Numbers Using a Script?
Posted
over 7 years ago
by
ScriptingGuy1
3
Comments
Hey, Scripting Guy! Our auditors have suggested that we randomly pick projects to examine and ensure that each project was completed and signed off per company policy. Because these projects are numbered sequentially I thought maybe we could write a script...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Access Active Directory on a Specific Domain Controller?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I access Active Directory on a specific domain controller? -- SD Hey, SD. You know, one of the cool things about Active Directory is that you usually don’t need to access the directory service on a specific domain...
Hey, Scripting Guy! Blog
How Can I Lower the Priority of a Process Using a Script?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I lower the priority of a process using a script? -- HS Hey, HS. As many of you know, all processes are not created equal; instead processes are assigned priority values. Processes with a high priority are executed more...
Hey, Scripting Guy! Blog
How Can I Display the Vertical and Horizontal Sizes of a .JPG File?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I display the vertical and horizontal resolutions of a .JPG file? -- ST Hey, ST. This is a very commonly-asked question, and for the longest time we had no answer for it: nothing built into the operating system seemed capable...
Hey, Scripting Guy! Blog
How Can I Get a List of All the Disabled User Accounts in Active Directory?
Posted
over 7 years ago
by
ScriptingGuy1
16
Comments
Hey, Scripting Guy! How can I get a list of all the disabled user accounts in Active Directory? -- RT Hey, RT. Now, just remember, you asked for this. We have a script that returns a list of disabled user accounts in Active Directory; the only problem...
Hey, Scripting Guy! Blog
How Can I Rename a Local Area Connection?
Posted
over 7 years ago
by
ScriptingGuy1
5
Comments
Hey, Scripting Guy! How can I rename a local area connection? -- AP Hey, AP. You know, you hurt our feelings here: we Microsoft types spent a lot of time coming up with clever and catchy names like Local Area Connection, Local Area Connection 2, and...
Hey, Scripting Guy! Blog
How Can I Add an Email Address to the proxyAddresses Attribute?
Posted
over 7 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I add an email address to the proxyAddresses attribute without overwriting all the existing attributes? -- DH Hey, DH. For those of you who aren’t too familiar with the proxyAddresses attribute (and, alas, that includes...
Hey, Scripting Guy! Blog
How Can I Create a Shortcut in My Network Places?
Posted
over 7 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! How can I create a shortcut in My Network Places? -- KP Hey, KP. You’ll have to excuse us if we sound a little out of breath; we’ve been running around like crazy looking for a complicated and highly-technical solution to this problem...
Hey, Scripting Guy! Blog
How Can I Make Internet Explorer Check for a New Version Each Time I Visit a Web Page?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I make sure that Internet Explorer 6 checks for a new version on each visit to a Web page? -- MD Hey, MD. In baseball lingo we’d call this a can of corn: a lazy fly ball we couldn’t possibly drop. This is a tricky little...
Hey, Scripting Guy! Blog
How Can I Determine the Week of the Month a Date Falls In?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I determine the week of the month a date falls in? -- AK Hey, AK. You’re probably familiar with the book Moby Dick , the story of a crazy sea captain who became obsessed with hunting down and finishing off the great white...
Hey, Scripting Guy! Blog
How Can I Exit a For Each Loop?
Posted
over 7 years ago
by
ScriptingGuy1
6
Comments
Hey, Scripting Guy! Is there any way to exit a loop in a script? -- MW Hey, MW. You know, when we started writing this column we intended it to be a simple little thing that answered those basic questions so many beginning scripters have: ...
Hey, Scripting Guy! Blog
How Can I Insert Files into a Word Document?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! Awhile back you showed people how they could combine several text files into a single file . I’d like to do the same thing in Word. How can I insert files into a Word document? -- HK Hey, HK. Believe it or not it’s actually easier...
Hey, Scripting Guy! Blog
How Can I Add a Site to Internet Explorer’s Restricted Sites Zone?
Posted
over 7 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I add a site to Internet Explorer’s Restricted Sites zone on a remote computer? -- NS Hey, NS. When it comes to scripting, Internet Explorer has a sort of dual personality. If you want to program the application itself,...
Page 1 of 1 (21 items)