<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Metric for knowing if a Win server has remote logged in users? in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Metric-for-knowing-if-a-Win-server-has-remote-logged-in-users/m-p/233040#M3876</link>
    <description>&lt;P&gt;Just to give Feedback on how I managed to do it. Used query below to grab number of active sessions in Terminal Services, and then coded a v2 extension:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$computerName = "192.168.111.20"
$credential = Get-Credential 
Get-WmiObject -Class Win32_PerfFormattedData_LocalSessionManager_TerminalServices -ComputerName $computerName -Credential $credential | Select-Object -ExpandProperty ActiveSessions&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Dec 2023 11:46:37 GMT</pubDate>
    <dc:creator>AntonioSousa</dc:creator>
    <dc:date>2023-12-29T11:46:37Z</dc:date>
    <item>
      <title>Metric for knowing if a Win server has remote logged in users?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Metric-for-knowing-if-a-Win-server-has-remote-logged-in-users/m-p/232796#M3861</link>
      <description>&lt;P&gt;I'm trying to establish a metric of the number of remote logged in users in Windows servers.&lt;/P&gt;&lt;P&gt;I'm trying to do it through WMI, but still working on how to do it...&lt;/P&gt;&lt;P&gt;Has anyone managed to do this?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2023 00:16:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Metric-for-knowing-if-a-Win-server-has-remote-logged-in-users/m-p/232796#M3861</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2023-12-26T00:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Metric for knowing if a Win server has remote logged in users?</title>
      <link>https://community.dynatrace.com/t5/Extensions/Metric-for-knowing-if-a-Win-server-has-remote-logged-in-users/m-p/233040#M3876</link>
      <description>&lt;P&gt;Just to give Feedback on how I managed to do it. Used query below to grab number of active sessions in Terminal Services, and then coded a v2 extension:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$computerName = "192.168.111.20"
$credential = Get-Credential 
Get-WmiObject -Class Win32_PerfFormattedData_LocalSessionManager_TerminalServices -ComputerName $computerName -Credential $credential | Select-Object -ExpandProperty ActiveSessions&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 11:46:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Metric-for-knowing-if-a-Win-server-has-remote-logged-in-users/m-p/233040#M3876</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2023-12-29T11:46:37Z</dc:date>
    </item>
  </channel>
</rss>

