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

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -