Forum Discussion

TonyRedmond's avatar
Jun 12, 2024

To Splat or Not to Splat, That’s the Question

Splatting is an optional PowerShell technique designed to make it easier to pass parameter values for cmdlets. It’s a personal choice whether to use splatting instead of passing values to individual parameters in the command line. Although the Microsoft Graph PowerShell SDK can be a little strange at times, you can use splatting with SDK cmdlets, even with some pretty complex parameters such as those used to filter objects.\

https://office365itpros.com/2024/06/12/splatting-powershell/

No RepliesBe the first to reply