You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Message : Install-PackageProvider : The term 'Install-PackageProvider' 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:\Packages\Plugins\Microsoft.CPlat.Core.RunCommandWindows\1.1.5\Downloads\s
cript6.ps1:2 char:1
I have run the command and getting the error message .
Command:
$Inputscript = "C:\Powershell\27-06-20_PowerShell\demo3.ps1"
Invoke-AzureRmVMRunCommand -ResourceGroupName $ResourceGroupName -Name $Name -CommandId 'RunPowerShellScript' -ScriptPath $Inputscript -Confirm:$false
Error Message:
Message : Install-PackageProvider : The term 'Install-PackageProvider' 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:\Packages\Plugins\Microsoft.CPlat.Core.RunCommandWindows\1.1.5\Downloads\s
cript6.ps1:2 char:1
The text was updated successfully, but these errors were encountered: