Sign in
TechNet Blogs
Technet Blog Images
More ...
Browse by Tags
TechNet Blogs
>
Hey, Scripting Guy! Blog
>
All Tags
>
dates and times
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
Subscribe
Comments
Contact
Menu
Blog Home
Atom
Translate this page
Powered by
Microsoft® Translator
Twitter Feed
Recent Posts
Variable Substitution in a PowerShell Script Block
Posted
7 hours ago
by
The Scripting Guys
0
Comments
PowerTip: Create a PowerShell Script Block on the Fly
Posted
19 hours ago
by
The Scripting Guys
0
Comments
PowerShell Hash Tables that Contain Keywords...hmm...
Posted
1 day ago
by
The Scripting Guys
2
Comments
PowerTip: Create an XML Representation of a Registry Key with PowerShell
Posted
1 day ago
by
The Scripting Guys
1
Comments
Tags
2011 Scripting Games
associators of
basic information
Beginner
desktop management
displaying output
Event 10
Event 7
files
folders
getting started
guest blogger
hardware
operating system
Quick-Hits Friday
running
Scripting Guy!
scripting techniques
storage
string manipulation
text files
VBScript
Weekend Scripter
Windows PowerShell
WMI
Related Resources
Script Center Home
Scripting Library
Learn to Script
Script Repository
Scripting Forum
2012 Scripting Games
Archives
Archives
May 2013
(46)
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
▲
Tagged Content List
Blog Post:
2012 Scripting Games Beginner Event 6: Compute Uptime for Local Computer
The Scripting Guys
Summary : In Beginner Event 6, you are required to compute the uptime for the local computer. About this event Division Beginner Date of Event 4/9/2012 12:01 AM Due Date 4/16/2012 12:01 AM Event scenario You...
on
9 Apr 2012
Blog Post:
Beware the Ides of March—But by Who's PowerShell Calendar?
The Scripting Guys
Summary : Learn about using Windows PowerShell and specifying different calendar types to use with dates. Microsoft Scripting Guy, Ed Wilson, is here. Today is day four of my PowerShell Essentials for the Busy Admin series of webcasts. The series has been a lot of fun, and the feedback so far has...
on
15 Mar 2012
Blog Post:
Use PowerShell to Save Time with Win32_TimeZone and DST Time Changes
The Scripting Guys
Summary : Write a Windows PowerShell function to determine the status of time changes to daylight savings time. Microsoft Scripting Guy, Ed Wilson, is here. At the Windows PowerShell User Group meeting in Charlotte, North Carolina, Brian Wilhite talked about a few of his scripts during the script...
on
18 Feb 2012
Blog Post:
Use Culture Information in PowerShell to Format Dates
The Scripting Guys
Summary : Learn how to use culture information in Windows PowerShell to format dates. Hey, Scripting Guy! I enjoyed your article yesterday about manually changing the way a date is displayed using string techniques. But the problem is that is a bit complicated, and is even potentially error prone...
on
25 Aug 2011
Blog Post:
Use PowerShell to Convert Date Formats Easily
The Scripting Guys
Summary : Microsoft Scripting Guy Ed Wilson discusses four different techniques for using Windows PowerShell to convert date formats. Hey, Scripting Guy! I have a problem. Although I am sure you hear this a lot, this problem is causing me a major problem at work. Here is the deal. We are a large...
on
24 Aug 2011
Blog Post:
Use PowerShell to Get the Number of the Week of the Year
ScriptingGuy1
Summary : Learn how to use Windows PowerShell to easily get the number of the week of the year. Microsoft Scripting Guy, Ed Wilson, is here. It seems that at times things appear to be too hard. At other times, things that I figure might be too hard, end up being super simple. I guess this is why I...
on
8 Jul 2011
Blog Post:
Expert Solution for 2011 Scripting Games Beginner Event 10: Use Easy PowerShell Code to Time Script Operations
ScriptingGuy1
Summary : Microsoft PowerShell MVP Marco Shaw solves beginner event 10 in the 2011 Scripting Games and shows how to time script operations Microsoft Scripting Guy, Ed Wilson, here. Marco Shaw is the author of the expert commentary for Beginner Event 10 . Marco is a consultant with CGI in...
on
29 Apr 2011
Blog Post:
Expert Solution for 2011 Scripting Games Beginner Event 7: Use PowerShell to Get the Number of Days Between Dates
ScriptingGuy1
Summary : Microsoft PFE, Michael Frommhold, uses Windows PowerShell to get the number of days between two dates as he solves Beginner Event 7 in one line of code. Microsoft Scripting Guy, Ed Wilson, here. Michael Frommhold is the author for the expert commentary on Beginner Event 7. Michael has been...
on
26 Apr 2011
Blog Post:
The 2011 Scripting Games Beginner Event 9: Use PowerShell to Create a File Name Based on a Date
ScriptingGuy1
Summary : Beginner Event 9 in 2011 Scripting Games uses Windows PowerShell to create a file with a name that is based on a date. About this event Division Beginner Date of Event 4/14/2011 12:01 AM Due Date 4/21/2011 12:01 AM ...
on
14 Apr 2011
Blog Post:
The 2011 Scripting Games Beginner Event 7: Easily Determine Days Between Dates by Using PowerShell
ScriptingGuy1
Summary : Beginner Event 7 uses Windows PowerShell to determine the number of days between dates. About this event Division Beginner Date of Event 4/12/2011 12:01 AM Due Date 4/19/2011 12:01 AM Event scenario ...
on
12 Apr 2011
Blog Post:
Scripting Wife Uses PowerShell to Get Days Until NCAA Final Four
ScriptingGuy1
Summary : The Scripting Wife learns how to use Windows PowerShell to determine the number of days until the NCAA championship game. Microsoft Scripting Guy, Ed Wilson, here. It has been an extremely exciting week. I finished writing all of the Windows PowerShell 2011 Scripting Games events, and I...
on
19 Mar 2011
Blog Post:
Weekend Scripter: Tea Time!
ScriptingGuy1
Microsoft Scripting Guy Ed Wilson here. It has been a great week with some excellent guest bloggers. It is not that I took the week off; rather, I have spent the week working on some special projects I wanted to complete. The great thing about working with guest bloggers is that I get to tap into world...
on
2 Oct 2010
Blog Post:
Manipulating Dates Returned by Windows Management Instrumentation (WMI)
ScriptingGuy1
Hey, Scripting Guy! I need to understand how to work with dates that I receive from Windows Management Instrumentation ( WMI ). I remember in VBScript I had to use a function I got from the Scripting Guys that did string manipulation to convert the WMI date to a “normal” date. I guess that...
on
5 Aug 2010
Blog Post:
Manipulating Date Ranges with Windows PowerShell
ScriptingGuy1
Hey, Scripting Guy! I need to be able to add and subtract dates so that I can use the results in custom queries for various Windows event logs using Windows PowerShell . Is doing this type of date manipulation easy or hard to do with Windows PowerShell? If it is not too difficult to do, could you whip...
on
4 Aug 2010
Blog Post:
How to Express Dates in Different Fashions with Windows PowerShell
ScriptingGuy1
Hey, Scripting Guy! I need to use Windows PowerShell to be able to parse dates. We have dates that are displayed in different ways. Some are day/month/year, others are month/day/year, and still others are year/month/day. I need to be able to express these different date configurations with a minimal...
on
3 Aug 2010
Blog Post:
Using Windows PowerShell to Work with Dates
ScriptingGuy1
Hey, Scripting Guy! I need to be able to use Windows PowerShell to work with dates. Dates have always been a difficult thing to work with, and I just dread scripting anything that has to do with dates. It seemed that VBScript had a dozen functions that were used to work with dates and times. Is there...
on
2 Aug 2010
Blog Post:
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (6/25/10)
ScriptingGuy1
In this post : What in the World Is Wrong with This Windows PowerShell Script I Wrote? How Can I Make a Script Run When a User Logs On? What in the World Is Wrong with This Windows PowerShell Script I Wrote? Hey, Scripting Guy! On trying to parse a datetime...
on
25 Jun 2010
Blog Post:
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (3/12/10)
ScriptingGuy1
In this post : How Can I Format Dates in Windows PowerShell? A Get-ProgID Function from James Brundage? How Can I Run This Script on Remote Computers? Using Command-Line Arguments with Batch Files Can You Help Me Improve My Script? How Can I Format Dates in Windows PowerShell...
on
12 Mar 2010
Blog Post:
Dandelions, VCR Clocks, and Last Logon Times: These Are a Few of Our Least Favorite Things
ScriptingGuy1
(Note: This blog post appeared originally as an article on the old Microsoft Script Center. It was originally published in December 2005. We are resurrecting it here by popular demand.) Sometimes the things that should be so easy turn out to be incredibly difficult. For example, have you ever tried...
on
27 Jan 2010
Blog Post:
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (11/27/09)
ScriptingGuy1
In this post : Please Clarify This Script You Published Previously How Can I Report a Bug I Found in the Windows PowerShell ISE? How Can I Close an Open Folder on a Network Drive? Can I Automate the Scheduling of Offline File Tasks? Please Clarify This Script You Published Previously...
on
27 Nov 2009
Blog Post:
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (10/16/09)
ScriptingGuy1
In this post : Has the WMI Problem with Dates and Daylight Saving Time Been Resolved? How Can I Change the Color of Error Messages in the Windows PowerShell Console? How Can I Read a Text File and Update 2,000 User Accounts? Can I Use a WildCard Character for File Names with the FileSystemObject...
on
16 Oct 2009
Blog Post:
Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (02/06/09)
ScriptingGuy1
How Can I Pipe Over a Variable for Use in a File Name? Hey, Scripting Guy! Sorry to bother you but I have been looking for an answer to this for a few hours now. I’ve also been experimenting but have had no luck figuring it out yet. How do you get a variable to pipe over to use in a file name?...
on
7 Feb 2009
Blog Post:
Hey, Scripting Guy! How Can I Create File Names Based on Their Time Stamp?
ScriptingGuy1
Hey, Scripting Guy! How can I create a file name from the date? I have this application that creates a log file, and every hour I would like to save that log file as a file whose name is generated from the current time stamp. Can this be done? - RH Hi RH, Ever since I read your e-mail message,...
on
31 Dec 2008
Blog Post:
Hey, Scripting Guy! Australian Dispatch #1: How Does a Scripting Guy Pack for a Trip?
ScriptingGuy1
Three o'clock in the morning is early for anyone, even a scripting guy. Yet there was this persistent annoying ringing sound that kept trying to interrupt my short-lived sleep. At last I was able to put a name to the intrusion. Alarm clock. It is time to get up. Today I begin the process of going to...
on
22 Sep 2008
Blog Post:
Hey, Scripting Guy! When Will We Land?
ScriptingGuy1
Hey, Scripting Guy! I am writing to you offline because I am stuck in an airplane somewhere over the Atlantic Ocean. It seems like I have been flying for two weeks, and I am really getting tired of looking at the bald spot on the head in front of me. Do you know when we will land? -- DS Hi DS, ...
on
12 Aug 2008
Page 1 of 3 (56 items)
1
2
3