How to get the Hash of a file with PowerShell

When downloading files from the internet, its important to be sure that the file hasn’t been modified in anyway. Certain websites will profile a ‘hash’ of the file either on the website, or sometimes in a separate text file that can also be downloaded. Once the file has been downloaded to your workstation, you need …

Monty Hall Problem – Test Script

A quick script knocked up to test the theories in the Monty Hall Problem. Defaults to run 1000 tests, but this can be adjusted using the $NumberOfTests parameter. A second parameter controls the choice of whether to switch doors, or stick with the same one. This is the $Choice parameter and can accept the following …