Get-Date Question This topic contains 6 replies, has 3 voices, and was last updated by Alex 7 months ago. Author Posts May 9, 2016 at 11:21 pm #38819 Suresh krishnanParticipant Dear Community I need your advise . If i run get-date i get the below format. Tuesday, 10 May 2016 3:16:22 PM Now i want the same format to be in produced in my monitoring report .But the format is changing . Below is the line from my script. "Report Generated $(get-date)" Report Generated 05/10/2016 15:16:48 May 10, 2016 at 1:34 am #38822 AlexParticipant Get-date in quotes changes this. try doing $date = get-date -format F "Report Generated $date" May 10, 2016 at 1:37 am #38823 Christian SandfeldParticipant Use the -Format parameter of Get-Date to specify the format you want: https://technet.microsoft.com/en-us/library/ee692801.aspx In your case use F to get the full date format: "Report Generated $(Get-Date -Format F)" May 10, 2016 at 1:38 am #38824 Christian SandfeldParticipant Ah ... Alex beat me to it 🙂 May 10, 2016 at 2:34 am #38828 Suresh krishnanParticipant Works like a charm . You guys are awsome. Thank you Alex and Chris 🙂 Appreciate your help and time. . May 10, 2016 at 2:52 am #38830 Christian SandfeldParticipant Happy to help Suresh 🙂 May 10, 2016 at 3:08 am #38832 AlexParticipant No problem, any time 🙂 Author Posts You must be logged in to reply to this topic.