Private/Test-ForestConnectivity.ps1
|
function Test-ForestConnectivity { Try { $Test = Get-ADForest } catch { Write-Warning 'No connectivity to forest/domain.' Exit } } |
|
function Test-ForestConnectivity { Try { $Test = Get-ADForest } catch { Write-Warning 'No connectivity to forest/domain.' Exit } } |