Snippet Name: directory_not_exists_create
Tags: PowerShell
Created Date: 2020-06-09 15:29:04
Last Modified Date: 2020-06-09 15:29:04
— directory_not_exists_create
Dependencies:
DBA Notes:
Sample Output:
if(![System.IO.Directory]::Exists($BasePath)){[System.IO.Directory]::CreateDirectory($BasePath)}