TimRiker
Cirrocumulus
May 28, 2020Same issue posted above. The script defines some structure. Different releases have slightly different structures. Don't run different versions of the script in the same powershell instance.
The stable version runs on PowerShell 5. The beta version requires at least PowerShell 6. I'm testing on PowerShell 7.0.1 now.
Startup a new window, or spawn a child shell (pwsh.exe) and run the script there.
These "types" are added in Add-Type, but there is no Remove-Type that I am aware of, so you have to start a new shell.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)