Function Remove-WUServiceManager 
        Remove windows update service manager.
        Use Remove-WUServiceManager to unregister Windows Update Service Manager.
    .PARAMETER ServiceID
        An identifier for the service to be unregistered.
        Try unregister Microsoft Update Service.
        PS H:\> Remove-WUServiceManager -ServiceID "7971f918-a847-4430-9279-4a52d1efe18d"
        Are you sure you want to perform this action?
        Performing the operation "Unregister Windows Update Service Manager: 7971f918-a847-4430-9279-4a52d1efe18d" on target "MG".
        [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
        Author: Michal Gajda
        Blog :


        $User = [Security.Principal.WindowsIdentity]::GetCurrent()
        $Role = (New-Object Security.Principal.WindowsPrincipal $user).IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator)

            Write-Warning "To perform some operations you must run an elevated Windows PowerShell console."    
        } #End If !$Role
        $objServiceManager = New-Object -ComObject "Microsoft.Update.ServiceManager"
            If ($pscmdlet.ShouldProcess($Env:COMPUTERNAME,"Unregister Windows Update Service Manager: $ServiceID")) 
                $objService = $objServiceManager.RemoveService($ServiceID)
            } #End If $pscmdlet.ShouldProcess($Env:COMPUTERNAME,"Unregister Windows Update Service Manager: $ServiceID"
        } #End Try
            If($_ -match "HRESULT: 0x80070005")
                Write-Warning "Your security policy don't allow a non-administator identity to perform this task"
            } #End If $_ -match "HRESULT: 0x80070005"
                Write-Error $_
            } #End Else $_ -match "HRESULT: 0x80070005"
        } #End Catch
        Return $objService    
    } #End Process

} #In The End :)