氣象服務 URL 的登錄值 weatherserviceurl使用者HKCU\software\policies\microsoft\office\16.0\outlook\options\calendar

原則 ID
L_WeatherServiceUrl
適用範圍
使用者設定
支援的作業系統
至少需要 Windows Server 2008 R2 或 Windows 7
來源
Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
類別
Microsoft Outlook 2016 › Outlook 選項 › 喜好設定 › 行事曆選項

登錄

weatherserviceurl

REG_SZ使用者
啟用時的值
取決於選項值
元素
-
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\options\calendar]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"weatherserviceurl"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\calendar" /v "weatherserviceurl" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\calendar' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\calendar' -Name 'weatherserviceurl' -PropertyType String -Value '<輸入值>' -Force | Out-Null