1 2 3 | $Path = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI" Get-ItemProperty -Path $Path | Select-Object -ExpandProperty LastLoggedOnUser |
1 2 3 | $Path = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI" Get-ItemProperty -Path $Path | Select-Object -ExpandProperty LastLoggedOnUser |