Powershell not working under Windows 7 #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When run under Windows 7 the following error occurs:
The script is currently working fine under Windows 10.
I'm not sure if this is going to nessitate rewriting the script to use WMIC commands.
If it does it may mean keeping this current version of the powershell and copying the logic over as the text formatting with WMIC is very different and was a complete pain.
It is posible to determin loosely with the following PS.
On a Windows 7 machine it will output:
I will determin if this is an actual fix by seeing if it outputs correctly on a Windows 10 computer as well.
Confirmed.
I think for the time being I'm going to solve this by reimplimating the functions with
WMIC
commands and a_7
suffix.