Edit

Share via


Get-CsSdgBulkSignInRequestStatus

Get the status of an active bulk sign in request.

Syntax

Default (Default)

Get-CsSdgBulkSignInRequestStatus
    -Batchid <String>
    [<CommonParameters>]

Description

Use this cmdlet to get granular device level details of a bulk sign in request. Status is shown for every username and hardware ID pair included in the device details CSV used as input to the bulk sign in request.

Examples

Example 1

$newBatchResponse = New-CsSdgBulkSignInRequest -DeviceDetailsFilePath .\Example.csv -Region APAC
$newBatchResponse.BatchId
$getBatchStatusResponse = Get-CsSdgBulkSignInRequestStatus -Batchid $newBatchResponse.BatchId
$getBatchStatusResponse | ft
$getBatchStatusResponse.BatchItem

This example shows how to read the batch status response into a new variable and print the status for every batch item.

Parameters

-Batchid

Batch ID is the response returned by the New-CsSdgBulkSignInRequest cmdlet. It is used as input for querying the status of the batch through Get-CsSdgBulkSignInRequestStatus cmdlet.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISdgBulkSignInRequestStatusResult