Does anyone have a SAM script that would extract the users logged into a windows VM.
Here's three lines to get you started:
$users = (gcim Win32_LoggedONUser).Antecedent.Name
Write-Host "Statistic.users: $($users.count)"
Write-Host "Message.users: Logged on users are: $users"
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 150,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.