Share via


Set-PartnerServiceRequest

Updates a service request at the partner level.

Syntax

Default (Default)

Set-PartnerServiceRequest
    [-NewNote <String>]
    [-ServiceRequestId] <String>
    [-Status <ServiceRequestStatus>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Updates a service request at the partner level.

Examples

Example 1

PS C:\> Set-PartnerServiceRequest -NewNote 'Closing this SR' -ServiceRequestId '618000000000000' -Status Closed

Updates the status for the specified service request to closed.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

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

-NewNote

The text of the new note that will be added to the service request.

Parameter properties

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

Parameter sets

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

-ServiceRequestId

The identifier for the service request.

Parameter properties

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

Parameter sets

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

-Status

The status for the service request.

Parameter properties

Type:ServiceRequestStatus
Default value:None
Accepted values:AttentionNeeded, Closed, Open
Supports wildcards:False
DontShow:False

Parameter sets

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
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.Store.PartnerCenter.PowerShell.Models.ServiceRequests.PSServiceRequest