PowerShell Helper scripts to manage tools.
- Copy the files
- Open Command Line or PowerShell (Window + X, A)
- If you opened Command Prompt, then type powershell in order to use PowerShell commands
- Navigate to the scripts directory
cd your_directory
- Type
Import-Module .\UtilityHelper.psm1
- Now you can use the methods from your PowerShell session
- Enable execution policy using PowerShell Admin
Set-ExecutionPolicy Unrestricted
- Navigate to the profile path
cd (Split-Path -parent $PROFILE)
- Open the location in Explorer
ii .
- Create the user profile if it does not exist
If (!(Test-Path -Path $PROFILE )) { New-Item -Type File -Path $PROFILE -Force }
- Import the module in the PowerShell profile
Import-Module -Path script_directory -ErrorAction SilentlyContinue
Install Build Tools using Visual Studio Installer
Add Build Tools
Add-BuildTools
Install DOTNET SDK and add version to environment variable
Add latest Dotnet SDK
Add-DotnetSDK
Add specific Dotnet SDK
Add-DotnetSDK -Version 2.2
Install Service Fabric SDK.
Install Service Fabric
Add-ServiceFabric
Install Angular tools: nodeJS, npm, angular -cli and windows-build-tools globally.
Add Angular tools
Add-AngularTools
Install or update your favorite tools.
Add Or Update favorite tools
Add-Tools -Tools 'googlechrome', 'firefox', '7zip.install', 'putty.install', 'git', 'notepadplusplus.install'
Install specific tool version
Add-Tools -Tools 'git.install' -Version '2.10'