How to create a folder/directory with the folder/directory’s name as today’s date in Windows Powershell?

ni -it d (get-date).toString('dd.M.yy')

The above in it’s full form is…

new-item -itemtype directory (get-date).toString('dd.M.yy')

Leave a Reply