How to display the SW Assets PrimaryUsers username in views?
It seems the Cireson.AssetManagement.SoftwareAssetHasPrimaryUser relationship targets System!System.User which doesn't have the username attribute. This attribute first comes with the Microsoft.AD.User class..
The username is very often the requested information if you want to copy/paste info from views to excel that will later be the input to powershell-scripts.
Best Answer
-
Brett_Moffett Cireson PACE Super IT Monkey ✭✭✭✭✭Hi @Jon_Runheim
Looks like it is a case of returning the System.User class and from that, returning the AD.User class to find the details you wish to use.
This is relatively simple in PowerShell and can be used the way you describe within your solution, the only thing you would miss is having the username within the spreadsheet.
I hope this makes sense and answers your question.5
Answers
Looks like it is a case of returning the System.User class and from that, returning the AD.User class to find the details you wish to use.
This is relatively simple in PowerShell and can be used the way you describe within your solution, the only thing you would miss is having the username within the spreadsheet.
I hope this makes sense and answers your question.
I'd want to avoid direct powershelling to SCSM if possible for these solutions but if it's the only way..