Public/TestFunctionality/Test-ForestConnectivity.ps1
|
function Test-ForestConnectivity { Try { $Test = Get-ADForest return $true } catch { #Write-Warning 'No connectivity to forest/domain.' return $False } } |
|
function Test-ForestConnectivity { Try { $Test = Get-ADForest return $true } catch { #Write-Warning 'No connectivity to forest/domain.' return $False } } |