change Illustration image file on ADFS server


Implementation Details:

1) Login into the TESTADFS.

2) Open the powershell Run As Administrator
3) Get-AdfsWebTheme check the current webtheme applied
4) To export a web theme, use the following cmdlet:
Export-AdfsWebTheme –Name default –DirectoryPath c:\theme04
5) To change the illustration use the below cmdlet:

Set-AdfsWebTheme -TargetName default -Illustration @{path=”c:\Contoso\illustration.png”}

6) Clear the browser history and reload the web page.

Rollback:

1) Login into the TESTADFS.
2) Refer the old web theme directory path c:\theme04\Illustration\Illustration.png
3) using the below cmdlet to revert the old Illustration image.
Set-AdfsWebTheme -TargetName default -Illustration @{path=”c:\Contoso\illustration.png”}

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: