TechShizz | All posts by rich

Auditpol

List of users being Audited

AuditPol /List /User

 

To see how a user is being audited

AuditPol /Get /User:UserName / Category:*

 

To see the users SID

AuditPol /List /User /V

 

List all audit categories

AuditPol /List / Category

Data Cable Terminations

Category 5 / Cat 5E Patch Cable

Before you begin, you should know which wiring scheme you will be using. The only difference between 568A and 568B wiring is that pairs 2 and 3 (orange and green) are swapped. If you are unsure which one to use then you should go with the 568B diagram. It is the 568B diagram that we demonstrate in this tutorial and the 568A wiring is shown in the diagrams below mainly for illustration. In our estimation the 568B connection is used in over 99% of all straight through applications. Know that using either the A or B standard will produce a "straight through" connection that should work for any Ethernet or POE (power over Ethernet) application. Therefore do not sweat over the choice.

Always go B, not A (although it doesn’t matter anymore)


Application Note: To make a crossover patch cable, you should wire one end 568B and the other end 568A

Test SMTP Email with Telnet

In this example I'll email from test@outlook.com to rich@techshizz.com

 

First ID the SMTP server via it's MX record:

 

Nslookup -q=mx techshizz.com

 

From a Telnet client run:

 

Telnet mail.techshizz.com 25

 

At this point you should get a 220 response which means everything is OK up to this point.

 

Helo techshizz.com    <  just type the domain after helo - (not important)

 

Mail from: test@outlook.com

 

250 OK

 

Rcpt to: rich@techshizz.com

 

Data

This is a test - Ignore

.

    < Hit Enter then  <Period Key> then enter to submit.

 

250 OK

 

Quit

Application Directory Partitions

To create a DNS application directory partition

  1. Open a command prompt.
  2. Type the following command, and then press ENTER:

dnscmd <ServerName> /CreateDirectoryPartition <FQDN>

This will need to be done only once. It will create the partition in the NTDS.dit file and replicate around AD.

https://technet.microsoft.com/en-us/library/cc772361.aspx

 

To enlist a DNS server in a DNS application directory partition

  1. Open a command prompt.
  2. Type the following command, and then press ENTER:

dnscmd <ServerName> /EnlistDirectoryPartition <FQDN>

This will need to be repeated on each DNS Server that requires access to the partition.

https://technet.microsoft.com/en-us/library/cc772361.aspx

 

To remove a DNS server from a DNS application directory partition

  1. Open a command prompt.
  2. Type the following command, and then press ENTER:

dnscmd <ServerName> /UnenlistDirectoryPartition <FQDN>

https://technet.microsoft.com/en-us/library/cc772361.aspx