New-AzureADDevice  
	
   
 
	
	Syntax 
	
		Default (Default)
	 
	
		New-AzureADDevice
    -AccountEnabled <Boolean>
    -AlternativeSecurityIds <System.Collections.Generic.List`1[Microsoft.Open.AzureAD.Model.AlternativeSecurityId]>
    [-ApproximateLastLogonTimeStamp <DateTime>]
    -DeviceId <String>
    [-DeviceMetadata <String>]
    [-DeviceObjectVersion <Int32>]
    -DeviceOSType <String>
    -DeviceOSVersion <String>
    [-DevicePhysicalIds <System.Collections.Generic.List`1[System.String]>]
    [-DeviceTrustType <String>]
    -DisplayName <String>
    [-IsCompliant <Boolean>]
    [-IsManaged <Boolean>]
    [-ProfileType <String>]
    [-SystemLabels <System.Collections.Generic.List`1[System.String]>]
    [<CommonParameters>]
 
	 
	Description 
	
		The New-AzureADDevice cmdlet creates a device in Azure Active Directory (AD).
	 
	Examples 
	Example 1: Create a device 
	
		PS C:\>New-AzureADDevice -AccountEnabled $true -DisplayName "My new device" -AlternativeSecurityIds $altsecid -DeviceId $guid -DeviceOSType "OS/2" -DeviceOSVersion "9.3"
ObjectId                             DeviceId                             DisplayName
--------                             --------                             -----------
99a1915d-298f-42d1-93ae-71646b85e2fa 5547679b-809d-4e2c-9820-3c4401a573a8 My new device
 
This command creates a new device.
	 
	Parameters 
		-AccountEnabled  
		Indicates whether the account is enabled.
		Parameter properties 
		
				Type: Boolean 
 
				Default value: None  
				Supports wildcards: False  
				DontShow: False  
		
		Parameter sets 
			
				
					(All) 
					
						 
					 
				 
				
						Position: Named  
						Mandatory: True  
						Value from pipeline: False  
						Value from pipeline by property name: False  
						Value from remaining arguments: False  
				
			 
		-AlternativeSecurityIds   
		@{Text=}
		Parameter properties 
		
				Type: List<T> [ Microsoft.Open.AzureAD.Model.AlternativeSecurityId ] 
 
				Default value: None  
				Supports wildcards: False  
				DontShow: False  
		
		Parameter sets 
			
				
					(All) 
					
						 
					 
				 
				
						Position: Named  
						Mandatory: True  
						Value from pipeline: False  
						Value from pipeline by property name: False  
						Value from remaining arguments: False  
				
			 
		-ApproximateLastLogonTimeStamp     
		@{Text=}
		Parameter properties 
		
				Type: DateTime 
 
				Default value: None  
				Supports wildcards: False  
				DontShow: False  
		
		Parameter sets 
			
				
					(All) 
					
						 
					 
				 
				
						Position: Named  
						Mandatory: False  
						Value from pipeline: False  
						Value from pipeline by property name: False  
						Value from remaining arguments: False  
				
			 
		-DeviceId  
		Specifies the ID of the device.
		Parameter properties 
		
				Type: String 
 
				Default value: None  
				Supports wildcards: False  
				DontShow: False  
		
		Parameter sets 
			
				
					(All) 
					
						 
					 
				 
				
						Position: Named  
						Mandatory: True  
						Value from pipeline: False  
						Value from pipeline by property name: False  
						Value from remaining arguments: False  
				
			 
		
		The metadata for this device
		
		
				Type: String 
 
				Default value: None  
				Supports wildcards: False  
				DontShow: False  
		
		
			
				
					(All) 
					
						 
					 
				 
				
						Position: Named  
						Mandatory: False  
						Value from pipeline: False  
						Value from pipeline by property name: False  
						Value from remaining arguments: False  
				
			 
		-DeviceObjectVersion   
		Specifies the object version of the device.
		Parameter properties 
		
				Type: Int32 
 
				Default value: None  
				Supports wildcards: False  
				DontShow: False  
		
		Parameter sets 
			
				
					(All) 
					
						 
					 
				 
				
						Position: Named  
						Mandatory: False  
						Value from pipeline: False  
						Value from pipeline by property name: False  
						Value from remaining arguments: False  
				
			 
		-DeviceOSType  
		Specifies the operating system type of the new device.
		Parameter properties 
		
				Type: String 
 
				Default value: None  
				Supports wildcards: False  
				DontShow: False  
		
		Parameter sets 
			
				
					(All) 
					
						 
					 
				 
				
						Position: Named  
						Mandatory: True  
						Value from pipeline: False  
						Value from pipeline by property name: False  
						Value from remaining arguments: False  
				
			 
		-DeviceOSVersion  
		Specifies the operating system version of the new device.
		Parameter properties 
		
				Type: String 
 
				Default value: None  
				Supports wildcards: False  
				DontShow: False  
		
		Parameter sets 
			
				
					(All) 
					
						 
					 
				 
				
						Position: Named  
						Mandatory: True  
						Value from pipeline: False  
						Value from pipeline by property name: False  
						Value from remaining arguments: False  
				
			 
		-DevicePhysicalIds   
		@{Text=}
		Parameter properties 
		
				Type: List<T> [ String ] 
 
				Default value: None  
				Supports wildcards: False  
				DontShow: False  
		
		Parameter sets 
			
				
					(All) 
					
						 
					 
				 
				
						Position: Named  
						Mandatory: False  
						Value from pipeline: False  
						Value from pipeline by property name: False  
						Value from remaining arguments: False  
				
			 
		-DeviceTrustType   
		The trust type for this device
		Parameter properties 
		
				Type: String 
 
				Default value: None  
				Supports wildcards: False  
				DontShow: False  
		
		Parameter sets 
			
				
					(All) 
					
						 
					 
				 
				
						Position: Named  
						Mandatory: False  
						Value from pipeline: False  
						Value from pipeline by property name: False  
						Value from remaining arguments: False  
				
			 
		-DisplayName  
		Specifies the display name of the new device.
		Parameter properties 
		
				Type: String 
 
				Default value: None  
				Supports wildcards: False  
				DontShow: False  
		
		Parameter sets 
			
				
					(All) 
					
						 
					 
				 
				
						Position: Named  
						Mandatory: True  
						Value from pipeline: False  
						Value from pipeline by property name: False  
						Value from remaining arguments: False  
				
			 
		-IsCompliant  
		true if the device complies with Mobile Device Management (MDM) policies; otherwise, false.
		Parameter properties 
		
				Type: Boolean 
 
				Default value: None  
				Supports wildcards: False  
				DontShow: False  
		
		Parameter sets 
			
				
					(All) 
					
						 
					 
				 
				
						Position: Named  
						Mandatory: False  
						Value from pipeline: False  
						Value from pipeline by property name: False  
						Value from remaining arguments: False  
				
			 
		-IsManaged  
		true if the device is managed by a Mobile Device Management (MDM) app such as Intune; otherwise, false
		Parameter properties 
		
				Type: Boolean 
 
				Default value: None  
				Supports wildcards: False  
				DontShow: False  
		
		Parameter sets 
			
				
					(All) 
					
						 
					 
				 
				
						Position: Named  
						Mandatory: False  
						Value from pipeline: False  
						Value from pipeline by property name: False  
						Value from remaining arguments: False  
				
			 
		-ProfileType  
		{{ Fill ProfileType Description }}
		Parameter properties 
		
				Type: String 
 
				Default value: None  
				Supports wildcards: False  
				DontShow: False  
		
		Parameter sets 
			
				
					(All) 
					
						 
					 
				 
				
						Position: Named  
						Mandatory: False  
						Value from pipeline: False  
						Value from pipeline by property name: False  
						Value from remaining arguments: False  
				
			 
		-SystemLabels  
		{{ Fill SystemLabels Description }}
		Parameter properties 
		
				Type: List<T> [ String ] 
 
				Default value: None  
				Supports wildcards: False  
				DontShow: False  
		
		Parameter sets 
			
				
					(All) 
					
						 
					 
				 
				
						Position: Named  
						Mandatory: False  
						Value from pipeline: False  
						Value from pipeline by property name: False  
						Value from remaining arguments: False  
				
			 
		CommonParameters 
		
			This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
		 
	Notes