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
# create new key | |
ssh-keygen -f ~/.ssh/new_key |
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
@' | |
# Check if Chocolatey is installed, and if not, install it | |
if (-not (Get-Command choco -ErrorAction SilentlyContinue)) { | |
Write-Output "Chocolatey is not installed. Installing Chocolatey..." | |
Set-ExecutionPolicy Bypass -Scope Process -Force | |
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
} | |
# Install Git using Chocolatey | |
Write-Output "Installing Git..." |
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
@' | |
param ( | |
[string]$Url, | |
[string]$OutputFileName | |
) | |
if (-not $Url) { | |
Write-Host "Please provide a URL using -Url parameter." | |
exit 1 | |
} |