I'm trying to create a logon/logoff activity report based on members of
specific security groups in AD. I'm using powershell to create the array of
users,
if(-not(Get-Module ActiveDirectory)) { Import-Module ActiveDirectory }
$groups = 'Grp1', 'Grp2', 'Grp3', 'Grp4', 'Grp5'
$members = $groups |
foreach { Get-ADGroupMember -Identity $_ -Recursive } |
foreach { $_.SamAccountName } | sort -Unique
Is there a way to create a report in SCOM using the powershell script to
extract the information from the ACS database? I can write the report in
powershell but it takes longer trying to figure out what fields I need to use
in the ACS database to get the information.
Confidentiality Notice:
This e-mail message, including any attachments, is for the sole use
of intended recipient(s) and may contain confidential and
privileged information.
Any unauthorized review, use, disclosure or distribution is
prohibited.
If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
(Notice #57A9E32F7BC)