sharepoint - How to get SPServer's machine name? -


Usually in SharePoint, the name of an SPAserve machine is equal, but if we use it

   

Stsadm.exe -o renameserver -oldservername & lt; OldServerName & gt; -Ness Sercer Name & lt; NewServerName & gt;

enter image details here

change Name the server for, so how can I tell the name of an SPAs detecting agent?

If you use PowerShell, you can use any of these two commands :

[System.Net.Dns] :: GetHostName ()

$ env: COMPUTERNAME


Comments

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -