Compartir a través de


Set-AdminPowerAppEnvironmentCopilotSettings

Enables or disables Copilot assistance for drafting input text with canvas apps in the environment.

Syntax

Set-AdminPowerAppEnvironmentCopilotSettings
   -EnvironmentName <String>
   [-AppDraftingCopilotEnabled <Boolean>]
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

The Set-AdminPowerAppEnvironmentCopilotSettings cmdlet enables or disables Copilot assistance for drafting input text with canvas apps in the specified environment.

Examples

EXAMPLE 1

Set-AdminPowerAppEnvironmentCopilotSettings -EnvironmentName 8d996ece-8558-4c4e-b459-a51b3beafdb46 -AppDraftingCopilotEnabled $false

Disables Copilot assistance for drafting text in canvas apps in the specified environment.

Parameters

-ApiVersion

Specifies the Api version that is called.

Type:String
Position:Named
Default value:2021-04-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AppDraftingCopilotEnabled

Enables or disables the drafting copilot using $True or $False.

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

-EnvironmentName

Specifies the ID of the environment you want to modify.

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