Hongbo Yang 20 Reputation points

When I type "$diskConfig = New-AzDiskConfig", there is no prompt for input. The training vidoe is different. Why?

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop skilled behavior.
623 questions
{count} votes

Accepted answer
  1. aatheeque 540 Reputation points Microsoft Vendor

    Hi Hongbo Yang,

    Thank you for your presence on the Microsoft Q&A forum. It seems you're currently undertaking the following exercise as part of the Learn path.

    As you mentioned that the Input parameters for the command $diskConfig = "New-AzDiskConfig" will be prompted once the command is terminated with the backtick (`) symbol, as illustrated below:

    $diskConfig = New-AzDiskConfig `
      >> -Location eastus2 `
      >> -CreateOption Empty `
      >> -DiskSizeGB 16 `
      >> -Sku Standard_LRS

    The backtick (`) at the end of the "New-AzDiskConfig" command indicates that input parameters will be requested once the command concludes.

    Note: backtick (`). On a standard keyboard layout, it is typically located on the same key as the tilde (~), usually to the left of the 1 key on the top row.

    Input was successfully provided in the prompt from my end. Below is a Screenshot for your reference.

    User's image

    If you encounter any further difficulties, please feel free to share screenshots for reference in the comments below. We're here to assist you.

    If the provided solution has proven effective, please consider marking it as accepted by clicking on "Accept answer". Your action will help increase the exposure of this question, facilitating assistance for other members on Microsoft Q&A.

    Thank you.

0 additional answers

Sort by: Most helpful