共用方式為


Set-PowerPlatformGenerativeAiSettings

Sets the generative AI settings in an environment.

Syntax

Set-PowerPlatformGenerativeAiSettings
   -EnvironmentName <String>
   [-CrossGeoDataMovement <Boolean>]
   [-BingSearch <Boolean>]
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

The Set-PowerPlatformGenerativeAiSettings cmdlet updates the generative AI setting for a specified environment.

Examples

EXAMPLE 1

Set-PowerPlatformGenerativeAiSettings -EnvironmentName 8d996ece-8558-4c4e-b459-a51b3beafdb46 -CrossGeoDataMovement $true -BingSearch $true

Parameters

-ApiVersion

The API version to call with. Default 2021-04-01.

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

-BingSearch

Enables or disables Bing Search capabilities.

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

-CrossGeoDataMovement

Enables or disables cross-geo data movement.

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