我在尝试通过Chocolatey安装pscx powershell模块时遇到此错误
ERROR: Chocolatey expected a file at 'C:\Users\zf58\AppData\Local\Temp\chocolatey\pscx\3.2.0\pscxInstall.msi' to be of length '667' but the length was '1408'.The install of pscx was NOT successful.Erro
Cannot convert the "p:\temp\ps\CenCodes.zip" value of type "System.String" to type "Pscx.IO.PscxPathInfoRead-Archive], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Pscx.Commands.IO.Compression.ReadArchiveCommand
基本上我想这样做:{
Invoke-Command -Session $SESSION -ScriptBlock Write-Zip -Path $PATH -OutputPath test.zip -IncludeEmptyDirectories}The term 'Write-Zip' is not
我为它创建了DB函数(psc == zip):RETURNS characterAS $function$ if exists (select 1 from spravni_celky.zip where psc = pscx) thenreturn pscx;
while not exists (select 1 from spravn