{"id":13942560,"url":"https://github.com/cavo789/powershell_commands","last_synced_at":"2025-07-20T06:31:30.019Z","repository":{"id":101354645,"uuid":"287610115","full_name":"cavo789/powershell_commands","owner":"cavo789","description":"Some useful commands to run in the PowerShell console","archived":false,"fork":false,"pushed_at":"2021-11-01T21:07:18.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-07T04:30:13.238Z","etag":null,"topics":["powershell","utilities"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"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/cavo789.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}},"created_at":"2020-08-14T19:33:38.000Z","updated_at":"2023-01-10T20:17:59.000Z","dependencies_parsed_at":"2023-04-23T05:22:51.504Z","dependency_job_id":null,"html_url":"https://github.com/cavo789/powershell_commands","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cavo789/powershell_commands","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavo789%2Fpowershell_commands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavo789%2Fpowershell_commands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavo789%2Fpowershell_commands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavo789%2Fpowershell_commands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cavo789","download_url":"https://codeload.github.com/cavo789/powershell_commands/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavo789%2Fpowershell_commands/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266076350,"owners_count":23872741,"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":["powershell","utilities"],"created_at":"2024-08-08T02:01:55.953Z","updated_at":"2025-07-20T06:31:29.785Z","avatar_url":"https://github.com/cavo789.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# Powershell commands\n\n![Banner](./banner.svg)\n\n\u003e Some useful commands to run in the PowerShell console\n\n## Get list of big files\n\nRun the command below to get a list of the largest files on your disk. Place yourself either at the root of the disk or in a sub-folder to process only that folder (recursively).\n\n```bash\ngci -r -ErrorAction SilentlyContinue | sort -descending -property length | select -first 10 fullname, @{Name=\"Megabytes\";Expression={[Math]::round($_.length / 1MB, 2)}}\n```\n\nResult:\n\n| FullName                              | Megabytes |\n| ------------------------------------- | --------- |\n| C:\\...\\binaries\\apache\\logs\\error.log | 49952,22  |\n| C:\\...\\Apps.ppkg                      | 4527,05   |\n| C:\\...\\folder\\utils.exe               | 1330,3    |\n| C:\\...\\lib\\mysqlserver.lib            | 1067,64   |\n| C:\\...\\backup6.zip                    | 793,71    |\n| C:\\...\\lang.psi                       | 714,23    |\n| C:\\...\\vendor.exe                     | 700,99    |\n| C:\\...\\MigLog.xml                     | 537,53    |\n| C:\\...\\backup.jpa                     | 433,29    |\n| C:\\...\\backup-cet.jpa                 | 427,76    |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcavo789%2Fpowershell_commands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcavo789%2Fpowershell_commands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcavo789%2Fpowershell_commands/lists"}