Lumen help
Use the Edge Services portal to automate tasks using PowerShell script for your CentOS and Windows instances. PowerShell script is used for automating system management and for building, testing, and deploying solutions in CI/CD (Continuous Integration/Continuous Deployment) environments. PowerShell is built on the .NET CLR (Common Language Runtime). All inputs and outputs are .NET objects. This is System.Object in the .NET framework.
To use PowerShell script tasks, Windows PowerShell Tool must be installed on the OS (operating system) that is executing the script. Integrate a Git account into the Edge Services portal to store and access files in a repository for your tasks.
You can execute your automated task as a single task or combine it as part of an operational or provisioning workflow.
Note: Library tab functionality is only available for AWS (Amazon Web Services) and Azure cloud providers.
To create a PowerShell script task:
Field | Description |
NAME | Type a unique name for the PowerShell script task. |
CODE | Type a unique code to identify the PowerShell script task. |
TYPE | Select Powershell Script. |
RESULT TYPE | Select one of the following options:
|
ELEVATED SHELL | To enable scripts to run with administrator privileges, select the checkbox. |
SOURCE | Select one of the following options:
|
CONTENT | Type PowerShell script in this area to directly create content for your instance. |
REPOSITORY | Select the repository that contains the PowerShell script. |
WORKING PATH | Type the Git repository file path where the PowerShell script is stored. |
BRANCH/TAG | Type the branch or tag of the Git repository to access the stored PowerShell script. A repository branch is an area of the repository where code can be worked on but the changes are isolated from the original source. A repository tag is a version reference point of the respository at a given time. |
URL | Type the URL to access where the shell scripts are stored. |
Field | Description |
EXECUTE TARGET | Select one of the following options:
|
IP ADDRESS | Type the IP address of the target executing the PowerShell script. |
PORT | Type the IP address of the SSH (Secure Shell) port of the target executing the PowerShell script. |
CREDENTIALS | Select one of the following options to enter credentials for a remote server:
|
SECRET STORE | Select one of the following options:
|
USERNAME | Type the username of the target that is executing the PowerShell script. If you selected Local Credentials in the CREDENTIALS field, type the local administrator username in this field. |
PASSWORD | Type the password of the target that is executing the PowerShell script. If you selected Local Credentials in the CREDENTIALS field, type the local administrator password in this field. |
PRIVATE KEY | Select the private key that was generated to access the server executing the PowerShell script. |
KEY | Select the key that was generated to access the server executing the PowerShell script. |
Explore Edge Computing Solutions