I've been writing a lot of scripts lately and one of the things I come across often is the way people store credentials in a PowerShell script. Often they are either hardcoded (and people forget about them) or they are…