Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Azure icon
Labs

Starting IaaS Workloads with SHiPs in Azure PowerShell

Simple Hierarchy in PowerShell (SHiPs) is used in Azure to change directory into your cloud resources, much like you would change directory in a filesystem. This is useful for accounts that have many subscriptions and resource groups. In this hands-on lab, you will create a new Azure VM after changing directory into your resource group. Because the context is assumed in Cloud Shell, you don't have to specify the resource group or subscription in order to create a VM in that location.

Azure icon
Lab platform
Lab Info
Level
Intermediate
Last updated
Aug 16, 2025
Duration
1h 0m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Log in to the Azure Portal and Open Cloud Shell
    1. Navigate to https://portal.azure.com.
    2. Use the email and password provided with this hands-on lab to log in to the Azure Portal.
    3. Click the Cloud Shell icon (>_) in top menu bar.
    4. Select PowerShell.
    5. Click Show advanced settings.
    6. Create a new storage account with a globally unique name.
    7. Create a file share named "fileshare".
    8. Click Create Storage.
  2. Challenge

    From the Azure Drive, Change Directory into the Resource Group
    1. Set the directory location:

      Set-Location azure:
      
    2. Show the PSProvider:

      Get-PSProvider
      
    3. Output the name of the subscription:

      dir
      
    4. Change directory into the subscription:

      cd './P  [hit the TAB key to autocomplete]'
      
    5. Change directory into resource groups:

      cd ./ResourceGroups/
      
    6. List the resource groups:

      dir
      
    7. Change to the resource group by typing cd ./ and hitting Tab to autocomplete the name.

    8. List its contents:

      dir
      
  3. Challenge

    Create a New Azure VM
    1. From within the current directory, enter the following command to create a new Azure VM:

      New-AzVM -Name 'myvm123' -Location 'westus' -VirtualNetworkName '<VIRTUAL_NETWORK_PROVIDED_WITH_LAB>' -SubnetName 'default' -SecurityGroupName '<NSG_PROVIDED_WITH_LAB>' -PublicIpAddressName 'myvm123pubip' -OpenPorts 80,3389
      
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight