Microsoft Windows
Last updated
Last updated
Linux Control Center = 2.10.X or higher.
Access Credentials to the Windows Host with the necessary permissions.
WinRM Enabled on the Windows Host.
The Linux Control Center Unmanaged Hosts functionality allows the execution of Scripts on Microsoft Windows Hosts through WinRM (Windows Remote Management) on Hosts that are not being managed by the LCC.
This functionality uses Windows Credentials, Unmanaged Hosts and Unmanaged Host Groups registered in the Console. The LCC offers a history of executions through simplified Logs.
Configuration flow to execute Scripts on an Unmanaged Microsoft Windows Host.
This document aims to demonstrate step by step how to register an Unmanaged Host, Unmanaged Windows Credentials and PowerShell Script to execute the Custom Scripts Quick Windows Action.
Access the LCC and click on Unmanaged Hosts.
Click Unmanaged Inventory.
Click Create and fill in the following fields;
Name: Name to identify the Host. Host Type: Select the Windows option. Address: Enter the Windows Host IP address with dots. Ex: 192.168.0.25 Port: Enter the Host's WinRM port
Click Save.
This credential will be responsible for accessing the Host and executing the desired Script.
Access the Unmanaged Hosts screen.
Click Host Credentials.
Click Windows Credentials.
Click Create.
Fill in the requested fields and click Save.
Name: Name to identify the credential Username: User to run the Script Password: User password to run the Script
Access the Unmanaged Hosts screen.
Click on Scripts.
This screen is the same as the Hosts screen on the left side menu, where all the scripts registered in LCC are located, both for Windows and Linux.
Click on Create.
Fill in the following fields;
Name: Name to identify the Script. Host Type: Select the Windows option.
Click on Upload File and upload the Windows Script.
Click on Save.
Click on Workflow on the left sidebar.
Click Create.
Enter a name for the Workflow in the Name field.
Click Start New Workflow.
Choose the Custom Script Quick Windows Action in the Action field.
Fill in the fields as instructed below;
Script: Choose the PowerShell Script that will be executed.
Unmanaged Host: Choose the Unmanaged Host Windows on which the Script will be executed.
It is also possible to execute the Script in an Unmanaged Group.
Click Create.
Click Save
Click Actions of the Workflow you created and click Run.
Click Agree to run the Workflow.