다음을 통해 공유


Get-FileSensitivityLabelInfo

SharePoint에 저장된 Office 파일에 연결된 민감도 레이블 관련 정보를 추출하고 표시합니다.

구문

Default (기본값)

Get-FileSensitivityLabelInfo
    [-FileUrl] <String>
    [<CommonParameters>]

Description

cmdlet은 Get-FileSensitivityLabelInfo 단일 Office 온라인 파일에서 실행됩니다. 파일에 민감도 레이블이 연결된 경우 id, displayname, isProtectionEnabled 플래그 및 부모 레이블의 ID(해당하는 경우)를 반환합니다. cmdlet을 실행 GetFileSensitivityLabelInfo 하려면 SharePoint Online 관리자여야 합니다. 이 cmdlet은 사용자 지정 권한 또는 사용자 정의 권한 또는 이중 키 암호화가 있는 레이블이 있는 파일에서는 작동하지 않습니다. SharePoint Online용 Windows PowerShell의 사용 권한과 최신 정보는 SharePoint Online 관리 셸 소개의 온라인 설명서를 참조하세요.

예제

예제 1

 Get-FileSensitivityLabelInfo -FileUrl "https://contoso.com/sites/Marketing/Shared Documents/Doc1.docx"

매개 변수

-FileUrl

적용 가능: SharePoint Online

파일의 전체 URL입니다.

매개 변수 속성

형식:System.String
Default value:None
와일드카드 지원:False
DontShow:False

매개 변수 집합

(All)
Position:0
필수:True
파이프라인의 값:False
속성 이름별 파이프라인의 값:False
나머지 인수의 값:False

CommonParameters

이 cmdlet은 일반적인 매개 변수인 -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction 및 -WarningVariable 매개 변수를 지원합니다. 자세한 내용은 about_CommonParameters를 참조하세요.

입력

None

출력

System.Object