As of the initial commit of psPAS, the minimum PowerShell version for the module has been set at "3.0".
Since then, some instances of syntax which is not compatible with either version 3, or 4, or both has made its way into the module without the minimum version requirement being increased as appropriate.
201 is a recent example of a related issue.
The minimum version of PowerShell for psPAS will be raised to 5.0.
Current options are to either rework code to ensure support for earlier PowerShell versions, or to concentrate on ensuring compatibility across PowerShell 5 & PowerShell Core.
Please comment below if you have a strong opinion on this one way or the other.
As of the initial commit of psPAS, the minimum PowerShell version for the module has been set at "3.0".
Since then, some instances of syntax which is not compatible with either version 3, or 4, or both has made its way into the module without the minimum version requirement being increased as appropriate.
201 is a recent example of a related issue.
The minimum version of PowerShell for psPAS will be raised to 5.0.
Current options are to either rework code to ensure support for earlier PowerShell versions, or to concentrate on ensuring compatibility across PowerShell 5 & PowerShell Core.
Please comment below if you have a strong opinion on this one way or the other.