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 DemoPolicy
        {
            AllowBroadcastScheduling        = $True;
            AllowBroadcastTranscription     = $False;
            BroadcastAttendeeVisibilityMode = "EveryoneInCompany";
            BroadcastRecordingMode          = "AlwaysEnabled";
            Ensure                          = "Present";
            Credential                      = $Credsglobaladmin;
            Identity                        = "MyDemoPolicy";
        }
    }
}