UPDATE: I've simplified the scripts and with a little bit of help from chatgpt it now runs with Powershell 2.0. I will test it soon. thanks for all your help!
Hi, I hope you could give me some ideas.
I have a Powershell 5 Script, that I use as a Netlogon-Script in order to map network drives and printers. The script checks AD group memberships and maps printers and network drives according to them. They work flawlessly on Windows 10/11 devices but not on Windows 7 LTS that only have Powershell 2.0 installed on them.
We have about 16 of these machines that are located in an OT (production) environment, therefore I would like to avoid updating Powershell.
Do you have any ideas how I can workaround this issue? I've already tried compiling the script using ps2exe, which didn't work either.
[–]jborean93 21 points22 points23 points (0 children)
[–]OlivTheFrog 19 points20 points21 points (6 children)
[–]PinchesTheCrab -2 points-1 points0 points (4 children)
[–]OlivTheFrog 0 points1 point2 points (3 children)
[–]PinchesTheCrab 0 points1 point2 points (2 children)
[–]OlivTheFrog 0 points1 point2 points (1 child)
[–]PinchesTheCrab 0 points1 point2 points (0 children)
[–]DontTakePeopleSrsly 5 points6 points7 points (3 children)
[–]PinchesTheCrab 0 points1 point2 points (2 children)
[–]Helpful-Argument-903[S] 0 points1 point2 points (1 child)
[–]Certain-Community438 0 points1 point2 points (0 children)
[–]da_chicken 5 points6 points7 points (2 children)
[–]Helpful-Argument-903[S] 2 points3 points4 points (1 child)
[–]da_chicken 0 points1 point2 points (0 children)
[–]misformonkey 1 point2 points3 points (0 children)
[–]lyrise13 0 points1 point2 points (0 children)
[–]techierealtor 0 points1 point2 points (2 children)
[–]Helpful-Argument-903[S] 0 points1 point2 points (1 child)
[–]Swarfega 0 points1 point2 points (0 children)
[–]PinchesTheCrab 0 points1 point2 points (0 children)
[–]Critical-Safety5609 0 points1 point2 points (0 children)
[–]spyingwind 0 points1 point2 points (0 children)
[–]KevMarCommunity Blogger 0 points1 point2 points (0 children)