Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

WARNING: Unexpected site version '-1' was detected. Defaulting to latest Application Management SDK API set.

$
0
0
Hi,

When I run a powershellscript on a Windows 2008 r2 (updated Powershell to version 4.0, updated the cmdlets, SCCM itself is updated to latest version = SP1), we get the following error:

WARNING: Unexpected site version '-1' was detected. Defaulting to latest Application Management SDK API set. This may
introduce cmdlet incompatibilities.
Add-CMDeploymentType : Specified cast is not valid.
At C:\windows\system32\windowspowershell\v1.0\Modules\Deploy-Software\Deploy-Software.psm1:146 char:13
+             Add-CMDeploymentType -ApplicationName $FullAppVNameUsers -Deployment ...

This is the powershell command:

Add-CMDeploymentType -ApplicationName $FullAppVNameUsers -DeploymentTypeName $DeploymentTypeNameWKX -AppV5xInstaller -InstallationFileLocation $InstallFileLocation  -ForceForUnknownPublisher $true -AddRequirement $oDTRuleWKX | Out-Null

Please advise.
J.

Jan Hoedt


Viewing all articles
Browse latest Browse all 4762

Trending Articles