John Savill'ss FAQs on IT Pro Today Hero

Savill's FAQs: View Your Azure Resources Using PowerShell

Three times a week, John Savill tackles your most pressing IT questions. Today: Learn how to reset Microsoft Edge so one of its services does not continue to use a significant amount of CPU resources; view all Azure resources that you can use with PowerShell; and obtain public IPs from Azure.

Three times a week (Monday/Wednesday/Friday), John Savill tackles your most pressing IT questions.

Read through the FAQ archives, or send him your questions via email.

Today: Learn how to reset Microsoft Edge so one of its services does not continue to use a significant amount of CPU resources; view all Azure resources that you can use with PowerShell; and obtain public IPs from Azure.


Q. On a clean Windows 10 installation, State Repository Service is using a large amount of CPU. What is this and why is it doing this?

A. This seems to be tied to Edge and possible installation problems. There are two things to try that can help.

The first is to re-register the AppX files:

  1. Open an elevated PowerShell session
  2. Execute:
    Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

If this does not resolve the issue then you can try a repair of Edge:

  1. Open Settings
  2. Select Apps
  3. Select Microsoft Edge and select Advanced Options
  4. Click Repair and then click Reset

This should solve the problem.


Q. How can I view every Azure RM resource I have using PowerShell?

A. There are various cmdlets that can show via the get verb specific types of resource such as resource groups, storage accounts etc. If you want to view every ARM resource you can use the Get-AzureRmResource cmdlet.

The command below shows the name, type and location of all ARM resources.

Get-AzureRmResource | ft Name, ResourceType, Location -AutoSize


Q. Can I request a block of contiguous public IPs from Azure or bring my own?

A. No. Each public IP is requested as an individual resource and there is no way to request a block of contiguous addresses. You can reserve a number of public IP addresses for a subscription which will be reserved for that subscription even if not used which would allow you to then whitelist them against various services but they would be /32 entries (a specific IP) rather than a range. You cannot bring your own public IP's to Azure.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish