Search notes:

PowerShell cmdLet get-AIPFileStatus

get-AIPFileStatus returns a Microsoft.InformationProtection.Powershell.AIP.Results.GetAIPFileStatusResult object which contains the Azure Information Protection status of the given file or the files in the given directory.
Such a status shows if the file was labeled. If this is the case, such a label contains information such as
The status also stores if the file is protected by rights management.
PS C:\> Get-AIPFileStatus $home\abc.xlsm
FileName        : C:\Users\rene\AppData\abc.xlsm
IsLabeled       : True
MainLabelId     : aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
MainLabelName   : Internal Use Only
SubLabelId      :
SubLabelName    :
LabelingMethod  : Privileged
LabelDate       : 4/13/2021 8:28:31 AM
IsRMSProtected  : False
RMSTemplateId   :
RMSTemplateName :
RMSOwner        :
RMSIssuer       :
ContentId       :

See also

Powershell command noun: AIPFileStatus

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1758209676, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/PowerShell/command-inventory/noun/AIPFileStatus/get(63): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78