4

I am working with the PowerShell command. The following command gives parameter format error while executing to get timezone on specific UTC.

C:\Windows\system32\tzutil /l | find /I "utc-06"

FIND: Parameter format not correct

1

1 Answer 1

10

Find expects literal doublequotes. You can also use findstr or select-string instead.

tzutil /l | find /i '"utc-06"'
tzutil /l | findstr /i utc-06
tzutil /l | select-string utc-06
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.