Quantcast
Channel: Microsoft Techies
Viewing all articles
Browse latest Browse all 430

powershell create file and write to it

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

write-host $fileName".txt"

Viewing all articles
Browse latest Browse all 430

Trending Articles