Home » Office 365 » Enable-MsolDevice – Enables a Device in Office 365

Enable-MsolDevice – Enables a Device in Office 365

The Enable-MsolDevice cmdlet in PowerShell enables a device object in Microsoft Office 365.

The syntax to enable the device object in Azure Active Directory is given below.

Enable-MsolDevice
      -DeviceId <Guid>
     -ObjectId <Guid>
      [-Force]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

In this article, we will discuss how to use the Enable-MsolDevice cmdlet in PowerShell to enable a device object in Office 365.

How to Enable a Device using a Device ID

To enable a device object using a device ID from Office 365 with PowerShell, run the following command.

Enable-MsolDevice -DeviceId "44b30b26-aa3e-222c-3446-641fcf094fb1"

The Enable-MsolDevice command enables the device with the device ID specified by the -DeviceId parameter.

Conclusion

I hope the above article on how to use the Enable-MsolDevice cmdlet in PowerShell to enable the device in Office 365 is helpful to you.

You can find more topics about PowerShell Active Directory commands and PowerShell basics on the ShellGeek home page.

Related Links

Get-MsolDevice

Remove-MsolDevice

Disable-MsolDevice