You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Method invocation failed because [Environment] does not contain a method named 'GetEnvironmentVariable'.
At line:1 char:1
+ [Environment]::GetEnvironmentVariable("Path")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : MethodNotFound
This error occur sometimes. It seems to be linked with the Enum named Environment as shown in the screenshot above.
Context "Expected Behavior"
Should not throw an error. This can easily be fixed by renaming the Environment Enum to OSType or similar.
Context "Additional Information"
Name Value
---------
PSVersion 5.1.18362.752
PSEdition Desktop
PSCompatibleVersions {1.0,2.0,3.0,4.0...}
BuildVersion 10.0.18362.752
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
The text was updated successfully, but these errors were encountered:
Describe "Module Bug or Issue"
Context "The Problem"
This error occur sometimes. It seems to be linked with the Enum named Environment as shown in the screenshot above.
Context "Expected Behavior"
Should not throw an error. This can easily be fixed by renaming the Environment Enum to OSType or similar.
Context "Additional Information"
The text was updated successfully, but these errors were encountered: