update docs

This commit is contained in:
Dimitrij
2023-07-04 15:59:48 +01:00
parent feeca86c6a
commit 50523e5b67
2 changed files with 21 additions and 0 deletions

View File

@@ -133,3 +133,20 @@ Windows PowerShell Integrated Scripting Environment (ISE) is a graphical host ap
- Filename: %WINDIR%\\system32\\WindowsPowerShell\\v1.0\\PowerShell_ISE.exe
- Arguments: args here
- Can integrate: Yes
To get all windows file systems attributes of the remote server
=========================================================================================================================================================================
Its could be very useful for database and application servers to know all windows file systems attributes of the remote server, the size in mb, free space in mb and free % including all lettered drives ( e.g c: ) as well as mounted drives.
Mounted drives are tricky to find and interrogate by other means.
You must run mR as a user with appropriate permission on the remote server:
shortcut = C:\Windows\System32\runas.exe /user:domain\ntuser "C:\Program Files\mRemoteNG\mRemoteNG.exe"
- Filename: %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe
- Arguments: -NoExit Get-WmiObject Win32_Volume -ComputerName %hostname% | Format-Table Name, @{Name=”Size(MB)”;Expression={“{0:0,0.00}” -f($_.Capacity/1mb)}}, @{Name=”Free Space(MB)”;Expression={“{0:0,0.00}” -f($_.FreeSpace/1mb)}}, @{Name=”Free (%)”;Expression={“{0,6:P0}” -f(($_.FreeSpace/1mb) / ($_.Capacity/1mb))}}
- Can integrate: No
You do not need to be logged into the remote server just highlight the name.
(suggested by: Ray Miller)

View File

@@ -74,3 +74,7 @@ If you want to use **powershell** instead. Then follow information below:
Notice that we replaced the /K with -NoExit and changed **cmd** with **powershell.exe**. See image below:
.. figure:: /images/example_et_traceroute_05.png
More examples
=============
Please check :doc:`/Common_External_Tool_Configurations`