leeford/Backup-TeamsConfig

Missing Voice items

MichaelLaMontagne opened this issue · 3 comments

CsCallingLineIdentity
CsOnlineLisCivicAddress
CsOnlineLisLocation
CsOnlineLisPort
CsOnlineLisSubnet
CsOnlineLisWirelessAccessPoint
csTeamsUnassignedNumberTreatment

Adding the below works, but doesn't work with the "Number of Items".

Get-Command "Get-CSonlinelis" | ForEach-Object {

            $policy = $_.Name -replace "Get-CS", ""
            Backup-Configuration -Type $policy

        }
        
        Get-Command "Get-CScalling*" | ForEach-Object {

            $policy = $_.Name -replace "Get-CS", ""
            Backup-Configuration -Type $policy

        }

        Get-Command "Get-CS*UnassignedNumber*" | ForEach-Object {

            $policy = $_.Name -replace "Get-CS", ""
            Backup-Configuration -Type $policy

        }

Hey @MichaelLaMontagne - totally missed this. Let me take a look 👍

I've updated the script to include these items and count all items correctly. Thanks @MichaelLaMontagne