public/save-RADSettings.ps1
# If this looks spooky: it's base64 encoded and not currently used. Feel free to decode and confirm. # It exists as a GUID for installations, to deal with situations where incompatible changes are made, and for future use-cases that I have not identified yet. # It's in b64 format to deal with people doing stupid things to bypass version gates # I may scrap this in the future if people find it too spooky, but it's easier to remove the setting later than deal with installations that don't have it <# $oidcmd = "JABTAEkARAAgAD0AIAAoAFsAcwB5AHMAdABlAG0ALgBzAGUAYwB1AHIAaQB0AHkALgBwAHIAaQBuAGMAaQBwAGEAbAAuAHMAZQBjAHUAcgBpAHQAeQBJAGQAZQBuAHQAaQBmAGkAZQByAF0AOgA6AG4AZQB3ACgAJAAoAFsAYQBkAHMAaQBdACIATABEAEEAUAA6AC8ALwAkACgAJABlAG4AdgA6AFUAcwBlAHIARABOAFMARABvAG0AYQBpAG4AKQAiACkALgBvAGIAagBlAGMAdABTAEkARAAuAHYAYQBsAHUAZQAsADAAKQApAC4AdgBhAGwAdQBlAAoAJABTAHQAcgBlAGEAbQAgAD0AIABbAEkATwAuAE0AZQBtAG8AcgB5AFMAdAByAGUAYQBtAF0AOgA6AG4AZQB3ACgAWwBiAHkAdABlAFsAXQBdAFsAYwBoAGEAcgBbAF0AXQAkAFMASQBEACkACgAkAFMASQBEAEgAYQBzAGgAIAA9ACAAJAAoAGcAZQB0AC0AZgBpAGwAZQBIAGEAcwBoACAALQBpAG4AcAB1AHQAUwB0AHIAZQBhAG0AIAAkAHMAdAByAGUAYQBtACAALQBhAGwAZwBvAHIAaQB0AGgAbQAgAFMASABBADIANQA2ACkALgBoAGEAcwBoAAoAJABDAHUAcgByAGUAbgB0AFQAaQBtAGUAIAA9ACAAKABnAGUAdAAtAGQAYQB0AGUAKQAuAHQAbwBGAGkAbABlAFQAaQBtAGUAVQBUAEMAKAApAAoAJABTAHQAcgBlAGEAbQAgAD0AIABbAEkATwAuAE0AZQBtAG8AcgB5AFMAdAByAGUAYQBtAF0AOgA6AG4AZQB3ACgAWwBiAHkAdABlAFsAXQBdAFsAYwBoAGEAcgBbAF0AXQAkACgAIgAkAFMASQBEAEgAYQBzAGgAIgAgACsAIAAiACQAQwB1AHIAcgBlAG4AdABUAGkAbQBlACIAKQApAAoAJABDAGgAZQBjAGsAcwB1AG0AIAA9ACAAJAAoAGcAZQB0AC0AZgBpAGwAZQBIAGEAcwBoACAALQBpAG4AcAB1AHQAUwB0AHIAZQBhAG0AIAAkAFMAdAByAGUAYQBtACAALQBhAGwAZwBvAHIAaQB0AGgAbQAgAFMASABBADIANQA2ACkALgBoAGEAcwBoAAoAJABKAFMATwBOAFMAdAByAGkAbgBnACAAPQAgACQAKABbAG8AcgBkAGUAcgBlAGQAXQBAAHsACgAgACAAIAAgAEsAVgAgAD0AIAAxAAoAIAAgACAAIABPAEkARAAgAD0AIAAkAEMAdQByAHIAZQBuAHQAVABpAG0AZQAKACAAIAAgACAAUwBIACAAPQAgACQAUwBJAEQASABhAHMAaAAKACAAIAAgACAAQwBTACAAPQAgACQAYwBoAGUAYwBrAHMAdQBtAAoAfQApACAAfAAgAGMAbwBuAHYAZQByAHQAdABvAC0AagBzAG8AbgAgAC0AYwBvAG0AcAByAGUAcwBzAAoAJABCADYANABKAFMATwBOACAAPQAgAFsAcwB5AHMAdABlAG0ALgBjAG8AbgB2AGUAcgB0AF0AOgA6AFQAbwBCAGEAcwBlADYANABTAHQAcgBpAG4AZwAoAFsAcwB5AHMAdABlAG0ALgB0AGUAeAB0AC4AZQBuAGMAbwBkAGkAbgBnAF0AOgA6AFUAbgBpAGMAbwBkAGUALgBnAGUAdABCAHkAdABlAHMAKAAkAEoAUwBPAE4AUwB0AHIAaQBuAGcAKQApAAoAJABCADYANABKAFMATwBOAA==" $oid = powershell.exe -encodedCommand $oidcmd $Versions = $moduleData.PrivateData.Versions $Versions.OriginalModuleVersion = $moduleData.version.toString() $Versions.CurrentModuleVersion = $moduleData.version.toString() #> |