When working with the 'Quest Powershell Cmdlets' there is a requirement to use a specific 'ActiveRoles Server Administration Service'.
This cmdlet establishes a connection to any available Administration Service, to a specific Administration Service, or directly to a specific Active Directory domain controller or a server running an Active Directory Lightweight Directory Services (AD LDS) instance, with the credentials of the locally logged on user or with the credentials of a specified user. A connection determines the default connection parameters (the server and the security context) for the operations that are performed by the other cmdlets. The default connection parameters are effective until the connection is closed either explicitly or by establishing a new connection, and can be overridden on a per-cmdlet basis.
The cmdlet establishes a connection in the security context of a certain user, so some user credentials must be provided in order to authenticate the user. The cmdlet makes it possible to specify user credentials in a number of ways through the use of the credential-related parameters -ConnectionAccount, -ConnectionPassword, -Credential, and -Connection:
Connect-QADService [[-Service] <string>] [-Connection <ArsConnection>] [-ConnectionAccount <string>] [-ConnectionPassword <SecureString>] [-Credential <PSCredential>] [-Proxy] [-UseGlobalCatalog] [<CommonParameters>]
connect-QADServcice -service 'localhost' -proxy
Connect to an ADLDS Instance Example:
connect-QADService -service 'server.domain.local:389'