PowerShell: Create Folder if not exists #PowerShell
if(!(Test-Path -path $LogPath)){New-Item $LogPath -Type Directory}