Skip to content

Set-PodeSecurityPermissionsPolicy

SYNOPSIS

Set the value to use for the Permissions-Policy header.

SYNTAX

Set-PodeSecurityPermissionsPolicy [[-Accelerometer] <String[]>] [[-AmbientLightSensor] <String[]>]
 [[-Autoplay] <String[]>] [[-Battery] <String[]>] [[-Camera] <String[]>] [[-DisplayCapture] <String[]>]
 [[-DocumentDomain] <String[]>] [[-EncryptedMedia] <String[]>] [[-Fullscreen] <String[]>]
 [[-Gamepad] <String[]>] [[-Geolocation] <String[]>] [[-Gyroscope] <String[]>] [[-InterestCohort] <String[]>]
 [[-LayoutAnimations] <String[]>] [[-LegacyImageFormats] <String[]>] [[-Magnetometer] <String[]>]
 [[-Microphone] <String[]>] [[-Midi] <String[]>] [[-OversizedImages] <String[]>] [[-Payment] <String[]>]
 [[-PictureInPicture] <String[]>] [[-PublicKeyCredentials] <String[]>] [[-Speakers] <String[]>]
 [[-SyncXhr] <String[]>] [[-UnoptimisedImages] <String[]>] [[-UnsizedMedia] <String[]>] [[-Usb] <String[]>]
 [[-ScreenWakeLake] <String[]>] [[-WebShare] <String[]>] [[-XrSpatialTracking] <String[]>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Set the value to use for the Permissions-Policy header.

EXAMPLES

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

PARAMETERS

-Accelerometer

The values to use for the Accelerometer portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-AmbientLightSensor

The values to use for the AmbientLightSensor portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Autoplay

The values to use for the Autoplay portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Battery

The values to use for the Battery portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Camera

The values to use for the Camera portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DisplayCapture

The values to use for the DisplayCapture portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DocumentDomain

The values to use for the DocumentDomain portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-EncryptedMedia

The values to use for the EncryptedMedia portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 8
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Fullscreen

The values to use for the Fullscreen portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 9
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Gamepad

The values to use for the Gamepad portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 10
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Geolocation

The values to use for the Geolocation portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 11
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Gyroscope

The values to use for the Gyroscope portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 12
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InterestCohort

The values to use for the InterestCohort portal of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 13
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-LayoutAnimations

The values to use for the LayoutAnimations portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 14
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-LegacyImageFormats

The values to use for the LegacyImageFormats portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 15
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Magnetometer

The values to use for the Magnetometer portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 16
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Microphone

The values to use for the Microphone portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 17
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Midi

The values to use for the Midi portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 18
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OversizedImages

The values to use for the OversizedImages portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 19
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Payment

The values to use for the Payment portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 20
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PictureInPicture

The values to use for the PictureInPicture portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 21
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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

-PublicKeyCredentials

The values to use for the PublicKeyCredentials portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 22
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ScreenWakeLake

The values to use for the ScreenWakeLake portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 28
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Speakers

The values to use for the Speakers portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 23
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SyncXhr

The values to use for the SyncXhr portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 24
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UnoptimisedImages

The values to use for the UnoptimisedImages portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 25
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UnsizedMedia

The values to use for the UnsizedMedia portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 26
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Usb

The values to use for the Usb portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 27
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WebShare

The values to use for the WebShare portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 29
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-XrSpatialTracking

The values to use for the XrSpatialTracking portion of the header.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 30
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

OUTPUTS

NOTES