Examples/Resources/TeamsMeetingBroadcastPolicy/1-NewTeamsMeetingBrodacastPolicy.ps1

<#
This examples create a new Teams Meeting Broadcast Policy.
#>


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

    node localhost
    {
        TeamsMeetingBroadcastPolicy 'ConfigureMeetingBroadcastPolicy'
        {
            Identity                        = "MyDemoPolicy"
            AllowBroadcastScheduling        = $True
            AllowBroadcastTranscription     = $False
            BroadcastAttendeeVisibilityMode = "EveryoneInCompany"
            BroadcastRecordingMode          = "AlwaysEnabled"
            Ensure                          = "Present"
            Credential                      = $credsGlobalAdmin
        }
    }
}