{"repo":"stevencohn/WindowsPowerShell","free":true,"listed":false,"github":"https://github.com/stevencohn/WindowsPowerShell","clone":"git clone https://github.com/stevencohn/WindowsPowerShell.git","description":"Advanced PowerShell scripts and profile enhancements for common use cases","language":"PowerShell","stars":215,"topics":["powershell-script","powershell-console","conemu-color-scheme","powershell-command","ise-theme","tweaks","sysadmin-tasks","powershell-profile","powershell","powershell-scripts"],"license":"MPL-2.0","category":"workflow-automation","readme_excerpt":"PowerShell Scripts This repo contains my custom PowerShell profile scripts. It also contains scripts to automate the configuration of a new machine and installation of common apps and tools that I frequently use. How to install This entire repo can be overlayed ontop of your Documents\\PowerShell folder. As with all PowerShell scripts, you'll need to loosen up the execution policy on new machines. If starting from scratch on a fresh machine: Set PATH Ensure that the scripts are discoverable by adding their folder to your System-wide environment variable definitions: C:\\Users\\username\\Documents\\PowerShell\\Modules\\Scripts Then execute Initialize-Machine: The script is re-entrant so can be run multiple times without a problem. You can then delete these files since they exist in the Documents\\WindowsPowerShell folder too: Alternatives Initialize-Machine downloads the repo to Documents\\WindowsPowerShell. If you already have Git installed and would prefer to manually download the repo and run Initialize-Machine from there: Or if you download the repo as a Zip file, you'll need to unblock all files after unzipping: See also the other configuration scripts below. Commands These scripts are located in the Modules\\Scripts folder. Clear-Events [-Quiet] Clear all events from the Windows Event Log. Clear-Temp [-Quiet] Clear the contents of TEMP, Windows\\TEMP, and LocalAppData\\TEMP. Connect-AwsLogin [-Profile] [-Account] [-Device] [-Code] Sign in to AWS CLI using MFA for the configured prof","default_branch":null,"files":null,"tree":[],"storefront":"/r/stevencohn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stevencohn/WindowsPowerShell/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}