View diskchecker.pl
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
#!/usr/bin/perl | |
# | |
# Brad's el-ghetto do-our-storage-stacks-lie?-script | |
# | |
sub usage { | |
die <<'END'; | |
Usage: diskchecker.pl -s <server[:port]> verify <file> | |
diskchecker.pl -s <server[:port]> create <file> <size_in_MB> | |
diskchecker.pl -l [port] |
View gist:2589971
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
## For 32bit (x86) machines; | |
PSEXEC \\Computername "C:\Program Files\AVG\AVG2012\avgmfapx.exe" /Appmode=Setup /uninstall /uilevel=Silent /dontrestart | |
## For 64bit (x64) machines; | |
PSEXEC \\Computername "C:\Program Files (x86)\AVG\AVG2012\avgmfapx.exe" /Appmode=Setup /uninstall /uilevel=Silent /dontrestart |