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
(53)
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 Compare Two String Values Regardless of Letter Case?
Posted
over 8 years ago
by
ScriptingGuy1
7
Comments
Hey, Scripting Guy! I have a script that compares two email addresses and tells me whether or not they are the same. Sometimes the email addresses are the same, but the case is different: for example, one address might be example@abc.com and the other...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I Retrieve the Value of an Active Directory Attribute that has a Hyphen in Its Name?
Posted
over 8 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! We have a custom application that adds some attributes to the Active Directory schema. These attributes have hyphens in their names, and I can’t figure out how to retrieve the value of those attributes; any time I try to connect...
Hey, Scripting Guy! Blog
How Can I Determine if a File Exists and, if It Does, Exit the Script?
Posted
over 8 years ago
by
ScriptingGuy1
2
Comments
Hey, Scripting Guy! How can I check to see if a particular file exists and, if it does, exit the script? -- TO Hey, TO. There are at least two ways to check for the existence of a file (that’s the real key here; exiting the script is easy). One of...
Hey, Scripting Guy! Blog
How Can I Show Users a Dialog Box That Only Lets Them Select Folders?
Posted
over 8 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! In previous columns you’ve shown us how to present users with a dialog box that enables them to select files. Is there any way to show them a dialog box that only lets users select folders? -- LP Hey, LP. You know, you’ve come to...
Hey, Scripting Guy! Blog
How Can I Delete Data from a Spreadsheet Yet Keep All the Formatting?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I delete data from a spreadsheet yet keep all the formatting? -- TB Hey, TB. From your email it sounds like you have a script that periodically replaces data in a spreadsheet with new, up-to-date values. The spreadsheet...
Hey, Scripting Guy! Blog
How Can I Determine Which Domain Controller Authenticated a User?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! In my logon script how can I determine the name of the domain controller that authenticated the user? -- CK Hey, CK. You know, one of the unwritten rules for being a Scripting Guy is that you should never do anything hard more than...
Hey, Scripting Guy! Blog
How Can I Associate a Network Connection with an IP Address?
Posted
over 8 years ago
by
ScriptingGuy1
4
Comments
Hey, Scripting Guy! How can I determine the local area connection that’s associated with a particular IP address? -- SH Hey, SH. Believe it or not, this is a fairly complicated procedure, and for two reasons. To begin with, we have to use two separate...
Hey, Scripting Guy! Blog
How Can I Change the Size of the Temporary Internet Files Folder?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I change the amount of disk space set aside for Internet Explorer’s temporary files folder? -- AD Hey, AD. The first draft of this column we were able to bang out in no time; after all, it consisted entirely of this: ...
Hey, Scripting Guy! Blog
How Can I Determine the Number of Items Generated by the Split Function?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! I know I can use the Split function to split a line into individual items. But how can I tell how many “splits” I ended up with; that is, how many individual items did I generate from a single line? -- SA Hey, SA. For those of you...
Hey, Scripting Guy! Blog
How Can I Clear a Text Box in an HTA?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I clear a text box in an HTA? -- CB Hey, CB. You know, it’s been awhile since we’ve answered a question about HTAs (HTML Applications). And we could probably get away with that except for the fact that a month or so ago...
Hey, Scripting Guy! Blog
How Can I Hide a Specific Toolbar in Microsoft Word?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I hide a specific toolbar in Microsoft Word? -- AG Hey, AG. Now this question brings back memories. When our editor joined the team one of her first actions was to make us redo a whole bunch of screenshots we had made for...
Hey, Scripting Guy! Blog
How Can I Tally Items in a Text File?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I tally items in a text file? -- JA Hey, JA. If we understand you correctly you have a text file that consists of a number of lines, each line representing a particular item. Just to keep things simple, let’s say your text...
Hey, Scripting Guy! Blog
How Can I List All the User Profiles on a Computer?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I list all the user profiles on a computer? -- GN Hey, GN. You want to know a secret? We hate questions about user profiles. It’s not that we have anything against user profiles. The problem is that user profiles represent...
Hey, Scripting Guy! Blog
Hey, Scripting Guy! How Can I List All the User Profiles on a Computer?
Posted
over 8 years ago
by
ScriptingGuy1
7
Comments
Hey, Scripting Guy! How can I list all the user profiles on a computer? -- GN Hey, GN. You want to know a secret? We hate questions about user profiles. It’s not that we have anything against user profiles. The problem is that user profiles represent...
Hey, Scripting Guy! Blog
How Can I Display More Than 1,023 Characters in a Custom Message Box?
Posted
over 8 years ago
by
ScriptingGuy1
1
Comments
Hey, Scripting Guy! I need to create a custom alert box that has over 1,000 characters in it. The message box used by Wscript.Echo can hold all the characters, but I can’t change the message box title. I can change the title of a message box used by the...
Hey, Scripting Guy! Blog
How Can I Retrieve the Path to the %windir% Folder on a Computer?
Posted
over 8 years ago
by
ScriptingGuy1
0
Comments
Hey, Scripting Guy! How can I retrieve the path to the %windir% folder on a computer? -- DS Hey, DS. Interesting that you should ask this question. This same question happened to be asked on an internal Microsoft mailing list just the other day, and...
Hey, Scripting Guy! Blog
How Can I Open an Excel Workbook and Retrieve the Names of All the Worksheets?
Posted
over 8 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 8 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 8 years ago
by
ScriptingGuy1
8
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 8 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 8 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 8 years ago
by
ScriptingGuy1
4
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 8 years ago
by
ScriptingGuy1
6
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 8 years ago
by
ScriptingGuy1
14
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 8 years ago
by
ScriptingGuy1
7
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...
Page 116 of 124 (3,096 items)
«
114
115
116
117
118
»