-
Notifications
You must be signed in to change notification settings - Fork 5
Scripts Definitions Files
You will learn all about creation of Scripts definitions on this page. Scripts definitions are the bridge, which converts console scripts and commands to GUI of Lazy Admin. For that to work, you have to specify command block which gets executed nad parameters you expect. You should as well specify other various things, like display name, description, external help etc.
Base module example in our repository contains various commands utilizing all kinds of parameters available for Scripts definitions. It is very good idea to play around with that file to see what you can achieve.
Active Directory module example in our repository contains sample command which utilizes Active Directory.
All parameters are subkeys of one single key, which serves as unique identifier for each Scripts definitions file, for example our Base module example looks like this:
{
"base-module-example": {
"version": "0.2.0",
"icon": "mdi-powershell",
...
}
}
Version is simple string, which is displayed on About Page. On update,
- 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