Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Admin User name
$username = "mimdev\darrenjrobinson"
# MIM Sync Server
$mimsync = "mymimserver"
# If the account you're logged in as has the right permissions you can simply run
Enter-PSSession -ComputerName $mimsync
# otherwise provide the credentials for a privilaged account
Enter-PSSession -ComputerName $mimsync -Credential $username
# Get a User
$mvuser = Get-MVObject Person -Attribute uid -Value '@darrenjrobinson'
# What MA's is the user connected on ?
$mvuser.CSMVLinks
# Get Stats for the Twitter MA
$mastats = Get-MAStatistics -MA Twitter
# End Session
Exit-PsSession
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.