From 508e93483e115cd269fed9ceb6c0f5f2a7b7311d Mon Sep 17 00:00:00 2001 From: Dmitriy Perepelkin <32206956+dimithras@users.noreply.github.com> Date: Fri, 14 May 2021 15:31:34 +0300 Subject: [PATCH] Powershell (non ISE) added. Several edits. Added Powershell example connecting to a remote host using credentials saved in mRemoteNG. Took me several hours to figure out how to do this without a password prompt. Extremely helpful indeed. Also a good showcase on how to use mRemoteNG variables. Other edits: Powershell (ISE) link was obsolete leading to 404, provided a new one. Added description to IE instead of a dummy. --- .../Documentation/external_tools_cheat_sheet.rst | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/mRemoteNG/Documentation/external_tools_cheat_sheet.rst b/mRemoteNG/Documentation/external_tools_cheat_sheet.rst index 2c1743eab..02c601719 100644 --- a/mRemoteNG/Documentation/external_tools_cheat_sheet.rst +++ b/mRemoteNG/Documentation/external_tools_cheat_sheet.rst @@ -56,7 +56,7 @@ Google Chrome is a freeware web browser developed by Google. `Internet Explorer `_ ============================================== -Description +Standard browser included with Windows installation. - Filename: C:\\Program Files\\Internet Explorer\\iexplore.exe - Arguments: %Hostname% @@ -115,10 +115,20 @@ Create a new connection entry with the following information: - External Tool: COM Serial Port - Port: your desired COM port # here -`Windows PowerShell (ISE) `_ +`Windows PowerShell `_ ========================================================================================================================================================================= Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. +Running with suggested argument will open a PS session connected to a host. No prompt for credintials will popup. + +- Filename: %WINDIR%\system32\WindowsPowerShell\v1.0\PowerShell.exe +- Arguments: -noexit $pw = \"%password%\" -replace '\^', ''; $password = ConvertTo-SecureString $pw -AsPlainText -Force; $Cred= New-Object System.Management.Automation.PSCredential (\"%username%\", $password); Enter-PSSession -ComputerName %hostname% -credential $Cred +- Can integrate: No + +`Windows PowerShell (ISE) `_ +========================================================================================================================================================================= +Windows PowerShell Integrated Scripting Environment (ISE) is a graphical host application that enables you to read, write, run, debug, and test scripts and modules in a graphic-assisted environment. + - Filename: %WINDIR%\\system32\\WindowsPowerShell\\v1.0\\PowerShell_ISE.exe - Arguments: args here - Can integrate: Yes