Update-DAMgmtServer
Update-DAMgmtServer
Updates the list of Management servers of the DirectAccess (DA) deployment.
Sintaxis
Parameter Set: Update3
Update-DAMgmtServer [-AsJob] [-CimSession <CimSession[]> ] [-ComputerName <String> ] [-PassThru] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Descripción detallada
The Update-DAMgmtServer cmdlet updates the list of Management servers of the DirectAccess (DA) deployment. A management server is any server that needs to be accessed in a DA managed-out deployment or during the first tunnel in a DA full deployment, such as update servers, domain controllers and other servers.
Domain controllers and System Center Configuration Manager servers are discovered automatically. Manually entered management server names are resolved to IP addresses.
Management server configuration is applicable globally to the entire DA deployment and therefore is not impacted by multi-site deployments.
When the cmdlet runs, the list of automatically discovered domain controllers and System Center Configuration Manager servers is updated. Discovered servers are added to the list, and servers that cannot be discovered are removed. IP addresses in the list are updated in accordance with server name resolution.
Parámetros
-AsJob
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-CimSession<CimSession[]>
Ejecuta el cmdlet en una sesión remota o en un equipo remoto. Escriba un nombre de equipo o un objeto de sesión, como la salida de un cmdlet New-CimSession o Get-CimSession. El valor predeterminado es la sesión actual en el equipo local.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-ComputerName<String>
Specifies the IPv4 or IPv6 address, or host name, of the computer on which the Remote Access (RA) server computer specific tasks should be run.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-PassThru
Devuelve un objeto que representa el elemento con el que está trabajando. De forma predeterminada, este cmdlet no genera ningún resultado.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-ThrottleLimit<Int32>
Especifica el número máximo de operaciones simultáneas que se pueden establecer para ejecutar el cmdlet. Si se omite este parámetro o es especifica un valor de 0
, Windows PowerShell ® calcula un límite óptimo para el cmdlet en función del número de cmdlets de CIM que se estén ejecutando en el equipo. El límite solo se aplica al cmdlet actual, no a la sesión ni al equipo.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-Confirm
Solicita confirmación antes de ejecutar el cmdlet.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-WhatIf
Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
- None
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Microsoft.Management.Infrastructure.CimInstance#DAMgmtServer
El objeto
Microsoft.Management.Infrastructure.CimInstance
es una clase contenedora que muestra objetos de Instrumental de administración de Windows (WMI). La ruta de acceso después del signo de número (#
) proporciona el espacio de nombres y el nombre de clase del objeto WMI subyacente.
The DAMgmtServer object contains the following properties:
-- The list of added domain controllers.
-- The list of removed domain controllers.
-- The list of unchanged domain controllers.
-- The list of added Configuration Manager servers.
-- The list of removed Configuration Manager servers.
-- The list of unchanged Configuration Manager servers.
-- The list of manually entered servers that have been resolved to new IP addresses.
-- The list of unchanged manually entered servers.
Ejemplos
EXAMPLE 1
This example updates the list of management servers accessible via the infrastructure tunnel and outputs the details of the changes. As seen in the output, the cmdlet performed the following:
-- Discovered and added one domain controller and one Configuration Manager server.
-- Removed one DC from the list since it could no longer find it listed as a DC in the domain.
-- Left the listing for two previously discovered DCs and an existing manually added server unchanged.
-- Changed the IP address of an existing manually entered server according, after resolving the associated fully qualified domain name (FQDN) and finding that the returned IP is different from the one that was currently listed.
PS C:\> $x = Update-DAMgmtServer -PassThru
PS C:\> $x.Summary
PS C:\> $x.Servers | Format-Table -AutoSize