Import-SingleResultFile
SYNOPSIS
Section titled “SYNOPSIS”Helper: loads a single JSON file and adds valid results to the list. Handles both single-tenant and multi-tenant (merged) formats.
SYNTAX
Section titled “SYNTAX”Import-SingleResultFile [[-FilePath] <String>] [[-RequiredProperties] <String[]>] [[-ResultList] <System.Collections.Generic.List`1[System.Management.Automation.PSObject]>] [-ProgressAction <ActionPreference>] [<CommonParameters>]DESCRIPTION
Section titled “DESCRIPTION”{{ Fill in the Description }}
EXAMPLES
Section titled “EXAMPLES”PARAMETERS
Section titled “PARAMETERS”-FilePath
Section titled “-FilePath”{{ Fill FilePath Description }}
Type: StringParameter Sets: (All)Aliases:
Required: FalsePosition: 1Default value: NoneAccept pipeline input: FalseAccept wildcard characters: False-RequiredProperties
Section titled “-RequiredProperties”{{ Fill RequiredProperties Description }}
Type: String[]Parameter Sets: (All)Aliases:
Required: FalsePosition: 2Default value: NoneAccept pipeline input: FalseAccept wildcard characters: False-ResultList
Section titled “-ResultList”{{ Fill ResultList Description }}
Type: System.Collections.Generic.List`1[System.Management.Automation.PSObject]Parameter Sets: (All)Aliases:
Required: FalsePosition: 3Default value: NoneAccept pipeline input: FalseAccept wildcard characters: False-ProgressAction
Section titled “-ProgressAction”Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by Write-Progress.
Type: ActionPreferenceParameter Sets: (All)Aliases: proga
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseCommonParameters
Section titled “CommonParameters”This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.