Get-AdfsWebTheme is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Gets web themes.
Description
The Get-AdfsWebTheme cmdlet gets AdfsWebTheme objects. Specify a web theme by name. If you do not specify a name, the cmdlet gets all the AdfsWebTheme objects.
Parameters
-Name
Specifies a name. The cmdlet gets the web theme that has the name that you specify.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
Syntax
Get-AdfsWebTheme [-Name <String>] [<CommonParameters>]
—————–Example 1—————–
Get all web themes
PS C:> Get-AdfsWebTheme
Name : Default
IsBuiltinTheme : True
StyleSheet : {[, System.Byte[]]}
RTLStyleSheet : {42, 32, 123, 13…}
Logo : {[, System.Byte[]]}
Illustration : {[, System.Byte[]]}
AdditionalFileResources : {[/adfs/portal/script/onload.js, System.Byte[]], [/adfs/portal/images/idp/localsts.png, System.Byte[]], [/adfs/portal/images/idp/idp.png,
System.Byte[]], [/adfs/portal/images/idp/otherorganizations.png, System.Byte[]]}
This command gets all the available web themes in Active Directory Federation Services (AD FS).
—————–Example 2—————–
Get a named web theme
PS C:> Get-AdfsWebTheme -Name “Theme01”
Name : Theme01
IsBuiltinTheme : False
StyleSheet : {[, System.Byte[]]}
RTLStyleSheet : {42, 32, 123, 13…}
Logo : {[, System.Byte[]]}
Illustration : {[, System.Byte[]]}
AdditionalFileResources : {[/adfs/portal/script/onload.js, System.Byte[]], [/adfs/portal/images/idp/localsts.png, System.Byte[]], [/adfs/portal/images/idp/idp.png,
System.Byte[]], [/adfs/portal/images/idp/otherorganizations.png, System.Byte[]]}
This command gets the theme named Theme01.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Get-AdfsWebTheme
You can also read about
- Export-AdfsWebTheme
- New-AdfsWebTheme
- Remove-AdfsWebTheme
- Set-AdfsWebTheme