Get-WssMsoSharePointLibrary
Get-WssMsoSharePointLibrary
Retrieves a library.
구문
Parameter Set: Default
Get-WssMsoSharePointLibrary [[-Name] <String> ] [[-Site] <SharePointSite> ] [ <CommonParameters>]
자세한 설명
The Get-WssMsoSharePointLibrary cmdlet retrieves a library. A site stores the library.
매개 변수
-Name<String>
Specifies the name of a library. The cmdlet gets the library for the name that you specify. If you do not specify the Name parameter, the cmdlet returns libraries in the default team site that match other parameters.
별칭 |
없음 |
필수 여부 |
false |
위치 |
1 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByValue, ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-Site<SharePointSite>
Specifies a site. The cmdlet gets the library for the site that you specify. If you do not specify the Site parameter, the cmdlet returns libraries in the default team site that match other parameters.
별칭 |
없음 |
필수 여부 |
false |
위치 |
2 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
System.String
Name
Type: System.String
Description: Name of the SharePoint library
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
- SharePointLibrary[]
예제
Example 1: Get a SharePoint library
The first command uses the Get-WssMsoSharePointSite cmdlet to get a site, and stores the result in the $Site variable.
The second command gets the SharePoint Online library for the site specified in the $Site variable.
PS C:\> $Site = Get-WssMsoSharePointSite | Select-Object -First 1
PS C:\> Get-WssMsoSharePointLibrary -Name "Documents" -Site $Site
PS C:\>