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
The module is in the folder as you can see from the image below:
So I don't know why I keep on getting the error.
Can someone please assist in resolving this issue