< Back

Get-LongMappedDrive

Sun Jan 19, 2020 5:59 pm

NAME Get-LongMappedDrive



SYNOPSIS

List mapped drives





SYNTAX

Get-LongMappedDrive [<CommonParameters>]





DESCRIPTION

Lists all mapped network drives on the local machine.





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

Alphaleonis.Win32.Filesystem.DriveInfo







-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-LongMappedDrive | fl *



UncPath : \\\\Contoso\\Share1\\

DriveLetter : H:\\

FileSystem : NTFS

FreePercent : 11.61%

UsedPercent : 88.39%

Free : 5.79 GB

Used : 44.11 GB

Size : 49.9 GB

AvailableFreeSpace : 6217994240

DriveFormat : NTFS

DriveType : Network

IsReady : True

Name : H:\\

RootDirectory : H:\\

TotalFreeSpace : 6217994240

TotalSize : 53580132352

VolumeLabel :

DiskSpaceInfo : H:\\

DosDeviceName : H:

IsDosDeviceSubstitute : False

IsUnc : True

IsVolume : True

VolumeInfo :



Lists any mapped drives on the local machine



RELATED LINKS