共用方式為


WaitForServiceTypes Enum

Definition

Defines the services that Restart-Computer can wait on

public enum class WaitForServiceTypes
public enum class WaitForServiceTypes
enum WaitForServiceTypes
public enum WaitForServiceTypes
type WaitForServiceTypes = 
Public Enum WaitForServiceTypes
Inheritance
WaitForServiceTypes

Fields

Name Value Description
Wmi 0

Wait for the WMI service to be ready

WinRM 1

Wait for the WinRM service to be ready

PowerShell 2

Wait for the PowerShell to be ready

Applies to