Closed andrasfeher closed 3 years ago
That is very odd. I'm assuming a command like Get-Service | Get-Member
works fine? What version of PowerShell are you running? Try importing the module first, import-module psteachingtools -force
and then running commands. The module does some prep when you install it. I've seen situations where if you just run the command like Get-Vegetable
not everything gets loaded that should be.
I restarted my machine, and thus PowerShell, in the meantime and now everything works fine without importing the module.
The old reboot trick worked again.
I also tried to reproduce the error on basis of the transcript that I made, but it now it works correctly.
Thanks and best regards, Andras
The module was installed fine:
But any other operation gives me errors: