Create-FolderIfNotExist.ps1
function Create-FolderIfNotExist { [CmdletBinding()] param ( [String]$MyFolder ) if ( -Not (Test-Path $MyFolder)) { New-Item $MyFolder -type directory } } |
function Create-FolderIfNotExist { [CmdletBinding()] param ( [String]$MyFolder ) if ( -Not (Test-Path $MyFolder)) { New-Item $MyFolder -type directory } } |