Zombie Posted August 26 Share Posted August 26 I'm trying to create a powershell script that will register a device and then will send an enrollment email to the user. The script is set for a specific server and then prompts for info (api key, admin u/p, user info, device info). It should be using the correct api to register the device, but I keep getting a "404 not found" error. I'd love if someone had a bit, could look at it and see what I am missing. registerdevice6.ps1 Quote Link to comment Share on other sites More sharing options...
Employee Solution Sascha Warno Posted August 26 Employee Solution Share Posted August 26 the apiUrl parameter is missing system $apiUrl = "https://APICONSOLEURL/api/system" Quote Link to comment Share on other sites More sharing options...
Zombie Posted August 27 Author Share Posted August 27 (edited) 7 hours ago, Sascha Warno said: the apiUrl parameter is missing system $apiUrl = "https://APICONSOLEURL/api/system" That was it, thank you for that. Edited August 27 by Zombie Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.