Use Atera Scripts to add computer to Intune Autopilot remotely
I'm attempting to add about 30 computers on my network to our intune autopilot and I need to collect the serial number and hash for each computer and submit it to intune. I'll then wipe the computer and have an enrolled intune device.
I'm running into an issue with getting my script to run
where it fails to "Install-Script get-windowsautopilotinfo -Confirm:$false -Force:$true" line 10 in the link above. I'm using all the tricks to get it to install in hopes of bypassing the y/n question it asks but for whatever reason it won't install properly.Anyone else done this without having to go to each PC and use a USB to run said script?
Tagged:
0
Comments
-
Hi @jtucker , Sarah from Atera here.
I have opened a ticket for you with our support team, they should be able to assist!
0 -
Pretty sure you have to do this before finishing the setup of the machines.
Otherwise, you are looking at a Hybrid join scenario, but I could be wrong.0
Topics
- All Topics
- 40 Getting started
- 24 Read before posting
- 8 Meet and greet
- 232 General
- 63 News and announcements
- 1 Swag
- 1 Roadmap updates
- 75 Resources
- 12 Knowledge Base
- 14 Webinars
- 1 Shared Script Library
- 2 Blog
- 18 Pro Tips
- 26 Got an idea?
- 3 Atera Academy
- 2 ActionAI
- 1 Copilot
- 132 Remote Monitoring and Management
- 82 Remote Monitoring
- 25 Patch Management
- 103 Professional Services Automation
- 64 Helpdesk
- 17 Billing
- 19 Reporting
- 35 Integrations & add-ons
- 20 Integrations
- 10 Add-ons
- 102 Scripting and automations
- 61 Scripts
- 29 Automations