title: PowerShell does not recognize the command Resolve-DnsName
body: <p>Error on power shell script,</p>
  
  <pre><code>Import-Module DnsClient 
  </code></pre>
  
  <pre>
  Import-Module : The specified module 'DnsClient' was not loaded because no
  valid module file was found in any module directory.
  At line:1 char:1
  + Import-Module DnsClient
  + ~~~~~~~~~~~~~~~~~~~~~~~
       + CategoryInfo : ResourceUnavailable: (DnsClient:String) [Import-Module], FileNotFoundException
       + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand 
  </pre>
  
  <pre><code>Resolve-DnsName
  </code></pre>
  
  <pre>
  Resolve-DnsName : The term 'Resolve-DnsName' is not recognized as the name of
  a cmdlet, function, script file, or operable program. Check the spelling of
  the name, or if a path was included, verify that the path is correct and try
  again.
  At line:1 char:1
  + Resolve-DnsName
  + ~~~~~~~~~~~~~~~
       + CategoryInfo : ObjectNotFound: (Resolve-DnsName:String) [], CommandNotFoundException
       + FullyQualifiedErrorId : CommandNotFoundException 
  </pre>
  
  <p><a href="https://i.stack.imgur.com/nc6WI.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/nc6WI.jpg" alt="enter image description here"></a></p>
  
  <pre>
  PS C:\Users\aquib> <b>$PSVersionTable.PSVersion</b>
  Major  Minor  Build  Revision
  -----  -----  -----  --------
  2      0      -1     -1
  </pre>