-
Notifications
You must be signed in to change notification settings - Fork 0
Compare Hashset
external help file: ModernConveniences-help.xml Module Name: ModernConveniences online version: https://learn.microsoft.com/dotnet/api/system.collections.generic.hashset-1 schema: 2.0.0
Returns differences between sets.
Compare-Hashset [-ReferenceObject] <Object> [-DifferenceObject] <Object> [-CaseInsensitive] [-ExcludeDifferent]
[-IncludeEqual] [-ProgressAction <ActionPreference>] [<CommonParameters>]
{{ Fill in the Description }}
Compare-Hashset @(1,2,4) @(2,3,4,5)
|Value SideIndicator |----- ------------- | 1 <= | 3 => | 5 =>
Compare-Hashset @(1,2,4) @(2,3,4,5) -IncludeEqual -ExcludeDifferent
|Value SideIndicator |----- ------------- | 2 == | 4 ==
The base set to compare.
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe set to contrast with the base set.
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies that strings in the set will be compared ignoring case.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseIndicates that differences should be skipped.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseIndicates that matches should be included.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
https://learn.microsoft.com/dotnet/api/system.collections.generic.hashset-1