< Back

Import-ADFSClient

Fri Jan 10, 2020 7:24 pm

NAME Import-ADFSClient



SYNOPSIS

This script imports ADFSClient values with extra authentication rules to allow for remote execution.





SYNTAX

Import-ADFSClient [[-ADFSContent] <String>] [-Server <String>] [-Credential <PSCredential>] [<CommonParameters>]





DESCRIPTION

Imports all client rules to farm, with extra local/remote server and credential flags to make it more flexible in

a CI/CD scenario.





PARAMETERS

-ADFSContent <String>



Required? false

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Server <String>



Required? false

Position? named

Default value $env:COMPUTERNAME

Accept pipeline input? false

Accept wildcard characters? false



-Credential <PSCredential>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Import-ADFSClient



This will import all clients from json format for saving in a config-as-code scenario.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Import-ADFSClient -Name MyClient -Server ADFS01 -Credential $creds



In this example a remote server and credentials are proivided. The credential parameter is not mandetory if

current logged-in credentails will work.











RELATED LINKS