How do I find my AD Schema Master server ?

How do I find my AD Schema Master server ?

There are many ways to do this, one such way is to use the following command.

dsquery server -hasfsmo schema