Partilhar via


Set-PowerPlatformGenerativeAiSettings

Sets the generative AI settings in an environment.

Syntax

Default (Default)

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

Description

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

Examples

EXAMPLE 1

Set-PowerPlatformGenerativeAiSettings -EnvironmentName 00aa00aa-bb11-cc22-dd33-44ee44ee44ee -CrossGeoDataMovement $true -BingSearch $true -Microsoft365Services $true

Sets the generative AI settings allowing for cross-geography data movement, Bing Search, and Microsoft 365 services for the 00aa00aa-bb11-cc22-dd33-44ee44ee44ee environment.

Parameters

-ApiVersion

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

Parameter properties

Type:String
Default value:2021-04-01
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

-BingSearch

Enables or disables Bing Search capabilities.

Parameter properties

Type:Boolean
Default value:False
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

-CrossGeoDataMovement

Enables or disables cross-geo data movement.

Parameter properties

Type:Boolean
Default value:False
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

-EnvironmentName

Specifies the ID of the environment you want to modify.

Parameter properties

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

Parameter sets

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

-Microsoft365Services

Enables or disables Microsoft 365 services.

Parameter properties

Type:Boolean
Default value:False
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

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.