Common/CSE/Set-GPOCSE.ps1

function Set-GPOCSE {
    Param (
        [Parameter(Mandatory)]
        [guid]$Id,
        [Parameter(Mandatory)]
        [string]$Value
    )

    $GPO = Get-GPOObject -Id $Id
    $GPO.InvokeSet('gPCMachineExtensionNames', $Value)
    $GPO.CommitChanges()
}