Get Session Information for all NST’s – PowerShell Version

Continuing on my previous post Get Session Count over multiple NST’s I decided to make a little PowerShell function of it. function Get-NAVServerSessions { Add-Type -TypeDefinition @" public enum ClientType { WindowsClient, SharePointClient, WebService, ClientService, NAS, Background, ManagementClient, WebClient, Unknown } "@ $qry = " DECLARE @command VARCHAR(MAX); create table #temptable ( ... Read the full text.
Comment List