{"id":14063730,"url":"https://github.com/PowerShellCrack/PSCombineAutoPilotHashes","last_synced_at":"2025-07-29T16:31:24.325Z","repository":{"id":111449978,"uuid":"433613211","full_name":"PowerShellCrack/PSCombineAutoPilotHashes","owner":"PowerShellCrack","description":"Combine single exported Autopilot hashes","archived":false,"fork":false,"pushed_at":"2024-04-14T15:52:42.000Z","size":16,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-05T08:09:37.635Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PowerShellCrack.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-11-30T22:59:55.000Z","updated_at":"2024-01-24T12:03:39.000Z","dependencies_parsed_at":"2025-04-11T20:21:46.753Z","dependency_job_id":"2b976e07-30a2-45ea-8555-0371fefea3fe","html_url":"https://github.com/PowerShellCrack/PSCombineAutoPilotHashes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PowerShellCrack/PSCombineAutoPilotHashes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShellCrack%2FPSCombineAutoPilotHashes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShellCrack%2FPSCombineAutoPilotHashes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShellCrack%2FPSCombineAutoPilotHashes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShellCrack%2FPSCombineAutoPilotHashes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PowerShellCrack","download_url":"https://codeload.github.com/PowerShellCrack/PSCombineAutoPilotHashes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShellCrack%2FPSCombineAutoPilotHashes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267718273,"owners_count":24133448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-13T07:03:28.857Z","updated_at":"2025-07-29T16:31:23.960Z","avatar_url":"https://github.com/PowerShellCrack.png","language":"PowerShell","readme":"# PSCombineAutopilotHashes\n\nThis is a simple script that will Combine multiple Autopilot Exported csv files into a single Autopilot list to be imported into Autopilot Devices\n\n## Parameters\n\n- **HashFilesPath** --\u003e Specify a folder path to the Autopilot hash files.\n- **Append** --\u003eAdds to an existing file. \n\n\n\n## How to use\n\n1. Download Repo\n2. Create a _Files_ Folder\n3. Copy all exported hardware hash csv files to _Files_ folder\n4. run _CombineAutopilotHashes.ps1_ using PowerShell\n\n```powershell\n    PS\u003e .\\CombineAutopilotHashes.ps1\n ```\n\u003e RESULT: Searches in Files folder in same directory as script and builds combined list\n\n```powershell\n    PS\u003e .\\CombineAutopilotHashes.ps1 -HashFilesPath C:\\AutopilotExports\n ```\n\u003e RESULT: Searches in C:\\AutopilotExports for csv files and builds combined list\n\n ```powershell\n    PS\u003e .\\CombineAutopilotHashes.ps1 -HashFilesPath C:\\AutopilotExports -Append\n ```\n\u003e RESULT: Searches in C:\\AutopilotExports for csv files, and imports existing combined list and adds more entries\n\u003e WARNING: This could have duplicates if same csv exist (don't use _-Append_ if that is the case)\n\n5. Import _CombinedHashes.csv_ to Autopilot devices (see _Output_ section)\n\n## Output\n\nScript will output a file named _CombinedHashes.csv_ the root directory. Use this to import the list into Intune using the _WindowsAutopilotIntune_ module\n\n ```powershell\nInstall-Module  WindowsAutopilotIntune -MinimumVersion 5.3 -Scope AllUsers\nConnect-MgGraph\nImport-AutopilotCSV -csvFile .\\CombinedHashes.csv\n ```\n\n## TODO\n\n- checks what is already imported and only imports new serials\n- A UI that will show all imports\n\n# DISCLAIMER\n\u003e Even though I have tested this to the extend that I could I want to ensure your aware of Microsoft’s position on developing scripts.\n\nThis Sample Code is provided for the purpose of illustration only and is not\nintended to be used in a production environment.  THIS SAMPLE CODE AND ANY\nRELATED INFORMATION ARE PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.  We grant You a\nnonexclusive, royalty-free right to use and modify the Sample Code and to\nreproduce and distribute the object code form of the Sample Code, provided\nthat You agree: (i) to not use Our name, logo, or trademarks to market Your\nsoftware product in which the Sample Code is embedded; (ii) to include a valid\ncopyright notice on Your software product in which the Sample Code is embedded;\nand (iii) to indemnify, hold harmless, and defend Us and Our suppliers from and\nagainst any claims or lawsuits, including attorneys’ fees, that arise or result\nfrom the use or distribution of the Sample Code.\n\nThis posting is provided \"AS IS\" with no warranties, and confers no rights. Use\nof included script samples are subject to the terms specified\nat https://www.microsoft.com/en-us/legal/copyright.\n","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPowerShellCrack%2FPSCombineAutoPilotHashes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPowerShellCrack%2FPSCombineAutoPilotHashes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPowerShellCrack%2FPSCombineAutoPilotHashes/lists"}