Get-QARSLastOperation

From PowerGUI Wiki

Jump to: navigation, search

Retrieve information about the most recent operation request submitted to ActiveRoles Server from the current Management Shell session.

This cmdlet is part of the Quest ActiveRoles Server product. Use Get-QARSProductInfo to view information about ActiveRoles Server.

Contents

Syntax

Get-QARSLastOperation [-Connection <ArsConnection>] [-ConnectionAccount <string>] [-ConnectionPassword <SecureString>] [-Credential <PSCredential>] [-Proxy] [-Service <string>] [-UseGlobalCatalog] [<CommonParameters>]

Detailed Description

Use this cmdlet to retrieve information about the last operation request that was made within the context of the current Management Shell session. The information includes the identifier of the operation request. You can pass the identifier to cmdlets such as Get-QARSOperation or Get-QARSApprovalTask in order to retrieve additional information about the request and the approval tasks associated with the request.

The cmdlet has optional parameters that determine the server and the security context for the operation. The connection parameters could be omitted since a connection to a server is normally established prior to using this cmdlet. In this case, the server and the security context are determined by the Connect-QADService cmdlet.

If you do not use Connect-QADService and have no connection established prior to using a cmdlet, then the connection settings, including the server and the security context, are determined by the connection parameters of the first cmdlet you use. Subsequent cmdlets will use those settings by default.

Note that this cmdlet requires a connection to the ActiveRoles Server Administration Service, so the Proxy parameter must be used to establish a connection.



Parameters

Name Description Required? Pipeline Input Default Value
Connection For parameter description, see help on the Connect-QADService cmdlet. false false
ConnectionAccount For parameter description, see help on the Connect-QADService cmdlet. false false
ConnectionPassword For parameter description, see help on the Connect-QADService cmdlet. false false
Credential For parameter description, see help on the Connect-QADService cmdlet. false false
Proxy For parameter description, see help on the Connect-QADService cmdlet. false false
Service For parameter description, see help on the Connect-QADService cmdlet. false false
UseGlobalCatalog For parameter description, see help on the Connect-QADService cmdlet. false false

Examples

EXAMPLE 1

Connect-QADService -Proxy

C:\PS>New-QADUser -ParentContainer 'labdomain.local/Users' -Name 'dummy'

C:\PS>Get-QARSLastOperation

Description


Connect to any available ActiveRoles Server Administration Service, submit a request to create a new user, and then retrieve information on that request.

Personal tools