Functions/Public/Get-WHDPreference.ps1

<#
    .SYNOPSIS
    Get the system configuration settings from WHD.
 
    .DESCRIPTION
    This function retrieves the system configuration settings from WHD.
    The API also refers to this as Setup/Preferences.
 
    .NOTES
    This ResourceType doesn't support retrieving a single Preference by id.
    This ResourceType doesn't support Qualifiers.
    The detailed format for this ResourceType is identical to the short format.
#>

function Get-WHDPreference {
    [CmdletBinding()]
    [Alias("Get-WHDSetup")]
    param ()

    return Get-WHDResource -ResourceType ([WHDResourceType]::Preference)
}