-
Notifications
You must be signed in to change notification settings - Fork 5
Login Page
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 useInvoke-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.
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.

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.

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.

Head over to Scripts Page to learn more about main page, where you execute all the commands.
- How to Use
- Login Page
- Scripts Page
- Settings Page
- About Page
- Workflows
- How to Install CredentialManager Module
- How to Install PowerShell Core
- Setting up Development Environment
- Contributing to Project
- Components
- Login Page Breakdown
- Scripts Page Breakdown
- Settings Page Breakdown
- About Page Breakdown
- Command Execution
- Get SavedCredentials
- Scripts definitions update workflow