Get-ControlledGpo

Aggiornamento: agosto 2015

Si applica a: Advanced Group Policy Management 4.0 SP3

Get-ControlledGpo

Gets controlled GPOs for a domain.

Sintassi

Parameter Set: Default
Get-ControlledGpo [-Domain <String> ] [ <CommonParameters>]




Descrizione dettagliata

The Get-ControlledGpo cmdlet gets the controlled Group Policy Objects (GPOs) from an Advanced Group Policy Management (AGPM) archive for a domain. You can use this cmdlet to view state information for controlled GPOs. Use the Get-Gpo cmdlet to view uncontrolled GPOs. For more information, type Get-Help Get-Gpo.

Parametri

-Domain<String>

Specifies the fully qualified domain name (FQDN) of a domain. This cmdlet gets GPOs in the domain that this parameter specifies. If the AGPM service runs as part of a different domain, and if this cmdlet specifies that domain, a trust relationship must exist between that domain and the domain of the current user or computer.

If you do not specify a domain, this cmdlet uses the domain of the current user.

If you use this cmdlet as part of a computer startup or shutdown script, and if the command does not specify this parameter, the cmdlet uses the domain of the computer.


Alias

none

Obbligatorio?

false

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

<CommonParameters>

Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere   about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Input

Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.

  • None

Output

Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.

  • Microsoft.Agpm.ControlledGpo

    This cmdlet returns controlled GPO objects.


Esempi

Example 1: Get all GPOs and then filter results

This command gets all controlled GPOs from the domain TQSA.Contoso.com, and then passes them to the Where-Object cmdlet. That cmdlet returns the GPO from those results named TSQA Group policies.


PS C:\> Get-ControlledGpo -Domain "TQSA.Contoso.com" | Where {$_.name -eq "TSQA Group policies"}

Argomenti correlati

Aggiunte alla community

AGGIUNGI
Mostra: