Start-WssConfigurationService

Start-WssConfigurationService

Starts initial configuration of Windows Server Essentials.

Sintaxis

Parameter Set: Default
Start-WssConfigurationService [-CompanyName <String> ] [-ComputerName <String> ] [-Credential <psCredential> ] [-DnsName <String> ] [-Force] [-Hosted] [-NetBiosName <String> ] [-NewAdminCredential <psCredential> ] [-Setting <String> {All | Updates | None} ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Descripción detallada

The Start-WssConfigurationService cmdlet starts initial configuration of Windows Server Essentials.

Parámetros

-CompanyName<String>

Specifies the name of the company for the server configuration. This dynamic parameter becomes available only if the server belongs to a workgroup.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-ComputerName<String>

Specifies the name of a computer with which to work. The cmdlet renames the server with the name that you specify. This dynamic parameter becomes available only if the server belongs to a workgroup.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Credential<psCredential>

Specifies the credentials for the administrator account used to create the domain. This is required if you are not currently signed in as a user with the required permissions.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-DnsName<String>

Specifies the Domain Name System (DNS) name for the Servicios de dominio de Active Directory® domain to create. This dynamic parameter becomes available only if the server belongs to a workgroup.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Force

Fuerza que el comando se ejecute sin pedir confirmación al usuario.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Hosted

Indicates that the server is hosted in the cloud. This dynamic parameter becomes available only if the server belongs to a workgroup.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-NetBiosName<String>

Specifies the NetBIOS name for the Servicios de dominio de Active Directory domain to create. This dynamic parameter becomes available only if the server belongs to a workgroup.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-NewAdminCredential<psCredential>

Specifies the credentials for the administrator account that is created during the setup process.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Setting<String>

Specifies how to configure Windows Update on the server. Los valores aceptables para este parámetro son los siguientes:

   -- All. Automatically download and install all updates for the Windows operating system.
   -- Updates. Automatically download and install only critical and security updates for the Windows operating system.
   -- None. Opt out of Windows Update.

This dynamic parameter becomes available only if the server belongs to a workgroup.

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.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • Microsoft.WindowsServerSolutions.Setup.ICCommon.StatusInfo

    The cmdlet generates an object that represents the configuration status.

Ejemplos

Example 1: Start initial configuration

This command starts initial configuration of Windows Server Essentials.

PS C:\> $cred = Get-Credential –UserName LocalAdmin –Message "Please specify the password for your new administrator account."
PS C:\> Start-WssConfigurationService -CompanyName "Contoso.Inc" -NetBiosName "contosodomain" -NewAdminCredential $cred

Temas relacionados

Get-WssConfigurationStatus

Remove-WssConfigurationData

Test-WssConfigurationOption

Test-WssPrecheckResult