title: What is the difference between "." and [System.ENVIRONMENT]::CurrentDirectory in powershell?
body: <pre><code>PM&gt; $path = "."
  PM&gt; Get-ChildItem $path -filter '.nuget'
  
  
      Directory: C:\Users\david\Documents\Visual Studio 2010\Projects\...
  
  
  Mode                LastWriteTime     Length Name                                                                                                                                                                
  ----                -------------     ------ ----                                                                                                                                                                
  d----        25.05.2012     16:20            .nuget                                                                                                                                                              
  
  
  PM&gt; $cwd = [System.ENVIRONMENT]::CurrentDirectory
  PM&gt; $cwd
  C:\Windows\system32
  PM&gt; Get-ChildItem $cwd -filter '.nuget'
  PM&gt; Get-ChildItem $cwd -filter 'adsnt.dll'
  
  
      Directory: C:\Windows\system32
  
  
  Mode                LastWriteTime     Length Name                                                                                                                                                                
  ----                -------------     ------ ----                                                                                                                                                                
  -a---        14.07.2009     03:14     260608 adsnt.dll                                                                                                                                                           
  
  
  PM&gt; [System.IO.PATH]::GetFullPath(".")
  C:\Windows\system32
  PM&gt;
  </code></pre>