The Start-RepositoryCheck
PowerShell command lets you check the integrity of a repository.
Usage
The usage for the command is as follows:
Start-RepositoryCheck -name [repository name] | -all [check all repositories] -password [password] -force
Command Options
The following table describes the options available for the Start-RepositoryCheck
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. |
-repository |
Required. The name of the repository that you want to check. |
-all |
Optional. Check all repositories associated with this Core. |
-force |
Optional. Perform the repository check without confirmation. |
Example:
Start checking a repository:
>Start-RepositoryCheck -repository newRepository1 -core 10.10.10.10:8006 -user administrator -password 23WE@#$sdd