|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaCifsShare
NAME
Get-NaCifsShare
SYNOPSIS
Gives information about one or more shares.
SYNTAX
Get-NaCifsShare [[-Share] <String>] [-Controller <NaController>] [<CommonPar
ameters>]
DESCRIPTION
Gives information about one or more shares.
PARAMETERS
-Share <String>
Cifs share name. If Share is specified, only information about that shar
e is returned. If Share is not specified, then information about all the
shares is returned. If the name contains the wildcard characters * or
?, then all the shares matching the specified name are listed.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
DataONTAP.Types.Cifs.CifsShareInfo
NOTES
Category: cifs
API: cifs-share-list-iter-start, cifs-share-list-iter-next, cifs-share-l
ist-iter-end
-------------- Example 1 --------------
C:\PS>Get-NaCifsShare *Files
Get all CIFS shares with share name like '*Files'.
Caching :
Description :
DirUmask :
FileUmask :
Forcegroup :
IsSymlinkStrictSecurity :
IsVolOffline :
IsVscan :
IsVscanread :
IsWidelink :
Maxusers :
MountPoint : /vol/vol2
ShareName : MyFiles
Umask :
DirUmaskSpecified : False
FileUmaskSpecified : False
IsSymlinkStrictSecuritySpecified : False
IsVolOfflineSpecified : False
IsVscanSpecified : False
IsVscanreadSpecified : False
IsWidelinkSpecified : False
MaxusersSpecified : False
UmaskSpecified : False
RELATED LINKS
Add-NaCifsShare
Remove-NaCifsShare
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|