Author Posts

November 8, 2016 at 10:47 pm

Hello,

How would I get local time a remote computer? I know about net time

net time \\MXL6270PJF

It says:

Current time at \\MXL6270PJF is 11/8/2016 5:41:50 PM

Local time (GMT-07:00) at \\MXL6270PJF is 11/8/2016 3:41:50 PM

The command completed successfully.

How would I get just the local time, 11/8/2016 3:41:50 PM

November 9, 2016 at 9:18 pm

invoke-command -ComputerName DC01 -ScriptBlock {get-date}