Forum Discussion

toelwinmyint's avatar
toelwinmyint
Copper Contributor
Feb 24, 2022

Admin Login

I created $admin = Get-Credential, but next time re-login, can't saved my credential and password. 

1 Reply

  • Hello! 

    If you only ran $Admin = Get-Credential once in a Powershell Window, that variable and credentials are only stored for that Powershell session. 

    So when you log out and then log back in or restart your computer, when you start Powershell again. That $admin variable wont exist. 

    What is it that you are trying to achieve? 

    Kind Regards

    Oliwer