Forum Discussion
CS_HelpDesk
2 years agoGoTo Contributor
To create a folder at a given destination.
---
$name = $null
If (-Not (Test-Path -Path $name -PathType Container))
{
New-Item -Path $name -ItemType Directory
}
To create a folder at a given destination.
---
$name = $null
If (-Not (Test-Path -Path $name -PathType Container))
{
New-Item -Path $name -ItemType Directory
}