Category: PowerShell folder creation – New-Item

Using PowerShell – Create a folder if not exists

 27,079 total views,  86 views today

 27,079 total views,  86 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