
#Get-MaintenanceWindow -Credential $Secret:snow_vmcred

Param (
    $DestinationServer
)

$Scriptblock = {
   $config="C:\scripts\ITD.Infra-Certificate-External.Client\Data\IISBindingAutoConfig.config"
  Test-Path $config 
}

ForEach ($ComputerName in $DestinationServer ) {
  $result=Invoke-Command -ComputerName $ComputerName -Credential $Secret:ndgov_svcitdpsuwin -ScriptBlock $Scriptblock
  $computername + ":" + $result 
}

