Forum Discussion
VidRocksKay
Sep 02, 2022Copper Contributor
Generating a combined CSV from multiple sources (currently using 3 separate steps)
Hi Guys, PowerShell Newbie here :). I have a script (@Harm_Veenstra helped me a lot in this post - to get this piece done) to collect field values from multiple sources referring to a source CSV...
raindropsdev
Sep 03, 2022Iron Contributor
Here you go:
https://github.com/Raindrops-dev/RAIN-TechCommunityContributions/blob/main/Get-CombinedExchangeGraphUser.ps1
Sadly I'm unable to test the Exchange Onpremise part as I don't have an Exchange Onpremise server to test with.
I replaced the MSOL params with Graph API because of the soon upcoming deprecation: https://github.com/Raindrops-dev/RAIN-TechCommunityContributions/blob/main/Get-CombinedExchangeGraphUser.ps1
The license processing is a bit complicated since there is no IsLicensed but it gives a list of GUIDs of the various licenses assigned, so I checked if that parameter was empty to create the IsLicensed variable.
https://github.com/Raindrops-dev/RAIN-TechCommunityContributions/blob/main/Get-CombinedExchangeGraphUser.ps1
Sadly I'm unable to test the Exchange Onpremise part as I don't have an Exchange Onpremise server to test with.
I replaced the MSOL params with Graph API because of the soon upcoming deprecation: https://github.com/Raindrops-dev/RAIN-TechCommunityContributions/blob/main/Get-CombinedExchangeGraphUser.ps1
The license processing is a bit complicated since there is no IsLicensed but it gives a list of GUIDs of the various licenses assigned, so I checked if that parameter was empty to create the IsLicensed variable.