Tag: Create directory if it does not exist

Using PowerShell – Create a folder if not exists

 29,463 total views,  266 views today

 29,463 total views,  266 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