New-IDDevice
SYNOPSIS
Enroll a mobile device
SYNTAX
New-IDDevice [-Platform] <String> [[-Version] <String>] [[-Os] <String>] [[-SimpleName] <String>]
[[-Udid] <String>] [[-Imei] <String>] [[-Manufacturer] <String>] [[-Name] <String>] [-WhatIf]
[-Confirm] [<CommonParameters>]
DESCRIPTION
Enrolls an Android or iOS mobile device against the current user’s account.
EXAMPLES
Example 1
PS C:\> New-IDDevice -Platform 'Android' -Name 'My Phone' -Udid 'someudid' -Os 'Android 14'
Enrolls an Android device.
PARAMETERS
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Imei
The device’s IMEI number.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Manufacturer
The device’s manufacturer.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Name
A friendly name for the device.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Os
The device’s operating system version string.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Platform
The device platform to enroll - ‘Android’ or ‘iOS’. Selects which underlying endpoint is called.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: Android, iOS
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SimpleName
A simple/short display name for the device.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Udid
The device’s unique device identifier.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Version
The app/enrollment client version string.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
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.