Showing archive results for January 2015

Jan 19, 2015
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Show Time

Doctor Scripto

Summary: Use Windows PowerShell to show the current time.  How can I use Windows PowerShell to easily display only the current time?  Use the Get-Date cmdlet and choose the Time display hint: Get-Date -DisplayHint Time

Scripting Guy!Windows PowerShellscripting techniques
Jan 19, 2015
Post comments count0
Post likes count0

Working with Dates in PowerShell

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about the fundamentals of working with dates in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. For as long as I can remember, I have pretty much always hated working with dates and times. Back on my Osborne One, it was no fun. The Atari did not make it any better; neither did my f...

Scripting Guy!Windows PowerShellscripting techniques
Jan 18, 2015
Post comments count0
Post likes count0

PowerTip: Test Connection to Remote Server

Doctor Scripto

Summary: Use Windows PowerShell to test the connection to a remote server.  How can I test the connection in my server to see if I can run a remote Windows PowerShell command?  Use the Test-WsMan cmdlet, for example: Test-WsMan –computername s1

Scripting Guy!Windows PowerShellPowerTip
Jan 18, 2015
Post comments count0
Post likes count0

Weekend Scripter: Use PowerShell to Remotely Create Scheduled Task and Folder

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to remotely create a scheduled task and folder. Microsoft Scripting Guy, Ed Wilson, is here. On Friday in Use PowerShell to Create Scheduled Task in New Folder, I created a pretty long Windows PowerShell script that creates a folder for scheduled tasks, and creates, e...

Scripting Guy!Windows PowerShellscripting techniques
Jan 17, 2015
Post comments count0
Post likes count0

PowerTip: Create XML Representation of Scheduled Task

Doctor Scripto

Summary: Learn how to export a scheduled task to XML by using Windows PowerShell.  How can I use Windows PowerShell to create an XML representation of a scheduled task?  Use the Get-ScheduledTask function and pipe the results to the Export-ScheduledTask function,            for example: Ge...

Scripting Guy!Windows PowerShellPowerTip