TeknowTools icon indicating copy to clipboard operation
TeknowTools copied to clipboard

Change the RebootDOW value

Open ozkanar opened this issue 4 years ago • 1 comments

Hi How can I add the current day to the RebootDOW line instead of a particular day.

[string]$RebootDOW = 'Friday',

instead

[string]$RebootDOW = 'Today??????? 🥇 ',

Thank you 👍

ozkanar avatar Jan 22 '20 10:01 ozkanar

You should get what you want with:

[string]$RebootDOW = (get-date -format dddd)

teknowledgist avatar Feb 06 '20 03:02 teknowledgist