Get-ExternalInOutlook
此指令程式只能在雲端式服務中使用。
請使用 Get-ExternalInOutlook 指令,查看 Outlook、Mac 版 Outlook、Outlook 網頁版 以及 iOS 和 Android 版 Outlook 中可用的外部寄件人識別設定。
如需下方<語法>一節中參數集的詳細資訊,請參閱 Exchange Cmdlet 語法。
語法
Default (預設值)
Get-ExternalInOutlook
[[-Identity] <OrganizationIdParameter>]
[<CommonParameters>]
Description
此 cmdlet 輸出中回傳的重要屬性包括:
- 啟用:True表示該功能已啟用;錯誤表示該功能已被停用。
- AllowList:例外清單。 來自指定寄件人或指定網域發件人的訊息,主旨欄不會顯示外部圖示。
您必須已獲指派權限,才能執行此指令程式。 雖然這篇文章列出了 cmdlet 的所有參數,但如果某些參數未包含在你分配的權限中,你可能無法存取這些參數。 若要尋找在組織中執行任何 Cmdlet 或參數所需的權限,請參閱 Find the permissions required to run any Exchange cmdlet。
範例
範例 1
Get-ExternalInOutlook
此範例回傳組織外部寄件人識別功能設定。
參數
-Identity
適用:Exchange Online,內建本地信箱安全外掛
Identity 參數指定你想查看的外部發送者識別物件的 GUID。 雖然這個參數是可用的,但你不需要使用它。
注意:Identity 參數的值$null或不存在的值,會回傳 所有 物件,就像你執行 Get- 指令時沒有 Identity 參數一樣。 請確認 Identity 參數的值清單是否準確,且不包含不存在的 $null 值。
參數屬性
| 類型: | OrganizationIdParameter |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
(All)
| Position: | 0 |
| 必要: | False |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
CommonParameters
此 cmdlet 支援常見參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。