Install-Module -Force AzureRM |
Die Installation der AzureRM führt im PowerShell zu einem Fehler
Windows PowerShell Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten. PS C:\Users\RPopp> Install-Module -Force AzureRM Install-Module : Zur Installation von Modulen in "C:\Program Files\WindowsPowerShell\Modules" sind Administratorrechte erforderlich. Melden Sie sich unter einem Konto mit Administratorrechten beim Computer an, wiederholen Sie den Vorgang, oder installieren Sie "C:\Users\RPopp\Documents\WindowsPowerShell\Modules", indem Sie Ihrem Befehl "-Scope CurrentUser" hinzufügen. Sie können auch versuchen, die Windows PowerShell-Sitzung mit erhöhten Rechten (Als Administrator) auszuführen. In Zeile:1 Zeichen:1 + Install-Module -Force AzureRM + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Install-Module], ArgumentException + FullyQualifiedErrorId : InstallModuleNeedsCurrentUserScopeParameterForNonAdminUser,Install-Module PS C:\Users\RPopp> |
Deshalb muss man das Administrator PowerShell öffnen..
Danach klappt die Installation ohne Fehler