Link to home
Start Free TrialLog in
Avatar of Member_2_7966113
Member_2_7966113

asked on

Azure A positional parameter cannot be found that accepts argument

Hello Experts,

I am trying to import the module AzureRM.Profile.psm1. However, I'm getting the error:

Import-Module : A positional parameter cannot be found that accepts argument

The full command is as follows:

import-module -Name C:\Program Files\WindowsPowerShell\Modules\AzureRM.Profile\4.2.0\AzureRM.Profile.psm1 -Global

Open in new window


The module is in the folder as you can see from the image below:

User generated image
So I don't know why I keep on getting the error.

Can someone please assist in resolving this issue

Thanks
ASKER CERTIFIED SOLUTION
Avatar of footech
footech
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Member_2_7966113
Member_2_7966113

ASKER

Perfect. That worked fine.. Cheers mate