Compares the properties of two objects.
Compare-Properties.ps1 [[-ReferenceObject] <PSObject>] [[-DifferenceObject] <PSObject>] [-ExcludeDifferent]
[-IncludeEqual] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Compare-Properties.ps1 (Get-PSProvider variable) (Get-PSProvider alias)
PropertyName : ImplementingType Reference : True Value : Microsoft.PowerShell.Commands.VariableProvider Difference : True DifferentValue : Microsoft.PowerShell.Commands.AliasProvider
PropertyName : Name Reference : True Value : Variable Difference : True DifferentValue : Alias
PropertyName : Drives Reference : True Value : {Variable} Difference : True DifferentValue : {Alias}
The base object to compare properties to.
Type: PSObject
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The second object to compare the properties of.
Type: PSObject
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Indicates different values should be suppressed.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Indicates equal values should be included.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
https://docs.microsoft.com/dotnet/api/system.management.automation.psmemberset