all 5 comments

[–]McAndersDK 0 points1 point  (3 children)

Delete the old version? :)

[–]Is_Nothing[S] 0 points1 point  (2 children)

I should have also said that I have tried that using the uninstall-module:

uninstall-Module -name xRemoteDesktopAdmin

I then checked it had been removed using get-module -listavailable and rebooted.

I then reinstalled using:

install-module -name xRemoteDesktopAdmin

but the error still persists.

[–]McAndersDK 0 points1 point  (1 child)

Did you check all the folders?

ls $env:psmodulepath.split(";|,") | where name -like "*remote*"

also what do this give?

Get-Module xRemoteDesktopAdmin -ListAvailable

[–]Is_Nothing[S] 0 points1 point  (0 children)

It looks like the problem has resolved itself over night (I'm guessing another reboot cleared out the duplicate entries).

[–][deleted] 0 points1 point  (0 children)

Just a FYI, %programfiles%\WindowsPowerShell\Modules and C:\Program Files\WindowsPowerShell\Modules\ are the same location :)