i'm getting the below error while registering the IoT Device via Powershell Command

Register-IoTDevice : The term 'Register-IoTDevice' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:11

  • $device = Register-IoTDevice @deviceParams
  •       ~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (Register-IoTDevice:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException
0

There are 0 best solutions below