diff --git a/Modules/Office365DSC/Examples/Resources/SCComplianceTag/1-AddingNewComplianceTag.ps1 b/Modules/Office365DSC/Examples/Resources/SCComplianceTag/1-AddingNewComplianceTag.ps1 index dc2dd94a64..6279847c44 100644 --- a/Modules/Office365DSC/Examples/Resources/SCComplianceTag/1-AddingNewComplianceTag.ps1 +++ b/Modules/Office365DSC/Examples/Resources/SCComplianceTag/1-AddingNewComplianceTag.ps1 @@ -14,15 +14,23 @@ Configuration Example node localhost { - SCRetentionComplianceTag DemoRule + SCComplianceTag DemoRule { - Name = "DemoRule2" - Comment = "This is a Demo Rule" + Name = "DemoTag" + Comment = "This is a Demo Tag" RetentionAction = "Keep" RetentionDuration = "1025" - GlobalAdminAccount = $credsGlobalAdmin RetentionType = "ModificationAgeInDays" + FilePlanProperty = MSFT_SCFilePlanProperty{ + FilePlanPropertyDepartment = "DemoDept" + FilePlanPropertyCitation = "DemoCit" + FilePlanPropertyReferenceId = "DemoRef" + FilePlanPropertyAuthority = "DemoAuth" + FilePlanPropertyCategory = "DemoCat" + FilePlanPropertySubcategory = "DemoSub" + } Ensure = "Present" + GlobalAdminAccount = $credsGlobalAdmin } } }