Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon
Labs

Install Azure Functions Core Tools on Windows

In this hands-on lab, we install Azure Functions Core Tools on a Windows VM. After that, we will be able to develop and run Azure Functions.

Azure icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 30m
Published
Clock icon Feb 28, 2020

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

    Log in to the Azure Portal using the username and password supplied by the lab.

    1. Open a browser.
    2. Navigate to the provided Azure Portal URL.
    3. Use the supplied username and password to authenticate.
  2. Challenge

    Remote into the Windows VM

    Starting in the Azure dashboard, perform the following tasks:

    1. Open the navigation menu in the upper-left of the Portal.
    2. Click on All resources.

    Wait for the list of all the resources to appear.

    In the list, click on the lab-VM resource.

    Wait for the VM overview page to open. On that page, make note of the public IP address.

    Using a remote desktop client, connect to the IP address of the VM. Log in using the credentials provided on the lab page.

    Accept the certificate if asked to do so.

    Wait patiently for the desktop to load and stabilize, and click 'No' for network sharing. Close the server manager if it opens.

  3. Challenge

    Install Azure Functions Core Tools

    @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
    

    Test that the install worked with the following command:

    choco
    

    Install the .NET Core SDK version 2.1 using the following command:

    choco install dotnetcore-sdk --version=2.1.502 -y
    

    Check that .NET Core SDK is installed properly by opening a new command prompt and running the following command:

    dotnet --version
    

    Now install NodeJS using choco:

    choco install nodejs-lts -y --force
    

    Open a new administrative command prompt and install Azure Functions Core Tools using the following command:

    npm i -g azure-functions-core-tools@4 --unsafe-perm true
    
  4. Challenge

    Test That the Azure Function Core Tools Are Properly Installed

    Open a new command prompt and execute the following command:

    func
    

    If successful the prompt will display a bunch of output and the Azure Functions lightning bolt.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans