Start-WssConfigurationService

Start-WssConfigurationService

Starts initial configuration of Windows Server Essentials.

Syntax

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>]

Detaillierte Beschreibung

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

Parameter

-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.

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

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.

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

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.

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-DnsName<String>

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

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Force

Erzwingt, dass der Befehl ohne Benutzerbestätigung ausgeführt wird.

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Hosted

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

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-NetBiosName<String>

Specifies the NetBIOS name for the Active Directory-Domänendienste domain to create. This dynamic parameter becomes available only if the server belongs to a workgroup.

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-NewAdminCredential<psCredential>

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

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Setting<String>

Specifies how to configure Windows Update on the server. Die folgenden Werte für diesen Parameter sind zulässig:

   -- 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.

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Confirm

Sie werden vor dem Ausführen des Cmdlets zur Bestätigung aufgefordert.

Erforderlich?

false

Position?

named

Standardwert

falsch

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-WhatIf

Zeigt, was geschieht, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.

Erforderlich?

false

Position?

named

Standardwert

falsch

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

  • Microsoft.WindowsServerSolutions.Setup.ICCommon.StatusInfo

    The cmdlet generates an object that represents the configuration status.

Beispiele

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

Verwandte Themen

Get-WssConfigurationStatus

Remove-WssConfigurationData

Test-WssConfigurationOption

Test-WssPrecheckResult