The Get-ProtectionRules
cmdlet provides a list of the protection rules for a specific protected server..
The usage for the command is as follows:
Get-ProtectionRules -protectedserver [name | IP address]
The following table describes the options available for the Get-ProtectionRules
command:
Option | Description |
---|---|
-? |
Display this help message. |
-protectedserver |
Use this option to identify the specific protected machine for which you want to list protection rules.. |
List the protection rules settings of the specified server:
>Get-ProtectionRules -protectedserver 10.10.10.10
The Get-QueuedJobs
command returns all jobs waiting to begin from the Core.
The usage for the command is as follows:
Get-QueuedJobs -core [host name] -user [login] -password [password] -all | -protectedserver [name | IP address] -nu mber [all | f[number] | l[number] | number] -jobtype [type] -time [time]
The following table describes the options available for the Get-ActiveJobs
command:
Option | Description |
---|---|
-? |
Display this help message. |
-core |
Optional. Remote Core host machine IP address (with an optional port number). By default the connection is made to the Core installed on the local machine. |
-user |
Optional. User name for the remote Core host machine. If you specify a user name, you also have to provide a password.
If none are provided, then the logged-on user's credentials will be used. |
-password |
Optional. Password to the remote Core host machine. If you specify a password, you also have to provide a log on.
If none are provided, then the logged-on user's credentials will be used. |
-protectedserver |
Show jobs for a specific protected machine, indicated by IP address. |
-all |
Show all jobs, including those performed by the Core and all protected servers. |
-number |
Optional. Determine how many records to display. available values are:
all (display all jobs); l[number] or [number] (fetches ## most recent jobs sorted by execution and time); f[number] (displays first ## recovery jobs sorted by execution and time). By default, the 20 most recent jobs are shown. |
-jobtype |
Optional. Specifies the job type filter. Available values are: 'transfer' (data transfer), 'repository' (repository maintenance), 'replication' (local and remote replications), 'backup' (backup and restore), 'bootcdbuilder' (create boot CDs), 'diagnostics' (upload logs), 'exchange' (Exchange Server files check), 'export' (recovery point export), 'pushinstall' (deploy agents), 'rollback' (restoring from a recovery point), 'rollup' (recovery point rollups), 'sqlattach' (agent attachability checks), and 'mount' (mount repository). By default, all jobs of the specified type are returned. |
-time |
Optional. Filter output by date and time for the job started. Available types of input include:
#d or DD (where # is a number for the period of time of days before now until now) #h or #H (where # is number for the period of hours before now until now) “time date 1”, “time date 2” (to show a custom range of time from a specific date appearing before the comma to a specific date following the comma). |
Lists all queued jobs on the local Core:
>Get-QueuedJobs –all
The Get-RecoveryPoints
command returns information about recovery points for machines protected on the local Core.
The usage for the command is as follows:
Get-RecoveryPoints -core [host name] -user [user name] -password [password] -protectedserver [server name or IP address] -number [all | f[number] |l[number] | number]
The following table describes the options available for the Get-RecoveryPoints
command:
Option | Description |
---|---|
-? |
Display this help message. |
-core |
Optional. Remote Core host machine IP address (with an optional port number). By default the connection is made to the Core installed on the local machine. |
-user |
Optional. User name for the remote Core host machine. If you specify a user name, you also have to provide a password.
If none are provided, then the logged-on user's credentials will be used. |
-password |
Optional. Password to the remote Core host machine. If you specify a password, you also have to provide a log on.
If none are provided, then the logged-on user's credentials will be used. |
-protectedserver |
Show jobs for a specific protected machine, indicated by IP address. |
-number |
Optional. Determine how many records to display. available values are:
all (display all jobs); l[number] or [number] (fetches ## most recent jobs sorted by execution and time); f[number] (displays first ## recovery jobs sorted by execution and time). By default, the 20 most recent jobs are shown. |
Lists recovery points for machines protected on the local Core:
>Get-RecoveryPoints -protectedserver 10.10.10.10
The Get-ReplicatedServers
command returns information about machines replicated on the Core.
The usage for the command is as follows:
Get-ReplicatedServers -core [host name] -user [user name] -password [password]
Quest recommends you consider security when using commands to return values. For example, this command returns the administrator password for each replicated server. If used in an MSP environment from the target Core, this can potentially expose the login password of the administrator user. For environments with encrypted repository data, this does not pose substantial security issues.
The following table describes the options available for the Get-ReplicatedServers
command:
Option | Description |
---|---|
-? |
Display this help message. |
-core |
Optional. Remote Core host machine IP address (with an optional port number). By default the connection is made to the Core installed on the local machine. |
-user |
Optional. User name for the remote Core host machine. If you specify a user name, you also have to provide a password.
If none are provided, then the logged-on user's credentials will be used. |
-password |
Optional. Password to the remote Core host machine. If you specify a password, you also have to provide a log on.
If none are provided, then the logged-on user's credentials will be used. |
Lists all replicated servers on the local Core:
>Get-ReplicatedServers
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center