Category: PowerShell folder creation – New-Item

Using PowerShell create a folder if not exists – in 2 proven steps

Using PowerShell - Create a folder if not exists

 148,164 total views

 148,164 total views Using PowerShell create a folder if not exists – in this post, I will show how to create a folder or directory if not exist in the given directory or path using PowerShell code or script. The below PowerShell code will create a folder with the name “LogFiles” in the .ps1 file root

Continue reading