Raspberry Pi - Updating WiFi settings

Having recently had my broadband router updated I found myself in the position where all the Pis which need to access WiFi required updating to enable them to access the new network. Although it lives close by, on my desk, the PiZero stack runs headless and to update the settings…