Microsoft.PowerShell.Commands.Management.dll Package: Microsoft.PowerShell.Commands.Management v7.4.0 The name of the local time zone that the system should use. C++ public: property System::String ^ Name { System::String ^ get();voidset(System::String ^ value); }; ...
Microsoft.PowerShell.Management Sets the system time zone to a specified time zone. Syntax PowerShellKopeeri Set-TimeZone[-Name] <String> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>] PowerShellKopeeri Set-TimeZone-Id<String> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters...
This command sets the current system time back by 10 minutes. It uses the Adjust parameter to specify an interval of change and the time change (minus ten minutes) in standard time format for the locale. The DisplayHint parameter tells Windows PowerShell to display only the time, but it do...
To use Set-Service * on Windows Vista and later versions of the Windows operating system, start Windows PowerShell by using the Run as administrator option. Set-Service * can control services only when the current user has permission to do this. If a command does not work correctly, you ...
PowerShell 复制 Set-Service -Name WinRM -Status Running -PassThru Status Name DisplayName --- --- --- Running WinRM Windows Remote Management (WS-Manag...Set-Service 使用Name 参数来指定服务,WinRM。 Status 参数使用 运行 的值来启动服务。 PassThru 参数输出显示结果的 ServiceControlle...
PowerShell 中的新增功能 Windows PowerShell 安全性 Desired State Configuration (DSC) PowerShell 库 Community 脚本和开发 Docs 参与者指南 PowerShell 支持生命周期 Cmdlet 参考 CimCmdlets Microsoft.PowerShell.Archive Microsoft.PowerShell.Core Microsoft.PowerShell.Diagnostics ...
模組: Microsoft.PowerShell.Management 建立或變更專案屬性的值。語法PowerShell 複製 Set-ItemProperty [-Path] <string[]> [-Name] <string> [-Value] <Object> [-PassThru] [-Force] [-Filter <string>] [-Include <string[]>] [-Exclude <string[]>] [-Credential <pscredential>] [-WhatIf] [...
PowerShell 中的新增功能 Windows PowerShell 安全性 Desired State Configuration (DSC) PowerShell 库 Community 脚本和开发 Docs 参与者指南 PowerShell 支持生命周期 Cmdlet 参考 CimCmdlets Microsoft.PowerShell.Archive Microsoft.PowerShell.Core Microsoft.PowerShell.Diagnostics ...
PowerShell Copy Set-OwaVirtualDirectory [-Identity] <VirtualDirectoryIdParameter> [-ActionForUnknownFileAndMIMETypes <AttachmentBlockingActions>] [-ActiveSyncIntegrationEnabled <Boolean>] [-AdfsAuthentication <Boolean>] [-AllAddressListsEnabled <Boolean>] [-AllowCopyContactsToDeviceAddressBook <Boolean>] [...
This parameter is not supported by any providers installed with PowerShell. To impersonate another user, or elevate your credentials when running this cmdlet, useInvoke-Command. Type:PSCredential Position:Named Default value:None Required:False