Set-NetIPHttpsConfiguration
Set-NetIPHttpsConfiguration
Modifies an IP-HTTPS configuration.
Sintaxis
Parameter Set: ByPolicyStore
Set-NetIPHttpsConfiguration [-AsJob] [-AuthMode <AuthMode> ] [-CimSession <CimSession[]> ] [-PassThru] [-PolicyStore <String> ] [-Profile <String[]> ] [-ProfileActivated <Boolean[]> ] [-ServerURL <String> ] [-State <State> ] [-StrongCRLRequired <Boolean> ] [-ThrottleLimit <Int32> ] [-Type <Type> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: ByGpoSession
Set-NetIPHttpsConfiguration [-AsJob] [-AuthMode <AuthMode> ] [-CimSession <CimSession[]> ] [-GPOSession <String> ] [-PassThru] [-Profile <String[]> ] [-ProfileActivated <Boolean[]> ] [-ServerURL <String> ] [-State <State> ] [-StrongCRLRequired <Boolean> ] [-ThrottleLimit <Int32> ] [-Type <Type> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: InputObject (cdxml)
Set-NetIPHttpsConfiguration -InputObject <CimInstance[]> [-AsJob] [-AuthMode <AuthMode> ] [-CimSession <CimSession[]> ] [-PassThru] [-ServerURL <String> ] [-State <State> ] [-StrongCRLRequired <Boolean> ] [-ThrottleLimit <Int32> ] [-Type <Type> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Descripción detallada
The Set-NetIPHttpsConfiguration cmdlet modifies an IP-HTTPS configuration.
You can specify the IP-HTTPS configuration profile to modify either by using a configuration object retrieved by the Get-NetIPHttpsConfiguration cmdlet or by specifying the profile name.
Parámetros
-AsJob
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-AuthMode<AuthMode>
Specifies the authentication mode.
Los valores aceptables para este parámetro son los siguientes:
-- None: Performs no client authentication during the SSL handshake. This is the default value.
-- Certificates: Uses client certificates to authenticate clients. This authentication mode applies only to a server interface on a computer running Windows Server® 2012.
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 |
Session |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-GPOSession<String>
Specifies the Group Policy session to which to store the configuration information.
You can use this parameter with the NetGPO cmdlets to aggregate multiple operations performed on a Group Policy Object (GPO).
You cannot use this parameter with the PolicyStore parameter.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-InputObject<CimInstance[]>
Specifies the object which contains the IP-HTTPS configuration to modify.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue) |
¿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 |
-PolicyStore<String>
Specifies the policy store that contains the IP-HTTPS configuration profile to set.
Los valores aceptables para este parámetro son los siguientes:
-- ActiveStore
-- PersistentStore
-- GPO
To set the configuration profile of a GPO, specify the GPO name using the following format: Domain\GPOName
You cannot use this parameter with the GPOSession parameter.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-Profile<String[]>
Specifies the name of the profile to modify. This parameter is only allowed when the store is a GPO.
Alias |
IPHttpsProfile |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-ProfileActivated<Boolean[]>
Filters the objects to modify.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-ServerURL<String>
Specifies the URL for the server. If the profile is a client profile, Windows attempts to connect to the server URL. If the profile is a server profile, then this is the URL to which the server listens.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-State<State>
Specifies the state behavior of IP-HTTPS.
Los valores aceptables para este parámetro son los siguientes:
-- Default:
---- For a server interface, IP-HTTPS is always configured.
---- For a client interface, IP-HTTPS is configured on demand based on the other connectivity options available. Client interfaces are created with this setting by default.
-- Enabled: IP-HTTPS is always configured, for both server interfaces and client interfaces. Server interfaces are created with this setting by default.
-- Disabled: Disables the IP-HTTPS interface.
-- OutsideEnabled: IP-HTTPs is configured on demand whenever the computer is outside of the corporate network.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-StrongCRLRequired<Boolean>
Determines if a strong certificate revocation list (CRL) check is required before connection.
The default value is False.
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 |
-Type<Type>
Specifies if IP-HTTPS should start in server mode or client mode. The parameter value set to server mode is only allowed on Windows Server 2012.
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
This cmdlet accepts no input objects.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Microsoft.Management.Infrastructure.CimInstance#root\StandardCimv2\MSFT_NetIpHTTPsConfiguration
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.
When the Passthru parameter is specified, this cmdlet outputs a modified IP-HTTPS configuration object.
Ejemplos
Example 1: Set the server URL of the profile
This command modifies the profile named Redmond in the GPO named TestGPO, modifying the server URL.
PS C:\> Set-NetIPHttpsConfiguration -Profile Redmond -ServerURL https://da.com:443/IPHTTPs -PolicyStore Domain\TestGPO
Example 2: Set the server URL using IP-HTTPS configuration object
This command gets the IP-HTTPS configuration profile named Redmond in the GPO named TestGPO using the Get-NetIPHttpsConfiguration cmdlet, and then provides the output object as input to this cmdlet using the pipeline operator.
PS C:\> Get-NetIPHttpsConfiguration -Profile Redmond -PolicyStore Domain\TestGPO | Set-NetIPHttpsConfiguration -ServerURL https://da.com:443/IPHTTPs
Temas relacionados
Rename-NetIPHttpsConfiguration