![]() |
![]() |
| Home | What's New | Products | Download | Purchase | Support | About Us | Contact |
SUPPORT > TIPS
|
|
|
|
Scan disk usage on a remote machine using VShell® for Windows and VRALibThis tip describes how to determine the current disk usage on remote machines running VShell 3.8 for Windows or newer. This benefits the system administrator who needs an easy way to monitor drive space on remote systems without physically visiting each machine. Scanning disk usage uses the VRALib COM interface, version 6.7 or newer. The VRALib API allows scripting of SSH2 connections and can provide remote drive information through the FileSystemObject when connected to VShell 3.8 or newer. VRALib is included with the Windows versions of the VShell and ClientPack products. VShell 3.8 or newer versions have added support for drive enumeration via the get-volume-information@vandyke.com SFTP extension. This allows VShell to return information about all drives on the remote system, including fixed drives, CD-ROM drives, removable drives, and network drives. The drive path and letter, drive type, file system type, total size, and free space can be determined for each of the drives. The example Visual Basic script in the link below shows how to use VRALib to gather and report the disk usage for all fixed drives on a remote machine. The script takes optional command-line arguments for hostname, port, username, and password. Alternatively, the default connection parameters can be specified from within the script. The script will print the drive path, filesystem, total size, free space, and the calculated percentage of free space for all fixed drives on the remote system. Example scan disk usage script: RemoteDiskUsage_vbs.txt Please see the VShell for Windows or ClientPack for Windows help files for more information about using VRALib.
|
|||||||||
| Products | Downloads | Purchase | Support | About Us | |
|---|---|---|---|---|---|
| VShell Server | VShell Server | Buy Direct | Evaluation | Contact | |
| SecureCRT | SecureCRT | License Pricing | Updates Policy | Press Releases | |
| SecureFX | SecureFX | About Encryption Export | FAQs | What's New | |
| VanDyke ClientPack | VanDyke ClientPack | Orders FAQ | Tips & How-Tos | Customer Stories | |
| Beta Software | Beta Software | Resellers | Forums | Secure Solutions | |
|
Site Map | Legal Notices | Privacy Policy | Refund Policy VShell, SecureCRT, SecureFX, Entunnel, CRT, and AbsoluteFTP are trademarks or registered trademarks of VanDyke Software, Inc. in the United States and/or other countries. All other trademarks or registered trademarks are the property of their respective owners. Copyright © 1995 - VanDyke Software, Inc. All rights reserved. |
|||||