Is there a way to find a users computername by searching username? Here is the scenario. Some of our clients are not comfortable with navigation to control panel to find computername. Is there a PowerShell command to search a username last machine logged it?
If you have SCCM in your environment you can use the ConfigMan modules. docs.microsoft.com/en-us/powershell/module/configurationmanager/get-cmuserdeviceaffinity?view=sccm-ps Get-CMUserDeviceAffinity -UserName "DOMAIN\DHall"
Dear, when i put the any domain joined computer name in the section of computer name, it is giving error that cannot find path and does not exist. Could you please tell me how i need to put the path of a domain joined computer from AD powershell? Thanks in advance
Awesome! This just saved me a bunch of hassle. Thanks for spreading the wealth, bruh.
Thanks. Really easy for what i needed.
Is there a way, for me to have a complete list of computer and displayname for a user that using it?
hi, how can I get a list of the computers from AD with the user that has login into them?
How to get the ip address and timing of the different users ??
Is there a way to find a users computername by searching username? Here is the scenario. Some of our clients are not comfortable with navigation to control panel to find computername. Is there a PowerShell command to search a username last machine logged it?
Assuming I am the admin and user gives me username “Rey-1”.
Not that I know of. But, almost anything is possible, it’s just a matter of figuring it out.
If you have SCCM in your environment you can use the ConfigMan modules.
docs.microsoft.com/en-us/powershell/module/configurationmanager/get-cmuserdeviceaffinity?view=sccm-ps
Get-CMUserDeviceAffinity -UserName "DOMAIN\DHall"
Dear, when i put the any domain joined computer name in the section of computer name, it is giving error that cannot find path and does not exist.
Could you please tell me how i need to put the path of a domain joined computer from AD powershell?
Thanks in advance
get-eventlog system -ComputerName $variable -source Microsoft-Windows-Winlogon
tried both and failed at both.