{"id":19846329,"url":"https://github.com/name/disk-cleanup","last_synced_at":"2025-02-28T20:18:36.292Z","repository":{"id":177964180,"uuid":"661140425","full_name":"name/disk-cleanup","owner":"name","description":"Disk Cleanup Script in PowerShell","archived":false,"fork":false,"pushed_at":"2023-07-03T09:57:31.000Z","size":2191,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T12:36:56.256Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/name.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-01T23:10:48.000Z","updated_at":"2025-01-11T06:46:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"830cbfb7-7caf-4945-b2b6-cf34dcc2912d","html_url":"https://github.com/name/disk-cleanup","commit_stats":null,"previous_names":["name/disk-cleanup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/name%2Fdisk-cleanup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/name%2Fdisk-cleanup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/name%2Fdisk-cleanup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/name%2Fdisk-cleanup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/name","download_url":"https://codeload.github.com/name/disk-cleanup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241225258,"owners_count":19930134,"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-12T13:11:13.450Z","updated_at":"2025-02-28T20:18:36.273Z","avatar_url":"https://github.com/name.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Disk Cleanup Script\n\nThis script is used to clean up the disk space on a Windows machine. This is compatible with Windows 10+, Windows Server 2012 R2+, and limited support for Windows Server 2008 R2.\n\n## Usage\n\nThe script can be run in two ways:\n\n1. **Report Mode** - This mode will run the script and output a report of useful information to help with manual cleanup.\n2. **Cleanup Mode** - This mode will run the script and perform the cleanup automatically.\n\n## How to Run\n\nYou can run the script by opening an Administrative PowerShell window and running the following command depending on the mode you want to run:\n\n```powershell\n# Requires PowerShell 3.0+\n\n## If you receive a 'iwr : The request was aborted: Could not create SSL/TLS secure channel.' error, enter the below:\n[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12\n\n## Report Mode\niex (iwr 'https://raw.githubusercontent.com/name/disk-cleanup/main/disk-cleanup.ps1')\n\n## Cleanup Mode\nInvoke-WebRequest -Uri 'https://raw.githubusercontent.com/name/disk-cleanup/main/disk-cleanup.ps1' -OutFile 'disk-cleanup.ps1' ; \u0026 '.\\disk-cleanup.ps1' -clean\n```\n\n## Examples\n\n### Report Mode\n\n![Report Mode](./images/report-mode.png)\n\n### Cleanup Mode\n\n![Cleanup Mode](./images/cleanup-mode.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fname%2Fdisk-cleanup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fname%2Fdisk-cleanup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fname%2Fdisk-cleanup/lists"}