Command line utilities
Management Console for Unix provides Unix command line utilities and Windows Powershell cmdlets that enable you to script common local Unix user and group management tasks. For example, you can write a script to reset a local Unix user's password across multiple Unix systems.
MCU PowerShell cmdlets and Unix CLI commands
PowerShell modules provide a "scriptable" interface to many mangement console tasks. Using Management Console for Unix PowerShell commands, you can manage group membership, change user passwords, or connect to the Management Console for Unix Web service.
Management Console for Unix provides the following PowerShell cmdlets and Unix CLI commands, grouped according to service:
Table 18: PowerShell cmdlets and Unix CLI commands
Administrative Services |
Connect-QmcuService |
connect-qmcuservice |
Connect to the Management Console for Unix Web Service specified by DNS name or IP address. |
Disconnect-QmcuService |
disconnect-qmcuservice |
Disconnects from the Management Console for Unix Web Service. |
Get-QmcuConnection |
get-qmcuconnection |
Lists the computer connection information. |
Remove-QmcuComputerCredential |
remove-qmcucomputercredential |
Removes specified host credentials from the mangement console cache. |
Set-QmcuComputerCredential |
set-qmcucomputercredential |
Caches specified host credentials on the management console. |
Computer Services |
Find-QmcuComputer |
find-qmcucomputer |
Finds hosts managed by the console matching a specified search criteria. |
Find-QmcuGroup |
find-qmcugroup |
Finds local group information matching specified search criteria. |
Find-QmcuUser |
find-qmcuuser |
Finds local user information matching specified search criteria. |
Get-QmcuComputer |
get-qmcucomputer |
Lists hosts managed by the mangement console. |
Get-QmcuGroup |
get-qmcugroup |
Lists local group information for the specified host. |
Get-QmcuUser |
get-qmcuuser |
Lists local user information for the specified host. |
New-QmcuComputer |
new-qmcucomputer |
Adds a host to the mangement console. |
New-QmcuGroup |
new-qmcugroup |
Creates a new local group on the specified host. |
New-QmcuUser |
new-qmcuuser |
Creates a new local user on the specified host. |
Remove-QmcuComputer |
remove-qmcucomputer |
Removes a host from the mangement console. |
Remove-QmcuGroup |
remove-qmcugroup |
Removes a local group from the specified host. |
Remove-QmcuUser |
remove-qmcuuser |
Removes a local user from the specified host. |
Update-QmcuComputer |
update-qmcucomputer |
Updates a specified host's profile. |
Group Services |
Add-QmcuGroupMember |
add-qmcugroupmember |
Adds local users to the specified local group. |
Get-QmcuGroupMember |
get-qmcugroupmember |
Lists all local users in a specified group. |
Remove-QmcuGroupMember |
remove-qmcugroupmember |
Removes specified local users from specified local group. |
User Services |
Add-QmcuGroupMembership |
add-qmcugroupmembership |
Adds the specified local user to the specified groups. |
Get-QmcuGroupMembership |
get-qmcugroupmembership |
Lists all local groups of which the specified local user is a member. |
Remove-QmcuGroupMembership |
remove-qmcugroupmembership |
Removes the specified local user from the specified groups. |
Set-QmcuUserPassword |
set-qmcuuserpassword |
Sets the password for the specified local user. |
Functions |
Get-QmcuBanner |
|
Displays the MCU powershell console "Welcome" banner which gives basic instructions for viewing the Management Shell cmdlets. |
Import-QmcuModule |
|
Updates the Powershell module path and imports the MCU module. |
MCU PowerShell cmdlets
Installing MCU PowerShell cmdlets
If the MCU Powershell console option is not available from the Start menu, under Programs | Quest Software | Management Console for Unix, then run the setup wizard, as follows:
To install the Management Console for Unix Powershell console
- From the root of the distribution media, navigate to console | client | windows.
- Double-click the "Quest_MCU_Powershell_cmdlets" .msi file to start the setup wizard.
Note: For information about the QmcuWebserviceExamples.zip file also contained in this directory, see Web services examples.
- At the Welcome dialog, click Next.
- Accept the license agreement and click Next.
- At Ready to Install dialog, click Install.
- At Completed dialog, click Finish.
- To access a customized PowerShell console, from the Start menu, navigate to All Programs | Quest Software | Management Console for Unix and click MCU Powershell console.
To uninstall the MCU Powershell console
- From the Start menu, navigate to Control Panel | Programs | Programs and Features | Uninstall a program.
- Right-click Management Console for Unix Powershell Cmdlets and choose Uninstall.
- Click Yes, to confirm the action.