For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set-PSUJobFeedback

Sets the feedback for a job that has requested it.

SYNOPSIS

Sets the feedback for a job that has requested it.

SYNTAX

Set-PSUJobFeedback -JobFeedback <JobFeedback> [-Response <String>] [-ComputerName <String>]
 [-AppToken <String>] [-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate]
 [-Cookies] [<CommonParameters>]

DESCRIPTION

Sets the feedback for a job that has requested it. Use Get-UAJobFeedback to retrieve feedback objects for a job.

EXAMPLES

Example 1

PS C:\> $Job = Get-UAJob -Id 2
PS C:\> $JobFeedback = Get-UAJobFeedback -Job $Job
PS C:\> Set-UAJobFeedback -JobFeedback $JobFeedback -Response "Hello, world!"

Responds to the job feedback with 'Hello, world!'

PARAMETERS

-AppToken

An app token to access the PSU API.

-ComputerName

The HTTP address of the PSU REST API server.

-Integrated

Executes the command internally rather than using the Management API. Only works when running script from within PowerShell Universal.

-JobFeedback

The job feedback to respond to. Use Get-UAJobFeedback to retrieve a JobFeedback object.

-Response

The reponse to the feedback.

-UseDefaultCredentials

Use default credentials when connecting to the management API

-Credential

Credentials to login to the PowerShell Universal Management API.

-TrustCertificate

Whether the cmdlet should ignore certificate issues.

-Cookies

Reuses and persists authentication cookies for the current PowerShell session.

CommonParameters

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

INPUTS

None

OUTPUTS

System.Object

NOTES

Last updated

Was this helpful?