Transform a PowerShell Object with empty properties to an Hashtable with only properties that have value

Hi guys, Some time you may want to use PowerShell splating instead of PipeLine input. Splating, is the action to add some parameters to a cmdlet directly by giving the cmdlet a hashtable with properties and values. Here, as an example, the creation of an MsolUser using splating for my cat: Sometime, when you use […]