變更 AD FS 登入頁面上的公司商標Changing the company logo on the AD FS sign-in page

適用於:Windows Server 2016、Windows Server 2012 R2Applies To: Windows Server 2016, Windows Server 2012 R2

若要變更顯示 sign\ 在頁面上的公司商標,使用下列 PowerShell Windows PowerShell cmdlet 和語法。To change the logo of the company that is displayed on the sign-in page, use the following PowerShell Windows PowerShell cmdlet and syntax.

變更商標

重要

我們建議為 260 x 35 @ 96 dpi 檔案的大小與不超過 10 KB 標誌尺寸。We recommend the dimensions for the logo to be 260x35 @ 96 dpi with a file size of no greater than 10 KB.

Set-AdfsWebTheme -TargetName default -Logo @{path="c:\Contoso\logo.png"}  

注意

TargetName是必要的參數。The TargetName parameter is required. 放開 AD FS 使用的預設主題名為預設The default theme that is released with AD FS is named default.

其他參考資料Additional references

AD FS 使用者登入自訂AD FS User Sign-in Customization