# User logOn on a server

**URL:** <https://forums.powershell.org/t/user-logon-on-a-server/18411>\
**Category:** PowerShell Help\
**Created:** [January 24, 2022, 12:37pm UTC](https://forums.powershell.org/t/user-logon-on-a-server/18411 "2022-01-24T12:37:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoaoBorrego](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@JoaoBorrego](https://forums.powershell.org/u/JoaoBorrego)\
**Post date:** [January 24, 2022, 12:37pm UTC](https://forums.powershell.org/t/user-logon-on-a-server/18411/1 "2022-01-24T12:37:57Z")

</div>

Hello I want to see wich user are logon on a server, is any solution for that? I try to use Get-UserLogon but is not recognized

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [January 24, 2022, 12:47pm UTC](https://forums.powershell.org/t/user-logon-on-a-server/18411/2 "2022-01-24T12:47:47Z")

</div>

João,  
Bem-vindo to the forum. 👋🏽

Where did you find the cmdlet `Get-UserLogon`? I’ve never heard of it. As far as I know there is no native PowerShell cmdlet to list logged on users.

You can use an external tool for that. Run

```auto
quser /?

```

on the console and follow the help.

---

<div class="post-metadata">

**Author:** ![JoaoBorrego](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@JoaoBorrego](https://forums.powershell.org/u/JoaoBorrego)\
**Post date:** [January 24, 2022, 12:58pm UTC](https://forums.powershell.org/t/user-logon-on-a-server/18411/3 "2022-01-24T12:58:44Z")

</div>

I saw on the net, but I very new on this maybe I didn´t saw correcly.  
I try your solution and it works perfect, many thanks

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [January 24, 2022, 1:05pm UTC](https://forums.powershell.org/t/user-logon-on-a-server/18411/4 "2022-01-24T13:05:28Z")

</div>

I’m glad it helped. 👍🏽 🙂

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:19pm UTC](https://forums.powershell.org/t/user-logon-on-a-server/18411/5 "2024-05-16T20:19:42Z")

</div>


