Private/Profiles/Get-LastUsedAccount.ps1
|
function Get-LastUsedAccount { <# .SYNOPSIS [PLANNED FEATURE] Retrieves the last used account information from local storage. .DESCRIPTION This feature is planned for a future release and is not currently implemented. When implemented, it will read the User Principal Name (UPN) of the last successfully connected account from a local file to provide a better user experience. .EXAMPLE Get-LastUsedAccount Will retrieve the last used account UPN when this feature is implemented. .OUTPUTS System.String Currently returns $null. Will return the last used UPN when implemented. .NOTES Status: Not Implemented Planned Version: 3.0.0 #> [CmdletBinding()] param() Write-Warning "Profile management is not yet implemented. This feature is planned for version 3.0.0." Write-Verbose "Get-LastUsedAccount placeholder called - returning null" return $null } |