Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Get-CMApprovalRequest

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Get-CMApprovalRequest

Gets a request to allow the installation of an application.

Syntax

Parameter Set: SearchByName
Get-CMApprovalRequest [-ApplicationName <String[]> ] [-User <String> ] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Get-CMApprovalRequest -Id <String[]> [ <CommonParameters>]




Detailed Description

The Get-CMApprovalRequest cmdlet gets a request from a user to install an application. You can specify an approval request by application name, application ID, or by user name.

Parameters

-ApplicationName<String[]>

Specifies an array of names of applications.


Aliases

Application

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Id<String[]>

Specifies an array of IDs of applications.


Aliases

CIUniqueid

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-User<String>

Specifies an array of user names of persons who submitted the approval request. Use the format domain\user.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Get all approval requests

This command gets all pending Microsoft System Center 2012 Configuration Manager approval requests.


PS C:\> Get-CMApprovalRequest

Example 2: Get an approval request by using an application ID

This command gets an approval request for an application with the specified ID.


PS C:\> Get-CMApprovalRequest -Id "1635223"

Example 3: Get an approval request for a specific user

This command gets an approval request for the application HelloWorld for a specified user.


PS C:\> Get-CMApprovalRequest -Application "HelloWorld" -User "western\johnsmith"

Related topics

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.