Showing posts with label powershell create file and write to it. Show all posts
Showing posts with label powershell create file and write to it. Show all posts

Monday, 4 May 2015

powershell create file and write to it

Param
(
[string]$fileName = $(get-date -f yyyy-MM-dd-hh-mm-ss)
)

write-host $fileName".txt"