I got a script I’d like to deploy through group policy, but I wrote the script in PowerShell version 5 and it uses New-Item -ItemType SymbolicLink, unfortunately most computers in the domain are version 3. The SymbolicLink item type wasn’t introduced until version 5 so my script isn’t working. Is there a pre-version5 way of doing this?
Not built into PowerShell, no. You could either find a .NET library that exposes this functionality (or write your own P/Invoke code, which is possible but not always easy), or you can just use something like junction.exe ( https://technet.microsoft.com/en-CA/sysinternals/bb896768.aspx )
Looks like that Junction only does junctions on the local computer and can’t reach across the network. Maybe I’m looking at this wrong and instead of just making it work I should push out an update to v5 through group policy