Command Reference > pmrep Command Reference > Unregister
  

Unregister

Unregisters a local repository from a connected global repository.
To use this command, you must run the Repository Service for the local repository in exclusive mode. You can configure the Repository Service to run in exclusive mode in the Administrator tool or you can use the infacmd UpdateRepositoryService command.
The command returns “unregister successfully completed” or returns “failed to execute unregister” message. The registration might fail for the following reasons:
The Unregister command uses the following syntax:
unregister

-r <local_repository_name>

-n <local_repository_user_name>

[-s <local_repository_user_security_domain>]

[-x <local_repository_password> |

 -X <repository_password_environment_variable>]

[-d <local_repository_domain_name> |

{-h <local_repository_portal_host_name>

-o <local_repository_portal_port_number>}] (if local repository is in a different domain)
The following table describes pmrep Unregister options and arguments:
Option
Argument
Description
-r
local_repository_name
Required. Name of the local repository to unregister.
-n
local_repository_user_name
Required. Local user name.
-s
local_repository_user_
security_domain
Required if you use LDAP authentication. Name of the security domain that the user belongs to. Default is Native.
-x
local_repository_password
Required if you do not use the -X option. Login password for the local target repository. You must use the -x or -X option, but not both.
-X
local_repository_password_
environment_variable
Required if you do not use the -x option. Login password environment variable for the local target repository. You must use the -x or -X option, but not both.
-d
local_repository_domain_
name
Required if the local repository is in a different domain and you do not use the -h and -o options. Name of the Informatica domain for repository.
-h
local_repository_portal_host_
name
Required if the local repository is in a different domain and you do not use the -d option. Machine name of the domain where the local repository is located. If you use this option, you must also use the -o option.
-o
local_repository_portal_port_
number
Required if the local repository is in a different domain and you do not use the -d option. Port number for the domain where the local repository is located. If you use this option, you must also use the -h option.