Get-CPCUserSettingsPolicy
SYNOPSIS
Returns all User Setting Policy's or User Setting Policy's with a specific name
SYNTAX
Get-CPCUserSettingsPolicy [-Name <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
The function will return all User Setting Policy's or User Setting Policy's with a specific name. The name must match exactly, but is not case-sensitive. When no policy matches, nothing is returned.
EXAMPLES
EXAMPLE 1
Get-CPCUserSettingsPolicy -name "UserSettingPolicy01"
EXAMPLE 2
Get-CPCUserSettingsPolicy
PARAMETERS
-Name
Enter the name of the User Setting Policy
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction
Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by Write-Progress.
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
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
Required permission: CloudPC.Read.All https://learn.microsoft.com/graph/api/virtualendpoint-list-usersettings?view=graph-rest-beta