{"id":14063831,"url":"https://github.com/codenewa/helpful-alias-powershell","last_synced_at":"2025-07-29T16:34:18.066Z","repository":{"id":86888314,"uuid":"471104478","full_name":"codenewa/helpful-alias-powershell","owner":"codenewa","description":"Useful powershell alias","archived":false,"fork":false,"pushed_at":"2022-11-22T16:46:06.000Z","size":14,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-13T07:05:33.796Z","etag":null,"topics":["alias","new-alias","powershell","shortcut","windows"],"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/codenewa.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}},"created_at":"2022-03-17T18:49:51.000Z","updated_at":"2024-02-29T04:31:35.000Z","dependencies_parsed_at":"2023-05-29T17:30:22.084Z","dependency_job_id":null,"html_url":"https://github.com/codenewa/helpful-alias-powershell","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/codenewa%2Fhelpful-alias-powershell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenewa%2Fhelpful-alias-powershell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenewa%2Fhelpful-alias-powershell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenewa%2Fhelpful-alias-powershell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codenewa","download_url":"https://codeload.github.com/codenewa/helpful-alias-powershell/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228032910,"owners_count":17858913,"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":["alias","new-alias","powershell","shortcut","windows"],"created_at":"2024-08-13T07:03:31.771Z","updated_at":"2024-12-04T02:30:29.398Z","avatar_url":"https://github.com/codenewa.png","language":"PowerShell","readme":"# helpful-alias-powershell\nSome helpfule powershell alias.\n\n## Steps\n1. Create tools folder under c:\n2. Add clean.ps1, find.ps1, and start-as-admin.ps1 in c:\\tools.\n3. in start-as-admin.ps1, update your credentials. //TODO: might be possible to use encrypted password since it's in risk of being exposed. \n4. save profile.ps1 to `c:\\windows\\system32\\windowspowershell\\v1.0`\n5. Restart your powershell\n\n\n## What's available\n1. `find`: recursive search in a directory\n2. `admin`: start following tools in admin mode: \n    1. `np`: notepad++\n    2. `code`: vscode\n    3. `wt`: windows terminal\n4. `clean`: Deep clean of everything in a visual studio solution folder. Deletes `bin`, `obj`, `packages`, also cleans `temp` folders, and `nuget cache`. \n5. `vs \u003csolutionfile\u003e`: open solution in vs2022.\n6. `vs19 \u003csolutionFile\u003e`: open solution in vs2019.\n7. `e`: Shortcut for explorer.\n8. `passwd`: this saves the admin password in an encrypted file. Use the `-admin` switch to set the credential for the `admin` alias.\n","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenewa%2Fhelpful-alias-powershell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodenewa%2Fhelpful-alias-powershell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenewa%2Fhelpful-alias-powershell/lists"}