I have written a script that interrogates the logged on users on a Windows 2012 RDS Farm. I need to have this script able to be run on a Windows 7 PC. Is this possible, as I think I need to have the RemoteDesktop module on the PC, but when I try and run the script the below error is displayed:
Import-Module : The assembly 'Microsoft.RemoteDesktopServices.Management.Activities.dll' was not loaded because no assembly was found. Please check the assembly name and try again.
At PS1 Location.ps1:8 char:1
+ Import-Module RemoteDesktop
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Import-Module], DllNotFoundException
+ FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand
Any help, or information would be greatly appreciated.
Sean