Get-MgBetaDeviceManagementDeviceCompliancePolicyNoncompliantDeviceToRetire
Invoke action getNoncompliantDevicesToRetire
Syntax
Get-MgBetaDeviceManagementDeviceCompliancePolicyNoncompliantDeviceToRetire
-OutFile <String>
[-ResponseHeadersVariable <String>]
[-AdditionalProperties <Hashtable>]
[-Filter <String>]
[-GroupBy <String[]>]
[-Name <String>]
[-Property <String[]>]
[-Search <String>]
[-SessionId <String>]
[-Skip <Int32>]
[-Sort <String[]>]
[-Top <Int32>]
[-Headers <IDictionary>]
[-PassThru]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Get-MgBetaDeviceManagementDeviceCompliancePolicyNoncompliantDeviceToRetire
-OutFile <String>
-BodyParameter <IPathsPosmw2DevicemanagementDevicecompliancepoliciesMicrosoftGraphGetnoncompliantdevicestoretirePostRequestbodyContentApplicationJsonSchema>
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-PassThru]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Invoke action getNoncompliantDevicesToRetire
Permissions
Permission type
Permissions (from least to most privileged)
Delegated (work or school account)
DeviceManagementConfiguration.Read.All, DeviceManagementConfiguration.ReadWrite.All,
Delegated (personal Microsoft account)
Not supported
Application
DeviceManagementConfiguration.Read.All, DeviceManagementConfiguration.ReadWrite.All,
Parameters
-AdditionalProperties
Additional Parameters
Type: Hashtable
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-BodyParameter
To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
Type: IPathsPosmw2DevicemanagementDevicecompliancepoliciesMicrosoftGraphGetnoncompliantdevicestoretirePostRequestbodyContentApplicationJsonSchema
Position: Named
Default value: None
Required: True
Accept pipeline input: True
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Aliases: cf
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-Filter
Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-GroupBy
Type: String [ ]
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
Optional headers that will be added to the request.
Type: IDictionary
Position: Named
Default value: None
Required: False
Accept pipeline input: True
Accept wildcard characters: False
-Name
Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-OutFile
Path to write output file to
Type: String
Position: Named
Default value: None
Required: True
Accept pipeline input: False
Accept wildcard characters: False
-PassThru
Returns true when the command succeeds
Type: SwitchParameter
Position: Named
Default value: False
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction
{{ Fill ProgressAction Description }}
Type: ActionPreference
Aliases: proga
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-Property
Type: String [ ]
Aliases: Select
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
Optional Response Headers Variable.
Type: String
Aliases: RHV
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-Search
Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-SessionId
Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-Skip
Type: Int32
Position: Named
Default value: 0
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-Sort
Type: String [ ]
Aliases: OrderBy
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-Top
Type: Int32
Aliases: Limit
Position: Named
Default value: 0
Required: False
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.
Type: SwitchParameter
Aliases: wi
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
Microsoft.Graph.Beta.PowerShell.Models.IPathsPosmw2DevicemanagementDevicecompliancepoliciesMicrosoftGraphGetnoncompliantdevicestoretirePostRequestbodyContentApplicationJsonSchema
System.Collections.IDictionary
Outputs
Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties.
For information on hash tables, run Get-Help about_Hash_Tables.
BODYPARAMETER <IPathsPosmw2DevicemanagementDevicecompliancepoliciesMicrosoftGraphGetnoncompliantdevicestoretirePostRequestbodyContentApplicationJsonSchema>
: .
[(Any) <Object>]
: This indicates any property can be added to this object.
[Filter <String>]
:
[GroupBy <String-
[]>]
:
[Name <String>]
:
[OrderBy <String-
[]>]
:
[Search <String>]
:
[Select <String-
[]>]
:
[SessionId <String>]
:
[Skip <Int32?>]
:
[Top <Int32?>]
: