Page 1 of 1

Build 3202 PowerShell Script

Posted: Sun 21 Aug 2022 2:18 pm
by water01
Thought I would try out the MD5 hash checker and ran into two problems.

1) The example in the release notes is incorrect
.\MXutils\windowsCheckMD5HashFile.ps1 -HashFile hash_md5_3202.txt

Should be

.\MXutils\windows\CheckMD5HashFile.ps1 -HashFile hash_md5_3202.txt

and my computer on which I run Windows 10 Powershell would not let me run scripts.

Solved it by typing in at the Powershel Command Line (PowerShell run with Administrator rights)

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser and answered A=All to the prompt that asked if I wanted to change the Execution Policy.

Re: Build 3202 PowerShell Script

Posted: Sun 21 Aug 2022 2:45 pm
by SamiS
If you run the above mentioned set-executionpolicy command as shown and powershell opened as administrator and answer yes to all, then you make the change permanent. This can cause some security risks regarding malware attacks.

You can run the command without admin rights in normal powershell session

Set-ExecutionPolicy -Scope CurrentUser RemoteSigned

And answer Y (instead of A) to apply the change only for current session.

Re: Build 3202 PowerShell Script

Posted: Sun 21 Aug 2022 3:38 pm
by water01
Agreed but on my Cumulus computer it has nothing else on it other than programs required for CumulusMX, I do not use it for browsing, email etc. and it is behind my custom firewall and locked down.