Functions/Open-ADDomainsAndTrusts.ps1
|
function Open-ADDomainsAndTrusts { <# .Notes AUTHOR: Skyler Hart CREATED: 08/19/2017 22:27:24 LASTEDIT: 2022-09-04 12:04:10 KEYWORDS: .LINK https://wanderingstag.github.io #> [CmdletBinding()] [Alias('trusts')] param() try { $ErrorActionPreference = "Stop" domain.msc } catch { Write-Output "Active Directory snapins are not installed/enabled." } } |