Sometimes when logged into any windows machines/Servers you wonder about the exact logon server which you used to login. So, in-orderto gather the exact Logon Server Name you can use the following command in your powershell and it will display the exact logon Server Name:
[System.Environment]::GetEnvironmentVariable("logonserver")
No comments:
Post a Comment
Thank You.
https://linwintech.blogspot.com/