Sunday, August 11, 2013

PS Quick Tips: Format datetime with milliseconds

(Get-Process)[0].StartTime.ToString("yyyy/MM/dd HH:mm:ss.fffff")

This displays when the process at index zero was started with milliseconds information

No comments:

Test Code

netsh advfirewall firewall add rule name = "RPC Endpoint Mapper" dir = in action = allow protocol = TCP localport = 135 ...