Share via


Set-PartnerServiceRequest

Updates a service request at the partner level.

Syntax

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.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-NewNote

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ServiceRequestId

The identifier for the service request.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Status

The status for the service request.

Type:ServiceRequestStatus
Accepted values:AttentionNeeded, Closed, Open
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.Store.PartnerCenter.PowerShell.Models.ServiceRequests.PSServiceRequest