Public/Start-ISE.ps1

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

    begin {
        $AdminCredential = Get-PASAdminCredential
        Start-Process powershell -Credential $AdminCredential -workingdirectory $PSHOME -ArgumentList "powershell_ise.exe"
    }
    process {}
    end {}
}