Most of my scripting comes from Purpose. As the Boring Task on the file team, we had a list of DFS shares and wanted to find out how big the folders inside were. Sometimes this was ‘region\user\’, sometimes ‘region\projects\’, but often a huge list. Programs like WinDirStat we great for admins, but programatically hard to […]
Posts tagged code
MSI Silent Install – SCOM Agent
Automatically deploying things are great but sometimes applications have quirks. Hopefully, someone else with SCOM Agent issues will find this useful. Works Interactive – Fails Silently, Silently To simplify what we had originally researched as a good installer command, we had this for our interactive install; %WinDir%\System32\msiexec.exe /i \\contonso.com\dfs\install\SCOM\agent\AMD64\MOMAgent.msi USE_SETTINGS_FROM_AD=0 MANAGEMENT_GROUP=CONTOSO MANAGEMENT_SERVER_DNS=omg1v.contoso.com ACTIONS_USE_COMPUTER_ACCOUNT=1 AcceptEndUserLicenseAgreement=1 This […]
Getting around CryptoLocker
One of the most horrifying phonecalls is the confirmation that CryptoLocker is loose on the network. For a small outbreak of a previous swap-and-bate worm, we got around this by the user catching it fast, and using the Windows file server “previous versions” to restore back any files that had vanished. We were lucking in […]
Email Pattern
I have a standard Email template that I use. I get asked a lot of repetitive questions around users in Active Directory, and I will be generating CSVs of information as attachments. I then script it, and sent it to the relevant people monthly. CSVs are great – they’re small, hold alot of information onscreen, […]