Examples/Resources/SCFilePlanPropertySubCategory/1-AddingNewFilePlanPropertySubCategory.ps1

<#
This example shows how to create a new File Plan Property Sub-Category.
#>


Configuration Example
{
    param(
        [Parameter(Mandatory = $true)]
        [PSCredential]
        $credsGlobalAdmin
    )
    Import-DscResource -ModuleName Microsoft365DSC

    node localhost
    {
        SCFilePlanPropertySubCategory 'FilePlanPropertySubCategory'
        {
            Name       = "My Sub-Category"
            Category   = "My Category"
            Ensure     = "Present"
            Credential = $credsGlobalAdmin
        }
    }
}