Category: PowerShell folder creation – New-Item

Using PowerShell – Create a folder if not exists

 4,633 total views

 4,633 total views   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