< Back

New-DeviceManagement_ManagedDevices_DeviceCategory

Sat Jan 18, 2020 12:25 pm

NAME New-DeviceManagement_ManagedDevices_DeviceCategory



SYNOPSIS

Creates a "microsoft.graph.deviceCategory" object.





SYNTAX

New-DeviceManagement_ManagedDevices_DeviceCategory -managedDeviceId <string> [-description <string>] [-displayName

<string>] [<CommonParameters>]



New-DeviceManagement_ManagedDevices_DeviceCategory -managedDeviceId <string> -ODataType <string> [-description

<string>] [-displayName <string>] [<CommonParameters>]





DESCRIPTION

Creates the "deviceCategory" object (which is of type "microsoft.graph.deviceCategory").



Device category



Graph call: POST ~/deviceManagement/managedDevices/{managedDeviceId}/deviceCategory





PARAMETERS

-managedDeviceId <string>

A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-displayName <string>

The "displayName" property, of type "Edm.String".



This property is on the "microsoft.graph.deviceCategory" type.



Display name for the device category.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-description <string>

The "description" property, of type "Edm.String".



This property is on the "microsoft.graph.deviceCategory" type.



Optional description for the device category.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ODataType <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-@odata.type <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



This is an alias of the ODataType parameter.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String

A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.



System.String

The "displayName" property, of type "Edm.String".



This property is on the "microsoft.graph.deviceCategory" type.



Display name for the device category.



System.String

The "description" property, of type "Edm.String".



This property is on the "microsoft.graph.deviceCategory" type.



Optional description for the device category.



System.String

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK