To connect to the mangement console
Powershell:
Connect-QmcuService -Server test.example.com
Unix CLI:
connect-qmcuservice -s test.example.com
To add a new computer to the mangement console
Powershell:
New-QmcuComputer -ComputerName test.example.com
Unix CLI:
new-qmcucomputer -c test.example.com
You can also pipe commands together to accomplish a set of tasks.
To add, profile, and cache a computer's credentials, pipe these commands together:
Powershell:
New-QmcuComputer -ComputerName test.example.com | Set-QmcuComputerCredential | Update-QmcuComputer
Login
SSH to computer: test.example.com
User: root
Password for user root: *******
Unix CLI:
new-qmcucomputer -c test.example.com | set-qmcucomputercredential | update-qmcucomputer
Specify credentials to log in to test.example.com:
Username: root
Password: *******
- New-QmcuComputer adds the computer to the console.
- Set-QmcuComputerCredential caches the computers credentials.
- Update-QmcuComputer updates the computers profile.
The mangement console prompts you for the user name and password when it sets the credentials.
To create a new group named "admins" on all "Linux" computers
Powershell:
Find-QmcuComputer -Filter "OperatingSystemName=Linux" | New-QmcuGroup -Groupname admins
Unix CLI:
find-qmcucomputer -f "OperatingSystemName=Linux" | new-qmcugroup -C –n admins