{"id":31626408,"url":"https://github.com/saandhikaa/power-scripts","last_synced_at":"2025-10-06T19:51:55.880Z","repository":{"id":316385825,"uuid":"1019376575","full_name":"saandhikaa/power-scripts","owner":"saandhikaa","description":"A collection of practical PowerShell scripts for file management, media handling (yt-dlp, ffmpeg), and general automation tasks. Simplify your daily workflows with ready-to-use, no-fuss scripts.","archived":false,"fork":false,"pushed_at":"2025-09-24T08:33:31.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-24T10:31:49.895Z","etag":null,"topics":["ffmpeg-wrapper","powershell-7","powershell-script","yt-dlp-wrapper"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saandhikaa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-14T08:29:48.000Z","updated_at":"2025-09-24T08:33:35.000Z","dependencies_parsed_at":"2025-09-24T10:31:52.117Z","dependency_job_id":null,"html_url":"https://github.com/saandhikaa/power-scripts","commit_stats":null,"previous_names":["saandhikaa/power-scripts"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/saandhikaa/power-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saandhikaa%2Fpower-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saandhikaa%2Fpower-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saandhikaa%2Fpower-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saandhikaa%2Fpower-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saandhikaa","download_url":"https://codeload.github.com/saandhikaa/power-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saandhikaa%2Fpower-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278671749,"owners_count":26025743,"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-10-06T02:00:05.630Z","response_time":65,"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":["ffmpeg-wrapper","powershell-7","powershell-script","yt-dlp-wrapper"],"created_at":"2025-10-06T19:51:54.769Z","updated_at":"2025-10-06T19:51:55.872Z","avatar_url":"https://github.com/saandhikaa.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚡ PowerShell 7 Script Collection\n\nA personal collection of PowerShell 7 scripts to automate repetitive tasks, manage files, and process media.\n\u003cbr/\u003e\u003cbr/\u003e\u003cbr/\u003e\n\n## 📁 Scripts Overview\n\n| Script Name                 | Description |\n|-----------------------------|-------------|\n| `ytdlp`                     | Downloads videos/audio/subtitles from online sources via `yt-dlp` with simple options. |\n| `ffmpeg`                    | Wraps common `ffmpeg` tasks like audio extraction, merging, format conversion, and tag editing. |\n| `collect-files`             | Collects and copies files from nested directories based on a given list or filenames. |\n| `duplicate-check`           | Detects duplicate files by filename (excluding extension) in current and subdirectories. |\n| `get-file-list`             | Outputs a structured list of files grouped by their folder to `FileList.txt`. |\n| `rename-files`              | Renames files based on a CSV-style list, with include/exclude folder filtering. |\n| `clear-autocad-plot-suffix` | Recursively renames exported AutoCAD PDFs by removing suffixes like `-Layout1` or `-Model`. |\n| `image2pdf`                 | Converts all images in a folder into individual PDFs using Microsoft Print to PDF. |\n| `pwsh-context-menu`         | Quickly add or remove right-click context menu entries to open PowerShell 7 in any folder or folder background. |\n\n\u003cbr/\u003e\n\n**Note:** You can run this script with `-Help` option to display all available options along with usage instructions and examples.\n\u003cbr/\u003e\u003cbr/\u003e\u003cbr/\u003e\n\n## ⚙️ Setup on Windows\n\nThis script collection works best with **PowerShell 7+**. Follow these steps to get started:\n\u003cbr/\u003e\u003cbr/\u003e\n\n### 1. Install PowerShell 7\n\nIf you're still using Windows PowerShell 5.1, it's strongly recommended to upgrade to PowerShell 7 for better performance and compatibility.\n\n- Visit the official GitHub releases page [here](https://github.com/PowerShell/PowerShell/releases/latest).\n\n- Scroll down to the \"Assets\" section.\n\n- Download the appropriate installer for your system: `PowerShell-\u003cversion\u003e-win-x64.msi`.\nExample: `PowerShell-7.5.2-win-x64.msi`\n\n- Open the .msi file to start the installation and follow the setup wizard.\n\nOnce installed, **open PowerShell 7** (you can find it as `PowerShell 7` in your Start Menu or run `pwsh` from any terminal).\n\u003cbr/\u003e\u003cbr/\u003e\n\n### 2. Clone This Repository to Your PowerShell Folder\n\nInside your PowerShell 7 terminal, you can use either method below to set up the repository inside your PowerShell folder:\n\nWithout Git (using `curl`):\n\n```powershell\ncurl -L -o \"$env:TEMP\\repo.zip\" \"https://github.com/saandhikaa/power-scripts/archive/refs/heads/main.zip\"; Expand-Archive \"$env:TEMP\\repo.zip\" \"$env:TEMP\\repo\" -Force; Move-Item \"$env:TEMP\\repo\\power-scripts-main\\*\" \"$HOME\\Documents\\PowerShell\\\" -Force; Remove-Item \"$env:TEMP\\repo.zip\",\"$env:TEMP\\repo\" -Recurse -Force\n```\n\u003cbr/\u003e\n\nOr, with Git (if installed):\n\n```powershell\ngit clone https://github.com/saandhikaa/power-scripts.git \"$HOME\\Documents\\PowerShell\"\n```\n\nThis will place the scripts directly under your `Documents\\PowerShell\\` folder.\n\u003cbr/\u003e\u003cbr/\u003e\n\n### 3. Add Script Folder to PATH\n\nTo use your scripts globally (from any folder), run:\n\n```powershell\n[Environment]::SetEnvironmentVariable(\"PATH\", $env:PATH + \";$HOME\\Documents\\PowerShell\\Scripts\", \"User\")\n```\n\nThen restart your terminal.\n\u003cbr/\u003e\u003cbr/\u003e\n\n### 4. Allow Scripts to Run\n\nIf this is your first time running custom PowerShell scripts, you may need to allow it:\n\n```powershell\nSet-ExecutionPolicy -Scope CurrentUser RemoteSigned\n```\n\nWhen prompted, type `Y` to confirm.\n\u003cbr/\u003e\u003cbr/\u003e\n\n### 5. Enable PowerShell 7 context menu (optional):\n\nOpen PowerShell 7 as Administrator, run: \n```powershell\npwsh-context-menu.ps1 -Enable\n```\n\n🎉 That’s it! You’re now ready to use the scripts to simplify your file handling and automation tasks.\n\u003cbr/\u003e\u003cbr/\u003e\u003cbr/\u003e\n\n## 📦 External Tools\n\nSome scripts rely on external tools stored in the `Library/` directory:\n\n| Tool     | Path                            | GitHub / Source Link                                  |\n|----------|----------------------------------|--------------------------------------------------------|\n| `yt-dlp` | `Library/ytdlp/yt-dlp.exe`      | [github.com/yt-dlp/yt-dlp](https://github.com/yt-dlp/yt-dlp) |\n| `ffmpeg` | `Library/ytdlp/ffmpeg.exe`      | [github.com/FFmpeg/FFmpeg](https://github.com/FFmpeg/FFmpeg) |\n\nThese tools are downloaded and maintained automatically if missing. They are excluded from Git tracking.\n\u003cbr/\u003e\u003cbr/\u003e\u003cbr/\u003e\n\n## 💡 Contribution\n\nWant to improve or add new features?\n\n- Fork this repo\n- Create a branch: `git checkout -b feat/feature-name`\n- Commit your changes\n- Push and open a pull request\n\nLet's build something helpful together!\n\u003cbr/\u003e\u003cbr/\u003e\u003cbr/\u003e\n\n## 📄 License\n\nThis repository is intended for personal use and experimentation. You’re free to adapt it to your own workflows.\n\u003cbr/\u003e\u003cbr/\u003e\u003cbr/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaandhikaa%2Fpower-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaandhikaa%2Fpower-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaandhikaa%2Fpower-scripts/lists"}