Geeks With Blogs

News

qrcode

Lance Robinson

Create Your Badge

Lance Robinson is a software engineer in Durham, Chapel Hill, Raleigh, and surrounding areas. More about Lance.

 Subscribe


Lance's TextBox » About Me » My Resume »Twitter March 2009 Entries
I’ll be a guest on the PowerScripting Podcast
I’ll be a guest on the extremely informative PowerScripting Podcast this Thursday evening (4/2/09). I’ll talk about some of the PowerShell-related products I am working on at /n software like NetCmdlets, RSSBus, PowerShell Server, as well as join in on some general PowerShell geek fun. Also I’ll give a sneak peak of some new freebie PowerShell toys coming out for PowerShell enthusiasts. Join in on the live UStream at 9pm EST Thursday and say “hi” – or download the podcast later from the PowerScripting ......

Posted On Monday, March 30, 2009 12:28 PM

PowerShell: sync system time with Internet time server
NetCmdlet’s get-time cmdlet uses the Internet TIME protocol to query Internet time server’s for the current time. It can also be used to sync the time on the local system with that of the time server. The following PowerShell function gets the time on a time server, optionally syncs the local system to that time, and outputs both times to the console: 1: function sync-time( 2: [string] $server = "clock.psu.edu", 3: [int] $port = 37, 4: [switch] $set = $false) 5: { 6: $servertime = get-time -server ......

Posted On Monday, March 30, 2009 10:13 AM

Copyright © Lance Robinson | Powered by: GeeksWithBlogs.net | Join free