{"id":15410778,"url":"https://github.com/rehansaeed/powershell-cheat-sheet","last_synced_at":"2025-03-28T02:47:19.284Z","repository":{"id":85769175,"uuid":"290725853","full_name":"RehanSaeed/PowerShell-Cheat-Sheet","owner":"RehanSaeed","description":" A cheat sheet for PowerShell and Windows commands.","archived":false,"fork":false,"pushed_at":"2021-02-05T10:31:39.000Z","size":12,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-02T04:15:32.537Z","etag":null,"topics":["cheat-sheet","powershell","powershell-modules","windows"],"latest_commit_sha":null,"homepage":"","language":null,"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/RehanSaeed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-27T08:53:53.000Z","updated_at":"2025-01-05T05:20:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec330172-edb5-4809-9068-c80c0d2f14c8","html_url":"https://github.com/RehanSaeed/PowerShell-Cheat-Sheet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RehanSaeed%2FPowerShell-Cheat-Sheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RehanSaeed%2FPowerShell-Cheat-Sheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RehanSaeed%2FPowerShell-Cheat-Sheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RehanSaeed%2FPowerShell-Cheat-Sheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RehanSaeed","download_url":"https://codeload.github.com/RehanSaeed/PowerShell-Cheat-Sheet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245960656,"owners_count":20700777,"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":["cheat-sheet","powershell","powershell-modules","windows"],"created_at":"2024-10-01T16:46:20.691Z","updated_at":"2025-03-28T02:47:19.257Z","avatar_url":"https://github.com/RehanSaeed.png","language":null,"readme":"# PowerShell Cheat Sheet\n\nA cheat sheet for PowerShell and Windows commands.\n\n## Help\n\n```powershell\nGet-Help Foo-Bar          # Get help on the 'Foo-Bar' command.\nGet-Help Foo-Bar -Full    # Get full help on the 'Foo-Bar' command.\nGet-Help Foo-Bar -Online  # Get help on the 'Foo-Bar' command in a browser.\nGet-Command *foo*         # Get all commands containing 'foo'.\nGet-Command -Module Foo   # Get all commands from module 'Foo'.\n```\n\n## Modules\n\n```powershell\nGet-Module -ListAvailable # List all modules.\nFind-Module *foo*         # Find all modules containing 'foo'.\nInstall-Module Foo        # Install module 'foo'.\nUninstall-Module Foo      # Uninstall module 'foo'.\nUpdate-Module Foo         # Update module 'foo'.\n```\n\n## Variables\n\n```powershell\n$LastExitCode             # The exit code from the last exited process.\n$PSVersionTable           # PowerShell and OS version.\n```\n\n## File System\n\n```powershell\npwd                       # Get the current directory path.\n```\n\n## Networking\n\n```powershell\nnetstat -aon | findstr \"5000\"   # Find process ID using port.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frehansaeed%2Fpowershell-cheat-sheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frehansaeed%2Fpowershell-cheat-sheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frehansaeed%2Fpowershell-cheat-sheet/lists"}