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
When I run the command to install the script, I am receiving the following error.
Install-Script -Name New-OnPremiseHybridWorker
PackageManagement\Install-Package : Script 'C:\Users\R-Cc\AppData\Local\Temp\77671\New-OnPremiseHybridWorker\New-OnPremiseHybridWorker.ps1' is missing required metadata properties. Verify that the script file has Version, Guid, Description and
Author properties. You can use the Update-ScriptFileInfo or New-ScriptFileInfo cmdlet to add or update the PSScriptInfo to the script file.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:3500 char:21
+ ... $null = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (C:\Users\R-Cc...ybridWorker.ps1:String) [Install-Package], Exception
+ FullyQualifiedErrorId : MissingRequiredPSScriptInfoProperties,Test-ScriptFileInfo,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
I was able to install it on Windows10 workstation and noticed that the script file has all the parameters mentioned above except 'Description'.
One interesting log I found is
VERBOSE: Hash for package 'New-OnPremiseHybridWorker' does not match hash provided from the server.
Did anyone else face this issue?
The text was updated successfully, but these errors were encountered:
When I run the command to install the script, I am receiving the following error.
Install-Script -Name New-OnPremiseHybridWorker
I was able to install it on Windows10 workstation and noticed that the script file has all the parameters mentioned above except 'Description'.
One interesting log I found is
VERBOSE: Hash for package 'New-OnPremiseHybridWorker' does not match hash provided from the server.
Did anyone else face this issue?
The text was updated successfully, but these errors were encountered: