mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 14:07:46 +08:00
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.
This commit is contained in:
committed by
GitHub
parent
2cf5a4317d
commit
508e93483e
@@ -56,7 +56,7 @@ Google Chrome is a freeware web browser developed by Google.
|
||||
|
||||
`Internet Explorer <http://microsoft.com/ie>`_
|
||||
==============================================
|
||||
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) <https://msdn.microsoft.com/en-us/powershell/scripting/getting-started/fundamental/windows-powershell-integrated-scripting-environment--ise->`_
|
||||
`Windows PowerShell <https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/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) <https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/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
|
||||
|
||||
Reference in New Issue
Block a user