Migrate a Domain-based Namespace to Windows Server 2008 Mode
2016-03-17 19:44
525 查看
TechNet Library
Scripting with Windows PowerShell
Windows and Windows Server Automation with Windows PowerShell
Windows Server 2016 Technical Preview and Windows 10
Windows Server Update Services (WSUS) Cmdlets
Add-WsusComputer
Add-WsusDynamicCategory
Approve-WsusUpdate
Deny-WsusUpdate
Get-WsusClassification
Get-WsusComputer
Get-WsusDynamicCategory
Get-WsusProduct
Get-WsusServer
Get-WsusUpdate
Invoke-WsusServerCleanup
Remove-WsusDynamicCategory
Set-WsusClassification
Set-WsusDynamicCategory
Set-WsusProduct
Set-WsusServerSynchronization
Applies To: Windows 10, Windows Server Technical Preview
-- Continue
-- Ignore
-- Inquire
-- SilentlyContinue
-- Stop
-- Suspend
Microsoft.UpdateServices.Commands.IUpdateServer
None
Windows PowerShell
Windows PowerShell
Scripting with Windows PowerShell
Windows and Windows Server Automation with Windows PowerShell
Windows Server 2016 Technical Preview and Windows 10
Windows Server Update Services (WSUS) Cmdlets
Add-WsusComputer
Add-WsusDynamicCategory
Approve-WsusUpdate
Deny-WsusUpdate
Get-WsusClassification
Get-WsusComputer
Get-WsusDynamicCategory
Get-WsusProduct
Get-WsusServer
Get-WsusUpdate
Invoke-WsusServerCleanup
Remove-WsusDynamicCategory
Set-WsusClassification
Set-WsusDynamicCategory
Set-WsusProduct
Set-WsusServerSynchronization
Set-WsusServerSynchronization
Windows Server Technical Preview and Windows 10Applies To: Windows 10, Windows Server Technical Preview
Set-WsusServerSynchronization
Sets whether the WSUS server synchronizes from Microsoft Update or an upstream server.Syntax
Parameter Set: SyncFromMU Set-WsusServerSynchronization -SyncFromMU [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [-UpdateServer <IUpdateServer> ] [-Confirm] [-WhatIf] [ <CommonParameters>] Parameter Set: Upstream Set-WsusServerSynchronization -UssServerName <String> [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [-PortNumber <Int32> ] [-Replica] [-UpdateServer <IUpdateServer> ] [-UseSsl] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The Set-WsusServerSynchronization cmdlet sets whether the Windows Server Update Services (WSUS) server synchronizes from Microsoft Update or an upstream server. This cmdlet allows you to specify settings such as the upstream server name, the port number, and whether or not to use Secure Sockets Layer (SSL).Parameters
-InformationAction<System.Management.Automation.ActionPreference>
Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:-- Continue
-- Ignore
-- Inquire
-- SilentlyContinue
-- Stop
-- Suspend
Aliases | infa |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
-InformationVariable<System.String>
Specifies an information variable.Aliases | iv |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
-PortNumber<Int32>
Specifies the port number to use to communicate with the upstream WSUS server.Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
-Replica
Specifies whether the WSUS server is a replica server.Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
-SyncFromMU
Specifies that the WSUS server synchronizes updates from Microsoft Update.Aliases | none |
Required? | true |
Position? | named |
Default Value | none |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
-UpdateServer<IUpdateServer>
Specifies the object that contains the WSUS server. This value is obtained by calling the Get-WsusServer cmdlet and passing the resulting IUpdateServer object into this cmdlet.Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | true (ByValue) |
Accept Wildcard Characters? | false |
-UseSsl
Specifies that the WSUS server should use SSL via HTTPS to communicate with an upstream server.Aliases | none |
Required? | false |
Position? | named |
Default Value | none |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
-UssServerName<String>
Specifies the name of a local server from which to synchronize updates.Aliases | none |
Required? | true |
Position? | named |
Default Value | none |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
-Confirm
Prompts you for confirmation before running the cmdlet.Required? | false |
Position? | named |
Default Value | false |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.Required? | false |
Position? | named |
Default Value | false |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
<CommonParameters>
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).Inputs
The input type is the type of the objects that you can pipe to the cmdlet.Microsoft.UpdateServices.Commands.IUpdateServer
Outputs
The output type is the type of the objects that the cmdlet emits.None
Examples
Example 1: Synchonize from a specified server
This command specifies that the local WSUS Server is to synchronize from another server named Test using port number 42 and the SSL protocol.Windows PowerShell
PS C:\> Set-WsusServerSynchronization -UssServerName "Test" -PortNumber 42 -UseSSL
Example 2: Synchronize from Microsoft Update
This command specifies that the local WSUS Server is to synchronize from Microsoft Update.Windows PowerShell
PS C:\> Set-WsusServerSynchronization -SyncFromMU
Related topics
Get-WsusServer相关文章推荐
- could not bind to address 0.0.0.0:443 no listening sockets available, shutting d
- ADB server didn't ACK failed to start daemon 完美解决汇总
- 同一台服务器运行多套kamailio服务
- Xenomai补丁的安装
- 启动 angular-phonecat 项目时出现这玩意 。('The header content contains invalid characters');
- scala中的Trait
- AI-伪AI 人工智能 alphago
- 使用traits
- Canvas和Paint的那点事(1)
- 《ALPHAGO vs 李世石》- 人工智能攻下人类最后的堡垒?
- No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
- Jenkins——应用篇——插件使用——Mailer Plugin
- 本地客户端远程调用Service(AIDL)找不到该Service
- ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction
- UVa10976 - Fractions Again?!
- Aizu - 0033(深搜)
- 【案例】RAID卡写策略改变引发的问题
- Pairs Forming LCM(素因子分解+lcm)
- larbin 的main函数
- IBM serverx服务器RAID阵列磁盘配置JBOD模式(直通模式)