This is a pretty good article on DNS Doctoring:
http://secret-epedemiology-statistic.org.ua/1587052091/ch05lev1sec7.html
Tuesday, May 29, 2012
How-to Add a SQL Server SPN
From a command prompt, enter the following:
To create an SPN for the NetBIOS name of the SQL Server use the following command:
To create an SPN for the FQDN of the SQL Server use the following command:
To create an SPN for the NetBIOS name of the SQL Server use the following command:
setspn -A
MSSQLSvc/{SQL Server computer name}:1433 {Domain\Account}
To create an SPN for the FQDN of the SQL Server use the following command:
setspn -A MSSQLSvc/{SQL Server FQDN}:1433 <Domain\Account>
Testing for AD Replication Issues
Run this command from a command prompt to find replication issues in a formatted table form.
repadmin /replsum /bysrc /bydest /sort:delta
Find System Uptime from Command Line
To find the system uptime, you can use this simple command from a command prompt. It uses SystemInfo to find the last System Boot Time.
systeminfo | find "System Boot Time:"
Labels:
Windows 2003,
Windows 2008,
Windows 2008 R2,
Windows 7,
Windows 8
How do I find the Domain Controllers for a domain a server is joined to?
- Start -> Run -> nslookup
- set type=all
- _ldap._tcp.dc._msdcs.DOMAIN_NAME
Replace DOMAIN_NAME with actual domain name
Subscribe to:
Posts (Atom)