Public/Start-AdminISE.ps1

Function Start-AdminISE {
    [CmdletBinding()]
    param (
        [Parameter()]
        [pscredential]
        $AdminCredential
    )
    begin {
        IF (!($AdminCredential)) {
            [pscredential]$AdminCredential = Get-Credential -UserName "wfm\" -Message "Provide Admin Credentials for Lauching PowerShell ISE"
        }
        Start-Process powershell -Credential $AdminCredential -workingdirectory $PSHOME -ArgumentList "powershell_ise.exe"
    }
    process {}
    end {}
}