模組: Microsoft.PowerShell.Management 拿掉Windows 服務。語法PowerShell 複製 Remove-Service [-Name] <String> [-WhatIf] [-Confirm] [<CommonParameters>]PowerShell 複製 Remove-Service [-InputObject <ServiceController>] [-WhatIf] [-Confirm] [<CommonParameters>]...
PowerShell Copy Remove-Service [-Name] <String> [-WhatIf] [-Confirm] [<CommonParameters>]PowerShell Copy Remove-Service [-InputObject <ServiceController>] [-WhatIf] [-Confirm] [<CommonParameters>]DescriptionThe Remove-Service cmdlet removes a Windows service in the registry and in...
Remove-SCService cmdlet 从部署虚拟机管理器的主机上删除虚拟机管理器(VMM)服务和所有关联的虚拟机。在删除服务之前,服务必须处于停止状态。若要停止服务,请使用 Stop-SCService cmdlet。示例示例1:删除在主机上部署的特定服务PowerShell 复制 PS C:\> $Service = Get-SCService -VMMServer "VMMServer01.Contoso...
PowerShell Sao chép Remove-SCService [-VMMServer <ServerConnection>] [-Service] <Service> [-RunAsynchronously] [-PROTipID <Guid>] [-JobVariable <String>] [-WhatIf] [-Confirm] [-OnBehalfOfUser <String>] [-OnBehalfOfUserRole <UserRole>] [<CommonParameters>]...
Module: ExchangePowerShell Applies to: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange OnlineThis cmdlet is available in on-premises Exchange and in the cloud-based service. Some parameters and settings may be exclusive to one environment or the ...
Module: ExchangePowerShell Applies to: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange OnlineThis cmdlet is available in on-premises Exchange and in the cloud-based service. Some parameters and settings may be exclusive to one environment or the ...
本部分提供一个示例 Windows PowerShell 脚本 RemoveCacheHost.ps1。 该脚本自动从缓存群集中删除缓存主机。 有关该脚本中使用的命令的说明,请参阅自动安装和配置。 RemoveCacheHost 示例脚本执行以下操作:尝试停止缓存主机以为删除它做准备。 从缓存群集中注销该缓存主机。 删除缓存服务的配置。 删除缓存管理功能的配置...
Amazon.PowerShell.Cmdlets.LS.AmazonLightsailClientCmdlet.ClientConfig Required?False Position?Named Accept pipeline input?True (ByPropertyName) -Force <SwitchParameter> This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with cau...
For Amazon Web Services services and resources that invoke your function directly, delete the trigger in the service where you originally configured it. Parameters -ClientConfig <AmazonLambdaConfig> Amazon.PowerShell.Cmdlets.LM.AmazonLambdaClientCmdlet.ClientConfig Required? False Position? Named ...
On the WindowsStartscreen, right-click the Windows PowerShell tile, and then on the app bar, clickRun as Administrator. Type the following, and then pressEnter. If you are installing the feature on the local server, omit the ComputerName parameter. ...