This cmdlet will get a list of the sessions for the specified server
PS > get-ASSession -ServerName localhost