Installation of Azure Arc

Bengt Strand 40 Reputation points


I am trying to onboard a local server to Azure Arc , using script froom Azure.
The script fails with the following error: : The term '' is not recognized as the name of a cmdlet, 
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\azurearc.ps1:30 char:1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: ( [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException 


Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
383 questions
0 comments No comments
{count} votes

Accepted answer
  1. JimmySalian-2011 42,066 Reputation points


    The command does not look correct, please check the documentation and it should be ending with .ps or ps1. Not sure why you are typing the URL? Please post the script location and command you are typing.

    Usually it is ./OnboardingScript.ps1 for windows server.

    Hope this helps.



    Please Accept the answer if the information helped you. This will help us and others in the community as well.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bengt Strand 40 Reputation points

    I have run the script, but it stops on the step shown in the first post, but it stops on the command shown in the post.

    0 comments No comments