共用方式為


Prepare standard management workstation that has all the PowerShell modules and other dependencies you may need

Try not to use your regular personal desktop for Azure or Office 365 management. Try to use dedicated and standard virtual workstation for Azure and Office 365 management operations. Keep your modules clean and up to date.

  • Install Azure PowerShell 
  • Install Azure CLI

https://aka.ms/webpi-azps https://aka.ms/webpi-azure-cli

  • Install Online Services Sign-in Assistant

https://www.microsoft.com/en-us/download/details.aspx?id=41950

  • Install Azure AD module 

https://go.microsoft.com/fwlink/p/?linkid=236297

  • SharePoint Online Management Shell

https://www.microsoft.com/en-us/download/details.aspx?id=35588

  • Visual Studio Tools for Azure

https://www.visualstudio.com/vs/azure-tools/

  • Microsoft Azure Storage Explorer

https://storageexplorer.com/

NOTE: Don’t forget to update your PowerShell modules regularly.

You will want to ensure that you have the latest PowerShell modules installed every time you run cloud operations.  This can be done by opening up a new Powershell window and typing:

Update-Module -Name * -Force -Verbose

This will update all the loaded modules from the PowerShell Gallery.  Alternatively you can use Web Platform Installer to update the modules.