Created
February 24, 2017 13:21
-
-
Save alst74/7ea553d582c1d4003929cfb564e1bd83 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If (!(Test-Path $CLIENT_ROOT\archive)) { | |
write-host "Creating archive folder $CLIENT_ROOT\archive" | |
New-Item -Path $CLIENT_ROOT\archive -ItemType Directory | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Powershell, test for a folder