Import-DSPamScanResult
Synopsis
Import the accounts of a PAM scan result
Syntax
Reset
Import-DSPamScanResult [-ScanResult] <PSScanResult[]> [-Provider] <PamProvider> [-FolderID] <guid>
[-ResetPasswordOnImport] [-ResetPasswordOnCheckIn] [<CommonParameters>]Unmanaged
Import-DSPamScanResult [-ScanResult] <PSScanResult[]> [-Provider] <PamProvider> [-FolderID] <guid>
-Unmanaged [-UnmanagedAction <UnmanagedImportAction>] [<CommonParameters>]Description
Import the accounts of a PAM scan result
Examples
PS C:\> $providerID = 'the-desired-pam-provider-ID'
$folderID = 'the-desired-pam-vault-or-folder-ID'
$configuration = Get-DSPamScanConfiguration -LiteralName 'ScanA';
$toImport = Get-DSPamScanResult -InputObject $configuration -Filter '@domain.net' -ExcludedManaged;
$providerResult = Get-DSPamProvider
$provider = $providerResult.Data | Where -Property ID -eq $providerID
$importResult = Import-DSPamScanResult -ScanResult $toImport -Provider $provider -FolderID $folderIDFrom the 'ScanA' PAM scan's result, import all accounts who have '@domain.net' in their username, hostname, fullname, or description in the PAM folder specified by $folderID.
Parameters
-FolderID
Pam Folder
-Provider
Provider obtained from Get-DSPamProvider
-ResetPasswordOnCheckIn
Reset password on check in
-ResetPasswordOnImport
Reset password on import
-ScanResult
Pam accounts revealed by a PAM scan. Must be of the same type.
-Unmanaged
Set accounts to unmanaged
-UnmanagedAction
Set accounts to unmanaged. To manually set the password, you must modify directly the scan results. The default action is to set the password manually.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Notes
For more information, type "Get-Help Import-DSPamScanResult -detailed". For technical information, type "Get-Help Import-DSPamScanResult -full".
Last updated
Was this helpful?