View assert-safe-removal.bash
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
#!/bin/bash | |
function get-checksums-with-names { | |
find $1 -type f -exec basename "{}" \; > $2.names | |
#find $1 -type f -exec md5sum "{}" \; > $2.fullpaths.md5sum | |
#cut -c-32 $2.fullpaths.md5sum > $2.just.md5sum | |
#paste -d '|' $2.just.md5sum $2.names > $2.names.md5sum | |
} | |
get-checksums-with-names $1 $2 |
View azure-streisand-firewall-setup.sh
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
#!/bin/sh | |
# Choose subscription to use like this: | |
# az account list --output table | |
# az account set --subscription "Visual Studio Professional with MSDN" | |
# az account set --subscription "Visual Studio Enterprise with MSDN" | |
RG_NAME=phalanx | |
NSG_NAME=phalanx-nsg |