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
- 41 Getting started
- 25 Read before posting
- 8 Meet and greet
- 237 General
- 64 News and announcements
- 1 Swag
- 1 Roadmap updates
- 79 Resources
- 12 Knowledge Base
- 16 Webinars
- 1 Shared Script Library
- 2 Blog
- 19 Pro Tips
- 27 Got an idea?
- 3 Atera Academy
- 2 ActionAI
- 1 Copilot
- 140 Remote Monitoring and Management
- 84 Remote Monitoring
- 27 Patch Management
- 105 Professional Services Automation
- 64 Helpdesk
- 17 Billing
- 21 Reporting
- 36 Integrations & add-ons
- 20 Integrations
- 10 Add-ons
- 103 Scripting and automations
- 61 Scripts
- 30 Automations