improve Get-CMUser command
at the moment, Get-CMUser command is returning only few parameters, this command is querying RESCOLLSMS00002 table which is not populated with many information about user. But the command itself is prepared to deliver more parameters. Can we expect this to be improved? to populate this table with more information or query smsruser for more details... like user attributes taken from AD.
This would be very helpful with any automation scripts, if we don't need to query AD or WMI class for them.
Get-CMUser gets collection members from SMS_CollectionMember which has a different set of data that SMS_R_User has. Changing this behavior would likely break a lot of existing automation.
What you can do is use Get-CMResource -ResourceType User which will query SMS_R_User instead.
Piotr Wasiak commented
great, i can work with that. thanks for the tip :)