I was writing some code and it worked fine on my desktop. However, when I imported it into active roles, there were portions not functioning appropriately.
Turns out I was testing my code in PowerShell 7. As far as I can tell, Active Roles uses version…