Skip to content

Instantly share code, notes, and snippets.

@Pirognoe
Pirognoe / sqlpackage_msi.ps1
Created July 14, 2022 10:18 — forked from CodeAngry/sqlpackage_msi.ps1
Update SQLPackage via Powershell and MSI
# wait before exiting script or force update?
# .\script.ps1 -force 0 -wait 1
param ([bool] $wait = $false, [bool] $force = $false)
$global:ErrorActionPreference = 'SilentlyContinue'
$global:ProgressPreference = 'SilentlyContinue'
Clear-Host
Write-Host "**************************************************************"
@Pirognoe
Pirognoe / docker-clear.bat
Created June 15, 2022 07:35 — forked from daredude/docker-clear.bat
delete all docker container and images on windows
@echo off
FOR /f "tokens=*" %%i IN ('docker ps -aq') DO docker rm %%i
FOR /f "tokens=*" %%i IN ('docker images --format "{{.ID}}"') DO docker rmi %%i
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.