Importing an Ivanti Workspace Building Block into an Ivanti Workspace environment using a Task "Execute Command"
In Ivanti Workspace, you can import a Building Block into an Ivanti Workspace environment by appending the command line parameter /add <path + buildingblock.xml> to the executable of the Ivanti Workspace Console, pwrtech.exe. If the Ivanti Workspace Console is installed on a machine on which an Ivanti Automation Agent is also running, you can automate this task using a Task Execute Command.
Configuration
- Configure a Task Execute Command with the following command line: "%RESPFDIR%\pwrtech.exe" /add <path + buildingblock.xml> (for example, "%RESPFDIR%\pwrtech.exe" /add h:\xml\security_network.xml).
- In the Security context field, use an account that has the role Technical Manager.
- Select the option Execute command using the Windows command interpreter.
- Schedule the Task on an Ivanti Automation Agent that is running on a machine on which also the Ivanti Workspace Console is installed.