Sign in
TechNet Blogs
Technet Blog Images
More ...
Blog - Title
October, 2005
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
October, 2005
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
(51)
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 Start an Application From an HTA?
Posted
over 8 years ago
by
ScriptingGuy1
12
Comments
Hey, Scripting Guy! Is there an alternative to the Wscript.Shell command for HTAs? I need to run an application and specify the file to open. -- DL Hey, DL. Yes, we do know of an alternative to the Wscript.Shell command that will work in HTAs, and...
Hey, Scripting Guy! Blog
How Can I Center an HTA on the Screen?
Posted
over 8 years ago
by
ScriptingGuy1
9
Comments
Hey, Scripting Guy! How can I center an HTA on the screen? -- BH Hey, BH. Well, we have an answer for you, although it’s not perfect: we can resize (if need be) and center your window, but there will be a momentary flash on the screen when all this...
Hey, Scripting Guy! Blog
How Can I Determine Which Drives are Mapped to Network Shares?
Posted
over 8 years ago
by
ScriptingGuy1
9
Comments
Hey, Scripting Guy! How can I determine which drives on a computer are mapped to network shares? -- CP Hey, CP. OK, you better sit down, because what we’re about to say will shock you: if you want to determine which drives on a computer are mapped...
Hey, Scripting Guy! Blog
How Can I Determine Which Version of Access was Used to Create a Database?
Posted
over 8 years ago
by
ScriptingGuy1
7
Comments
Hey, Scripting Guy! How can I determine which version of Access was used to create an Access database? -- TW Hey, TW. You know, at least one of the Scripting Guys is a bit old-fashioned, to say the least. He doesn’t own a cell phone, and he won’t use...
Hey, Scripting Guy! Blog
How Can I Read a Text File on a Remote Computer?
Posted
over 8 years ago
by
ScriptingGuy1
6
Comments
Hey, Scripting Guy! How can I read a text file on a remote computer? -- BM Hey, BM. We have a confession to make: we’re using you and your question for our own nefarious purposes. Earlier this week we answered a question about reading the last line...
Hey, Scripting Guy! Blog
How Can I Get a List of All the Users in an OU and Its Sub-OUs?
Posted
over 8 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! How can I get a list of all the users in an OU and its sub-OUs? -- MN Hey, MN. Thanks to either faulty wiring or a neighbor’s fireworks (the investigation was inconclusive), one of the Scripting Guys had the delightful experience...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Configure the Hide From Exchange Address Lists Property for All the Contacts in a Domain?
Posted
over 8 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I configure the Hide From Exchange Address Lists property for all the contacts in a domain? -- MM Hey, MM. You know what the say: you can run, but you can’t hide (especially from Microsoft Exchange!). But what they forgot...
Hey, Scripting Guy! Blog
How Can I Verify that None of My Local User Accounts have a Blank Password?
Posted
over 8 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! How can I verify that none of my local user accounts have a blank password? -- TB Hey, TB. To begin with, we should point out that at least some of you won’t need to make this check on computers within your domain; that’s because...
Hey, Scripting Guy! Blog
How Can I Get a Script to Close an HTML Page?
Posted
over 8 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! In one of my scripts I display an HTML page with information that I want my users to read. When they’re finished reading that page, they should be able to press a key and have the Web page disappear. However, instead of the Web page...
Hey, Scripting Guy! Blog
How Can I Add a User to a Group if That User Belongs to Two Other Groups?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I check to see if a user is in both group A and group B and, if so, add that user to Group C? -- DH Hey, DH. Good heavens, how are we supposed to know that ?!? Sheesh. Sorry; we just always wanted to say that. Now that...
Hey, Scripting Guy! Blog
How Can I Delete a Backup File Created on the Previous Day?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! Each day we have a program that creates a file with a name similar to this: backup_20050607.bak. How can I delete the previous day’s file? -- JC Hey, JC. Hmmm, a script that goes out and automatically deletes whatever happened the...
Hey, Scripting Guy! Blog
How Can I Verify That a Folder Has Files in It and, If So, Delete Those Files?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I verify that a certain folder (C:\TestLog) has files in it and, if so, delete all those files? -- DC Hey, DC. Before we begin we should point out that - when using WMI - it doesn’t matter whether or not a folder has any...
Hey, Scripting Guy! Blog
How Can I List All the Files in a Folder, Ordered By Creation Date?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I list all the files in a folder, ordered by creation date? -- CL Hey, CL. You know, if we were ambitious and hard-working, we’d sit down and write you a script that uses WMI to return all the files in a folder. That script...
Hey, Scripting Guy! Blog
How Can I Remove a Group from the Local Administrators Group?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I remove a group from the local Administrators group? -- SB Hey, SB. One of the Scripting Guys has very vague memories of an old TV show called Branded , in which the hero (played by Chuck Connors) was accused of cowardice...
Hey, Scripting Guy! Blog
How Can I Build an Array from a Column of Data in Excel?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I build an array from a column of data in Excel? -- AH Hey, AH. Obviously none of the Scripting Guys has any need to go on a diet (perish the thought!), but we do know that one time-honored dieting strategy is the theory...
Hey, Scripting Guy! Blog
How Can I Set Word’s Default File Location to be the User’s Home Directory?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I set Word’s default file location to be the user’s home directory? -- LD Hey, LD. Ah, memories. There was a period of time when it seemed like every question we answered in this column was a two-part question: we’d always...
Hey, Scripting Guy! Blog
How Can I Determine Which Users are Using the Most Disk Space on a Drive?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
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...
Hey, Scripting Guy! Blog
How Can I Determine an Attribute’s Data Type and Whether It is Single- or Multi-Valued?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I query the Active Directory schema for an attribute’s data type and whether it is single-valued or multi-valued? -- MS Hey, MS. You know, this turned out to be one of those questions that drive us crazy: after all, it seemed...
Hey, Scripting Guy! Blog
How Can I List All the Users in an NT 4.0 Domain?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I list all the users in an NT 4.0 domain, along with their description and logon script path? -- HH Hey, HH. Ah, yes NT 4.0. Windows NT 4.0 reminds us of dandelions: it doesn’t matter whether you like dandelions or not,...
Hey, Scripting Guy! Blog
How Can I Add the Last Lines from a Group of Text Files to a Word Document?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I take the last line in a group of text files and paste that information into a Word document? -- JV Hey, JV. You know, one thing we try to do in this column is focus on practical system administration tasks. We’ll deviate...
Hey, Scripting Guy! Blog
How Can I Determine if an OU is Blocking Group Policy Inheritance?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I determine if an OU has the Group Policy property Block Policy Inheritance box checked? -- PP Hey, PP. You know, sometimes you wait all your life for a situation to arise, and then it never arises. For example, one of the...
Page 1 of 1 (21 items)