3 Replies Latest reply on Mar 7, 2013 2:12 PM by Siddu angadi

    Blquery - How to get the drive letter?

      Hi everyone,

       

      I would to know if it is possible to get the drive letter (C, D ...) of a hard drive with a blquery?

       

      Thank you very much for your support!

        • 1. Re: Blquery - How to get the drive letter?
          Siddu angadi

          Hi,

           

          Use the ndf command to find the filesystem info. Use NSHScript to execute ndf command.

           

           

          Below is the typical output of NDF command:

           

          HOSTNAME     FILESYSTEM                 TYPE        KBYTES          USED               FREE         USE%   MOUNT

          BBSA         \\vmware-host\Shared Folders   HGFS      141139024      114566224      26572800    81%

          BBSA         C:                                            NTFS      26212348      17864944       8347404    68%   /C

          BBSA         E:                         NTFS 31454204 12138688 19315516    39%   /E

          • 2. Re: Blquery - How to get the drive letter?

            Hi Siddu,

             

            Thanks for your answer. Do you know how to use it? I don't know the ndf command.

             

            I want to create an nsh script that will use the ndf command to get the information about the drive letter.

             

            Which command I must use and which context?

             

            Thank you again!

            • 3. Re: Blquery - How to get the drive letter?
              Siddu angadi

              Hi,

               

              This NSH Command, you can NSHScript and trigger on all servers.

               

              What is the exact requirement?

               

              do you want to find drives through extended object? if so you can not use ndf command.

               

              do you want to call in your script?

               

              Thanks

              Siddu