Partager via


Get-WASAssessment

Get-WASAssessment

Gets a list of available assessments.

Syntax

Parameter Set: AssessmentId
Get-WASAssessment [-AssessmentID] <Guid[]> [ <CommonParameters>]

Parameter Set: AssessmentName
Get-WASAssessment [[-AssessmentName] <String[]> ] [ <CommonParameters>]

Detailed Description

The Get-WASAssessment cmdlet returns a list of assessments that are available on the Windows Assessment Services server. It also displays metadata, such as the GUID, the name of the assessment and the category for the assessment. You can't modify the assessment settings in these assessments. The list includes assessments that are predefined in the Windows ASC, or use the recommended settings.

Parameters

-AssessmentID<Guid[]>

Specifies the GUID of the assessment you want to get. You must specify the full GUID. If this parameter is not specified, all assessments are listed.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-AssessmentName<String[]>

Specifies the name of the assessment you want to get. The full name of the assessment isn’t required. Wildcards are accepted. If this parameter is not specified, all assessments are listed.

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

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 assessments

This command gets all assessments registered with .

PS C:\> Get-WASAssessment

Example 2: Get assessments by using a search string

This command gets all assessments that have a name that starts with Minifilter.

PS C:\> Get-WASAssessment -AssessmentName Minifilter*

Example 3: Get an assessment with a specific ID

This command gets an assessment with a specific assessment ID.

PS C:\> Get-WASAssessment -AssessmentId 8aa74479-d580-4d74-a4d2-f57d0f503003

Update-WASJob

Windows Assessment Services Technical Reference