↧
Powershelling the Kernel32 function GetComputerName
I was writing a blogpost on different ways of accessing the computer name running the script. So I thought well the old way of accessing it through Kernel32.dll should be possible. After looking...
View ArticleGetting the computername in Powershell
Update 2015-07-03: So I got two comments from Paul Wiegmans. These were mainly that the functions delivered different hostname vs netbios version. And that I had missed a good function. And I’m so used...
View Article