Remove‑CommonParameter - dsccommunity/DscResource.Common GitHub Wiki
Removes common parameters from a hashtable.
Remove-CommonParameter [-Hashtable] <Hashtable> [<CommonParameters>]
This function serves the purpose of removing common parameters and option common parameters from a parameter hashtable.
Remove-CommonParameter -Hashtable $PSBoundParameters
Returns a new hashtable without the common and optional common parameters.
The parameter hashtable that should be pruned.
Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
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.