Gets the list of network shares used by a specified host.



Get-EmcCifsNetworkShare [[-ID] <String>] -HostSystem <IHostSystem> [-Silent] [<CommonParameters>]



-ID <String>

Attributes: Optional, Position: 1

Specifies the network share local path or remote path. Wildcards are permitted. It is a positional parameter (position = 1).


-HostSystem <IHostSystem>

Attributes: Required, Position: named

Specifies the ESI host system object. You can add a host system object to ESI by using the Get-EmcHostSystemCredential and Connect-EmcSystem cmdlets. You can get a host system object by using the Get-EmcHostSystem cmdlet. The object can be a stand-alone host system, a virtual machine, or a hypervisor.


-Silent <SwitchParameter>

Attributes: Optional, Position: named

An optional parameter to turn off all the informational and verbose messages. However, it still displays errors.



This cmdlet supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. Type get-help about_commonparameters for more details.



-------------- Example 1 --------------

C:\PS>Get-EmcHostSystem | Get-EmcCifsNetworkShare


C:\>$l = Get-EmcHostSystem

C:\>Get-EmcCifsNetworkShare -HostSystem $l[0] -id C:\Mount

This example gets the list of network shares mounted on the specified host.