全て
| カテゴリ未分類
| 通常
| 数学
| 投資
| 副業
| 転職・就職
| ブログ
| 株Stock
| VBA
| SharePoint
| REST API
| RenderListDataAsStream
| PowerAutomateDesktop
| Graph API
| PowerApps
| PowerAutomate
| PowerFx
| OfficeScriptオフィススクリプト
| PowerAutomate日時Excel日時相互関係
| PowerShell
| Dataverse
| UiPath
| OneDrive
| LINQ
| VB.NET
| C#.NET
| WPFC#.NET
| Git
カテゴリ:PowerShell
特定のファイルに AIP ラベルを設定するために、PowerShell を使用する手順を示します。 まず、AIP PowerShell モジュールをインポートします。 powershell Copy code Import-Module AIPService 次に、ファイルにラベルを設定します。ファイルのパスと設定したいラベルの ID を指定する必要があります。 powershell Copy code # ファイルのパス $file = "C:\Path\To\Your\File.docx" # ラベルの ID $labelId = "<Your_Label_ID>" # ラベルをファイルに設定 Set-AIPFileLabel -Path $file -LabelId $labelId これで、指定したファイルに AIP ラベルが設定されます。パスとラベル ID を適切に設定してください。ラベル ID は、事前に Azure Information Protection ポータルで定義されたラベルのものを使用します。 お気に入りの記事を「いいね!」で応援しよう
Last updated
2024.02.16 07:04:27
[PowerShell] カテゴリの最新記事
|