PowerRemoteDesktop
PowerRemoteDesktop copied to clipboard
Installation fails? Invoke-RemoteDesktopServer fails.
System: Windows 11, admin powershell.
PS C:\WINDOWS\system32> Invoke-RemoteDesktopServer
Invoke-RemoteDesktopServer : The command "Invoke-RemoteDesktopServer" was found in the module "PowerRemoteDesktop_Server," but the module could not be loaded. If you want more information, run "Import-Module PowerRemoteDesktop_Server."
At line:1 char:1
+ Invoke-RemoteDesktopServer
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Invoke-RemoteDesktopServer:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
PS C:\WINDOWS\system32> Import-Module PowerRemoteDesktop_Server.
Import-Module : The specified module "PowerRemoteDesktop_Server." was not loaded because a valid module file was not found in any module directory.
At line:1 char:1
+ Import-Module PowerRemoteDesktop_Server.
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (PowerRemoteDesktop_Server.:String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand