You may start with learning the basics of Powershell first. In this process you will learn in the first lessons how to do what you're asking.
You might need the following cmdlets for this task:
New-Item,
Get-Date. I'd recommend to read the complete help including the examples to learn how to use these cmdlets. The help has almost all you need.
Live long and prosper!
(79,108,97,102|%{[char]$_})-join''