{"id":19483122,"url":"https://github.com/spedrickson/adb-powershell","last_synced_at":"2025-10-18T01:05:45.409Z","repository":{"id":181131033,"uuid":"418043559","full_name":"spedrickson/adb-powershell","owner":"spedrickson","description":"Unofficial powershell wrapper for adb","archived":false,"fork":false,"pushed_at":"2021-10-25T03:46:26.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T17:45:29.912Z","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/spedrickson.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2021-10-17T06:39:42.000Z","updated_at":"2024-12-18T07:19:44.000Z","dependencies_parsed_at":"2023-07-14T09:02:01.368Z","dependency_job_id":null,"html_url":"https://github.com/spedrickson/adb-powershell","commit_stats":null,"previous_names":["spedrickson/adb-powershell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/spedrickson/adb-powershell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spedrickson%2Fadb-powershell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spedrickson%2Fadb-powershell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spedrickson%2Fadb-powershell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spedrickson%2Fadb-powershell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spedrickson","download_url":"https://codeload.github.com/spedrickson/adb-powershell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spedrickson%2Fadb-powershell/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264585372,"owners_count":23632646,"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","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-11-10T20:13:40.836Z","updated_at":"2025-10-18T01:05:45.321Z","avatar_url":"https://github.com/spedrickson.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# adb-powershell\nThis is an unofficial PowerShell wrapper for [Android Debug Bridge](https://developer.android.com/studio/command-line/adb) (`adb`). It adds pipeline support, named parameters, error handling, and output as powershell objects. \n\nIt currently only supports `Send-AdbFile`.   \nThe intent is to add functions `Read-AdbFile` and `Remove-AdbFile` \n\n## Requirements\nPowerShell (Written with 7.0.x, but may work on older versions)\n\n`adb` must be present on the system path. I recommend installing with [scoop](https://scoop.sh/).  \n`scoop install adb`\n\nYou must setup adb over wifi at least once before this will work. See the ADB page above for setup instructions. \n\n## Installation\nThis isn't ready for Powershell Gallery yet, so the best way would be to run:  \n```powershell\ngit clone https://github.com/spedrickson/adb-powershell.git \"${env:UserProfile}\\Documents\\Powershell\\Modules\\adb-powershell\"\n```\nThis will clone the repo into the module directory for the current user. Restart Powershell to automatically load. \n\n## Configuration\n`adb-powershell` will load default values for `-IPAddress`, `-Port`, and `-Destination` if they are not set at runtime.\n\nThese defaults are loaded from `adb_defaults.cfg` from the same directory the script is stored in.\n\n## Usage\nSends a file to the default directory on the default adb device. Defaults can be set in `adb_defaults.cfg`.\n```powershell\nSend-AdbFile C:\\test.log\n```\n\nSame as previous, but with a specific IP and port for the adb device.\n```powershell\nSend-AdbFile C:\\test.log -IPAddress 192.168.1.60 -Port 5555\n```\n\nSends a file to a specific directory on the default adb device.\n```powershell \nSend-AdbFile C:\\test.log /storage/emulated/0/Download\n```\n\nSame as previous, but using named params. \n```powershell\nSend-AdbFile -Source C:\\test.log -Destination /storage/emulated/0/Download\n```\n\nSend all mp3 files in the current directory to your phone's music directory\n```powershell\nGet-ChildItem *.mp3 | Send-AdbFile -d /storage/emulated/0/Music  \n```\n\nSend a list of files to the default destination and limit the output to any that didn't succeed\n```powershell\nSend-AdbFile -Source $fileList | Where-Object {-not $_.Succeeded}\n```\n\n## License\nThis software uses the MIT license. Full details can be found in `LICENSE.md`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspedrickson%2Fadb-powershell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspedrickson%2Fadb-powershell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspedrickson%2Fadb-powershell/lists"}