Created
March 4, 2020 01:57
-
-
Save yukozh/d257c0d81ae5ac20925773e1abd216f7 to your computer and use it in GitHub Desktop.
Install-Pester
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Pester | |
Write-Host 'Cleaning...' | |
Remove-Item './pester.zip' -Force | |
Remove-Item -Path './pester' -Recurse -Force | |
Write-Host 'Downloading Pester...' | |
Invoke-WebRequest -Uri 'https://github.com/pester/Pester/archive/4.10.1.zip' -OutFile 'pester.zip' | |
Write-Host 'Expanding Pester...' | |
Expand-Archive -Path './pester.zip' -DestinationPath './pester' | |
Write-Host 'Loading Pester Modules...' | |
Import-Module -Name 'pester' -Verbose | |
Write-Host 'Pester Loaded.' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment