Public/Start-ADUC.ps1

Function Start-ADUC {
    <#
.SYNOPSIS
    This Function Launches ADUC locally on your host with the provided account credentials
.NOTES
    Name: Start-ADUC
    Author: Luke Hagar
    Version: 1.0
    DateCreated: 5/12/2021
.EXAMPLE
    Start-ADUC
 
.EXAMPLE
    Start-ADUC -AdminCredential $AdminCredential
 
#>

    begin {
        $AdminCredential = Get-PASAdminCredential
        Start-Process powershell -Credential $AdminCredential -workingdirectory $PSHOME -ArgumentList "/c dsa.msc"
    }
    process {}
    end {}
}