I am using this line of code in powershell and it works but it displays too much. I am trying to find and display where the group that contains "Avecto" in the name.
dsquery user -samid MyUSerName| dsget user -memberof | dsget group -samid
Is there anyway to add that on this script statement?