Category: PowerShell folder creation – New-Item

Using PowerShell – Create a folder if not exists

Using PowerShell - Create a folder if not exists

 46,630 total views,  344 views today

 46,630 total views,  344 views today In this post, I will show how to create a folder or directory if not exists 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 directory if not exists. Create a folder

Continue reading