Query Classic Cloud Service

MGCH 41 Reputation points
2021-02-16T11:48:27.45+00:00

Is there a way to retrieve information about a Classic Cloud Service using Powershell?
I only find commands from like Get-AzureService from the old azure module.
Are there equivalent commands in the Az?
If not, is there a way for Az and Azure commands to coexist in the same script?

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
669 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 12,771 Reputation points
    2021-02-17T15:45:05.51+00:00

    @MGCH - Thanks for reaching out.

    The Az PowerShell module is for working with Azure Resource Manager. The Azure PowerShell module is for working with Azure Service Management (Classic deployment mode). Commands from both modules can coexist in the same script.

    So there is no way of using Az PowerShell commands in this scenario.

    Hope this helps.

    Please "Accept as Answer" and "Upvote" the same if the response helped, so it can be beneficial to the community.

    0 comments No comments