For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get-DSPamProviderTemplate

Synopsis

Obtenir un modèle de fournisseur PAM

Syntaxe

__AllParameterSets

Get-DSPamProviderTemplate [[-Name] <string>] [-CaseSensitive] [<CommonParameters>]

Description

Obtenir un modèle de fournisseur PAM.

Exemples

PS C:\> $summary = Get-DSScriptTemplateSummary -Name "My template";
    $id = $summary.Id;
    $script = Get-DSScriptTemplate $id | New-DSScriptConfiguration "NewConfig";
    $script.Properties[0].Value = "https://myurl.com";
    $script.Properties[1].Value = "password123";
    $script.AddAccountType('DomainUser');
    $script.ExecutionProperties[0].Mappings[0].TargetResource = "Account";
    $script.ExecutionProperties[0].Mappings[0].Value = "ResolvedVaultName";
    $provider = Get-DSPamProviderTemplate 'MyPamProviderTemplate';
    $script.AddAccountType('Custom', $provider);
    $script.ExecutionProperties[1].Mappings[0].Value = "Label";
    Set-DSScriptConfiguration -ScriptConfiguration $script -PassThru

Remplit les valeurs d'une configuration de script PAM, en ajoutant un type de compte DomainUser et un modèle de fournisseur PAM personnalisé.

Paramètres

-CaseSensitive

Recherche sensible à la casse.

-Name

Filtrer les modèles par leur nom.

CommonParameters

Cette applet de commande prend en charge les paramètres communs : -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction et -WarningVariable. Pour plus d'informations, consultez about_CommonParameters.

Notes

Pour plus d'informations, tapez « Get-Help Get-DSPamProviderTemplate -detailed ». Pour des informations techniques, tapez « Get-Help Get-DSPamProviderTemplate -full ».

Mis à jour

Ce contenu vous a-t-il été utile ?