Skip to content

Login Page

Jakub Šindelář edited this page Sep 12, 2020 · 4 revisions

When you launch Lazy Admin, you will be greeted with simple Login Page. There you can change your display language and proceed to application.

Many companies utilize multiple accounts for administrators. Very often administrator uses their computer with regular account and uses administrator account only when required for certain tasks. With this in mind, we provide way to use alternate credentials within Lazy Admin.

If you provide administrator credentials in login form, Lazy Admin will create two things:

  • $Global:CredentialObject, which is [System.Management.Automation.PSCredential] and should be utilized with commands you use
  • $Global:LazyAdminPSSession, which is [System.Object.PSSession] created on your computer and should be utilized with commands, which don't support -Credential parameter and you do not want to use Invoke-Command to remote computer

If you decide to use arrow button and skip logging in with alternate credentials, you will be able to:

  • Run commands, which utilize $Global:CredentialObject with your current user.
  • You won't be able to run commands, which utilize $Global:LazyAdminPSSession, because you cannot create PSSession without providing credentials.

Login with username and password

Provide your username and password and press LOGIN to create Credentials object, PSSession and proceed to Scripts Page. If you have CredentialManager module installed, your credentials will be saved to Credential Manager, allowing Lazy Admin to load them on next launch.

Lazy Admin Username And Password

Skip login

Press arrow button and then SKIP to create empty credentials object, which makes commands to use your current user context and proceed to Scripts Page.

Lazy Admin Username And Password

Login with saved credentials

If you previously saved credentials, Lazy Admin will load them on launch and allow you to just press LOGIN to create Credentials object, PSSession and proceed to Scripts Page.

Lazy Admin Username And Password

Head over to Scripts Page to learn more about main page, where you execute all the commands.

Clone this wiki locally