Skip to content

Instantly share code, notes, and snippets.

View yukozh's full-sized avatar
🥇
Busy

Yuko Zheng yukozh

🥇
Busy
View GitHub Profile
@yukozh
yukozh / Install-Pester
Created March 4, 2020 01:57
Install-Pester
# 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'
# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.