Quantcast
Channel: SQLServerCentral » Programming » Powershell » Latest topics
Viewing all articles
Browse latest Browse all 467

The corresponding line is 'new-item -ItemType Directory -Path $path -Force

$
0
0
Hello,

i thought i had a simple powershell script, its just suppose to check if folder exists, if it doesnt, create it using the name as a date.
however i get the following error:

A job step received an error at line 9 in a PowerShel

Viewing all articles
Browse latest Browse all 467

Trending Articles