Copy and Move Agents

Copy and Move Agents

With XEOX you have the possibility to move individual agents of your customers to the appropriate sub-organizations.

The following are the individual steps:

  • Create a new sub organisation by going to Administration - Managed Organisations - Create Customer

Managed Organisations

Create Organisation

  • Then change to the newly created organisation in the top navigation bar next to the Create button click on the name of your organisation and select Change Organisation.

Change to new Organisation

Change to new Organisation

  • Copy the agent installation PowerShell (or cmd) command. In the top navigation bar click on Install Agent and copy the PowerShell (or cmd) command

Copy PowerShell

  • Change back to your parent organization and go to the top navigation bar. Next to the Create button click on the name of your organization and select Change Organization.

  • Create a new PowerShell script by going to Job Center - Scripts and click Create. Give the script a name (e.g. Move job to xxx) and select the language PowerShell (or Batch if you use cmd). Finally, paste the copied command into the editor and click Save.

Scripts

PowerShell Script

  • Run the script on the device that should be moved. You can do this by going to Job Center - Scripts and click Run on the script you just created. Now select all hardware devices that should be moved to the sub organisation and click Next. Now select when you want the script to run and then click Save. Under Job Center - Current Jobs you should now see the job you just created. This job will never really finish and will eventually time out because the device will not be able to connect to the current organisation anymore. Furthermore, the device must be manually deleted from the CMDB - Hardware.

Run Script

  • Check for the new device in your sub organization. In the top navigation bar next to the Create button click on the name of your sub-organization and select Change Organization. In the sub-organization goto CMDB - Hardware and there you should now be able to find the moved device.