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)
August, 2005
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
August, 2005
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Hey, Scripting Guy! Blog
How Can I Change a User’s Primary Group?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I change a user’s primary group? -- AS Hey, AS. You know, one of the Scripting Guys knows how to make an incredibly rich rocky road brownie, a brownie that’s topped with melted marshmallows and walnuts and chunks of dark...
Hey, Scripting Guy! Blog
How Can I Increment the Last Line in a Text File?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I increment the last line in a text file; that is, if the last line is 1, indicating we’ve done one backup, I need to increment it to 2, indicating that we’ve now done a second backup. -- TH Hey, TH. If you’ve ever been...
Hey, Scripting Guy! Blog
How Can I Get a List of All the Users Whose Passwords Never Expire?
Posted
over 7 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I get a list of all the users whose passwords never expire? -- NW Hey, NW. As you probably know, Internet gambling is illegal in the USA. That’s too bad, because if it wasn’t we’d be willing to bet $10 that the answer to...
Hey, Scripting Guy! Blog
How Can I Determine the 20 Largest Files on a Computer?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I determine the 20 largest files on a computer? -- PW Hey, PW. Having recently returned from a vacation in Europe, the Scripting Guy who writes this column now understands that there are different ways to do things. Some...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Find All the Users with Remote Access Permissions?
Posted
over 7 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I find all the users with remote access permissions; that is, all those with the Dial-In or VPN property set to Allow ? -- RC Hey, RC. You know, it seems like people are always looking for something: true love, happiness...
Hey, Scripting Guy! Blog
How Can I Determine When the Last Patch From Windows Update was Applied?
Posted
over 7 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! How can I determine when the last patch from Windows Update was applied? -- JP Hey, JP. You know, you picked a good time to ask this question; that’s because we just published a Tales from the Script column that introduces scripters...
Hey, Scripting Guy! Blog
How Can I Unhide All the Files in a Folder?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I run a script to unhide all the files in a folder? -- GA Hey, GA. You know, when one of the Scripting Guys was a bit younger he and the other kids in his neighborhood spent countless hours playing variations on hide-and...
Hey, Scripting Guy! Blog
How Can I Determine Which Attributes are Replicated to the Global Catalog?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I find out which attributes are replicated to the global catalog? -- AS Hey, AS. When people envision the future, they often foresee enormous skyscrapers, buildings so large that you might live your whole life without ever...
Hey, Scripting Guy! Blog
How Can I Remove All Duplicate Lines From a Text File?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I remove all duplicate lines from a text file? -- SW Hey, SW. You know, to be a Scripting Guy means to embark on a never-ending quest to find the ultimate solution to a given problem. (Or at least that’s what we tell our...
Hey, Scripting Guy! Blog
How Can I Start Up and Shut Down a Virtual Server Session?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I start up and shut down a Virtual Server session? -- DW Hey, DW. One of the Scripting Guys once had a neighbor who used to say, over and over again, “You know, I think I should have a garage sale. I really should have a...
Hey, Scripting Guy! Blog
How Can I Enumerate All the Universal Groups in Active Directory?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I enumerate all the universal groups in Active Directory? -- MW Hey, MW. You know, we’re glad you asked this question. Any time people talk about Active Directory then tend to talk about groups as if Active Directory had...
Hey, Scripting Guy! Blog
How Can I Monitor the Event Logs for the Occurrence of a Specific Event?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I monitor the event logs for the occurrence of a specific event? -- JP Hey, JP. Why, you use an event log monitoring script, of course. (Yes, it’s hard to believe, but they really do pay us to come up with brilliant answers...
Hey, Scripting Guy! Blog
How Can I Dynamically Populate a List Box in an HTA?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! In my HTA, I would like to query a computer for a list of local user accounts, then dynamically create a list box containing those accounts. How can I do that? -- BN Hey, BN. You know, if you’d ever seen the Scripting Guys in …...
Hey, Scripting Guy! Blog
How Can I Change the Icon for an Existing Shortcut?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I change the icon for an existing shortcut? -- DF Hey, DF. You know, the Scripting Guys (some of them, at least) are old enough to remember a time when you would never even think about changing an icon; after all, back in...
Hey, Scripting Guy! Blog
How Can I Determine the Beginning and Ending Date of the Previous Month?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! Given a specific date, how can I determine the beginning and ending date of the previous month? In other words, given 8/11/2005, I need to get back 7/1/2005 and 7/31/2005. -- PH Hey, PH. You know, this was a tough question for us...
Hey, Scripting Guy! Blog
How Can I Tell if the Screen Saver is Active?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I tell if the screen saver is active and, if so, how long it has been running? -- MS Hey, MS. Interesting question; we don’t think we’ve ever been asked that before. And at first it had us stumped; after all, there aren...
Hey, Scripting Guy! Blog
How Can I Modify a Disk Quota Entry Under Windows 2000?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I modify a disk quota entry under Windows 2000? -- CL Hey, CL. We have some good news and some bad news for you. The bad news is that we’re doing one of those good news-bad news things that nobody ever likes. The good news...
Hey, Scripting Guy! Blog
How Can I List All the Songs in the Windows Media Library?
Posted
over 7 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I get a list of all the songs (and their artists) in the Windows Media Library? -- KF Hey, KF. Three words: practice, practice, practice. You know, the old joke about how do you get to Carnegie Hall and this is kind...
Hey, Scripting Guy! Blog
How Can I Change the Printer Port for a Printer?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I change the printer port for a printer? For example how can I change it from FILE: to LPT1:? -- HK Hey, HK. Despite the Scripting Guys reputation as sophisticated intellectuals - really? We don’t have a reputation as sophisticated...
Hey, Scripting Guy! Blog
How Can I Change File Locations for Microsoft Word?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! In Microsoft Word, how can I change the file locations for User Templates and Workgroup Templates ? -- SB Hey, SB. At least one of the Scripting Guys has always had a lifelong fear that he would write, say, the greatest novel ever...
Hey, Scripting Guy! Blog
How Can I Insert a Symbol into a Word Document?
Posted
over 7 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I insert a Wingding symbol into a Word document? -- RC Hey, RC. In case you’re wondering, there were two reasons why we decided to answer your question. First, we just liked the phrase insert a Wingding symbol . (No, we...
Hey, Scripting Guy! Blog
How Can I Determine the Uptime for a Server?
Posted
over 7 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! How can I determine the uptime for a server? -- LF Hey, LF. This is an easy one. After all, we’re assuming you’re talking about a Windows server, and Windows servers never go down, right? Therefore, the uptime must be forever. Problem...
Hey, Scripting Guy! Blog
How Can I Search for Two Items in a Text File?
Posted
over 7 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! You’ve shown us how to search a text file for a single word or phrase, but how can I search a text file for two phrases? I need to know if a file contains either Windows 2000 or Windows XP . -- JR Hey, JR. You know, it’s hard enough...
Page 1 of 1 (23 items)