AutomatedLab / AutomatedLab.Common

PowerShell module for daily administrative tasks and general helper functions
MIT License
65 stars 24 forks source link

Core compatibility #111

Closed nyanhp closed 2 years ago

nyanhp commented 2 years ago

Send-ModuleToPSSession will now work with PS Core sessions as well. Since semver versions cannot be cast into versions, I return a string if on Core and the version if we are connected to Windows PowerShell. Both are cast into version to compare.