title: Azure Powershell Cmds Not working in ISE
body: <p>It seems Windows Azure Powershell console does not have the same configuration as the ISE.  </p>
  
  <p>For instance, after opening up the console windows the following cmdlet works: Get-AzureVMImage </p>
  
  <p>Now when I enter ISE to open the ISE application the same cmdlet is not found.  </p>
  
  <pre><code>Get-AzureVMImage : The term 'Get-AzureVMImage' 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.
  </code></pre>
  
  <p>I can see the console window contains the following modules:</p>
  
  <pre><code>ModuleType Name                                ExportedCommands
  ---------- ----                                ----------------
  Binary     Azure                               {Add-AzureAccount, Add-AzureCacheWorkerRole, Add-AzureCertificate, Ad...
  Manifest   Microsoft.PowerShell.Management     {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Content...}
  Manifest   Microsoft.PowerShell.Security       {ConvertFrom-SecureString, ConvertTo-SecureString, Get-Acl, Get-Authe...
  Manifest   Microsoft.PowerShell.Utility        {Add-Member, Add-Type, Clear-Variable, Compare-Object...}
  </code></pre>
  
  <p>The ISE is showing the Azure Module missing.</p>
  
  <pre><code>ModuleType Name                                ExportedCommands                                                                                                     
  ---------- ----                                ----------------                                                                                                     
  Script     ISE                                 {Get-IseSnippet, Import-IseSnippet, New-IseSnippet}                                                                  
  Manifest   Microsoft.PowerShell.Management     {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Content...}                                                   
  Manifest   Microsoft.PowerShell.Security       {ConvertFrom-SecureString, ConvertTo-SecureString, Get-Acl, Get-AuthenticodeSignature...}                            
  Manifest   Microsoft.PowerShell.Utility        {Add-Member, Add-Type, Clear-Variable, Compare-Object...}                                                            
  Binary     Microsoft.WindowsAzure.Commands     {Get-AzureAutomationAccount, Get-AzureAutomationJob, Get-AzureAutomationJobOutput, Get-AzureAutomationRunbook...}    
  Manifest   Microsoft.WSMan.Management          {Connect-WSMan, Disable-WSManCredSSP, Disconnect-WSMan, Enable-WSManCredSSP...}                                      
  </code></pre>
  
  <p>So I get the path of the Azure module and import it like so:</p>
  
  <pre><code>Import-Module "C:\Program Files (x86)\Microsoft SDKs\Windows Azure\PowerShell\ServiceManagement\Azure\Microsoft.WindowsAzure.Commands.dll"
  </code></pre>
  
  <p>But the Get-AzureVMImage still does not work.  How to I get both the shell and the ISE to behave exactly the same?</p>
  
  <p>Thanks</p>