param ( [Parameter(Mandatory)] [ValidateNotNullOrEmpty()] [string[]]$ServerName )
foreach ($s in $ServerName) {
$scriptBlock = {
if (Test-Connection -ComputerName $args[0] -Quiet -Count 1) {
$null = New-Item -Path "\$(
param ( [Parameter(Mandatory)] [ValidateNotNullOrEmpty()] [string[]]$ServerName )
foreach ($s in $ServerName) {
$scriptBlock = {
if (Test-Connection -ComputerName $args[0] -Quiet -Count 1) {
$null = New-Item -Path "\$(