Before you install the Recovery Manager for Active Directory Management Shell, ensure that your system meets the system requirements provided in the Release Notes supplied with this release of Recovery Manager for Active Directory.
To install Management Shell
You can open the Management Shell by using either of the following procedures. Each procedure loads the Recovery Manager for Active Directory Management Shell snap-in into Windows PowerShell. If you do not load the Recovery Manager for Active Directory Management Shell snap-in before you run a command (cmdlet) provided by that snap-in, you will receive an error.
Note: Recovery Manager for Active Directory Management Shell console must be started with elevated privileges. Otherwise, you will get warning messages when you execute the snap-in cmdlets.
To open the Management Shell
You can do so by running the powershell command at a command prompt (Cmd.exe).
Alternatively, you can complete the following steps related to your version of Windows:
Table 37: Opening Management Shell
Windows Server 2008 or 2008 R2
|A later version of Windows|
||On the Start screen, click the Management Shell tile.|
Upon the shell start, the console may present you with a message stating that a certain file published by Quest is not trusted on your system. This security message indicates that the certificate the file is digitally signed with is not trusted on your computer, so the console requires you to enable trust for the certificate issuer before the file can be run. Press either R (Run once) or A (Always run). To prevent this message from appearing in the future, it is advisable to choose the second option (A).
The Recovery Manager for Active Directory Management Shell uses the Windows PowerShell help cmdlets to assist you in finding the appropriate information to accomplish your task. The following table provides some examples of how to use the Get-Help and Get-Command cmdlets to access the help information that is available for each cmdlet in the Recovery Manager for Active Directory Management Shell.
Table 38: Getting help
|Get-Help||When you use Get-Help without any parameters, you are presented with basic instructions on how to use the help system in Windows PowerShell, including Help for the Recovery Manager for Active Directory Management Shell.|
When you use Get-Help with the name of a cmdlet as an argument, you are presented with the help information for that cmdlet. For example, to retrieve the help information for the Get-RMADCollection cmdlet, use the following command:
Get-Command without any parameters lists all the cmdlets that are available to the shell. You can use the Get-Command cmdlet with the Format-List or Format- Table cmdlet to provide a more readable display. For example, use Get-Command | Format-List to display the output in a list format. To display a list of all the Recovery Manager for Active Directory Management Shell cmdlets that are available to the shell, use the following syntax:
Get-Command -PSSnapin Quest.RecoveryManager.AD.PowerShell
When you use Get-Command with the name of a cmdlet as an argument, you are presented with information about the parameters and other components of that cmdlet. The <Cmdlet> entry allows for wildcard character expansion. For example, to retrieve information about the cmdlets with the names ending in Member, you can use the following command: