< Back

New-MergedObjectHashTable

Sat Jan 11, 2020 2:44 pm

NAME New-MergedObjectHashTable



SYNOPSIS

This function merges two lists of objects into a combined hash table to help with syncing.





SYNTAX

New-MergedObjectHashTable -currentObjects <PSObject[]> -expectedObjects <PSObject[]> -keyProperty <String>

[<CommonParameters>]





DESCRIPTION

This function merges two lists of objects into a combined hash table to help with syncing.





PARAMETERS

-currentObjects <PSObject[]>

The objects which are currently present.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-expectedObjects <PSObject[]>

The objects which are expected to be present.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-keyProperty <String>

The name of the object property used as the hash table key.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Collections.Hashtable







RELATED LINKS