Query PowerShell Version and the Configuration File in Use Get-RDMInstance $env:PSModulePathĬ:\Users\admin\Documents\WindowsPowerShell\Modules Ĭ:\Program Files\WindowsPowerShell\Modules Ĭ:\windows\system32\WindowsPowerShell\v1.0\Modules By typing $env:PSModulePath, you can then browse to these locations to delete the files RemoteDesktopManager and RemoteDesktopManager.PowershellModule to reinstall from fresh (renaming does not prevent the system from scanning and finding the modules in them). Sometimes, several versions of the PowerShell module may appear to be in use. $override.RemoteDesktopManagerExecutablePath = "Path to desired RDM version" # C:\RemoteDesktopManager\2023.1\.2023.1.11.0\RemoteDesktopManager64.exe $override.OptionFilePath = "PathToCfg" # C:\RemoteDesktopManager\2023.1\config\RemoteDesktopManager.cfg RemoteDesktopManagerExecutablePath: for the use of Start-RDMSession or Start-RDMProcessĭefault: %ProgramFiles%\Devolutions\Remote Desktop Manager\RemoteDesktopManager.exe $override = Get-RDMPowerShellOverride.OptionFilePath: the full path to the RemoteDesktopManager.cfg fileĭefault: %LOCALAPPDATA%\Devolutions\RemoteDesktopManager.Use an Override Configuration (Portable)īy using the cmdlets Get-RDMPowerShellOverride and Set-RDMPowerShellOverride, it is possible to use another configuration file and an alternate Remote Desktop Manager installation.īoth properties are optional, and their default values are applied when left empty. As the module is now part of the PowerShell modules installed on the computer, it is no longer necessary to import it into the scripts. Once installed, the only required modification is to remove the Import-Module command from the scripts used with the old Remote Desktop Manager PowerShell module. Ĭd c:\program files\WindowsPowerShell\modules\remotedesktopmanager\ Extract the file in C:\Program Files\WindowsPowerShell\Modules\remotedesktopmanager\.Download the RemoteDesktopManager module NUPKG file from the PowerShell Gallery.Ĭd c:\program files\WindowsPowerShell\modules\devolutions.powershell\ Extract the file in C:\Program Files\WindowsPowerShell\Modules\devolutions.powershell\.Download the Devolutions.PowerShell module NUPKG file from the PowerShell Gallery. Here are the steps to complete this process: On some machines, it may be required to install the PowerShell module manually. Install-Module -Name RemoteDesktopManager
0 Comments
Leave a Reply. |