CmdID / PowerShell / Cmdlets / Get
Get-WebVirtualDirectory
Gets a list of the virtual directories on the specified site. Windows Server PowerShell reference
From the Windows Server PowerShell reference 3 parameters Its page in the reference
Parameters
-ApplicationSpecifies the name of a web application associated with virtual directories to return.-NameSpecifies the name of a virtual directory that this cmdlet returns.-SiteSpecifies the name of the site for which this cmdlet returns a list of virtual directories.