Jump to content


Aspergillus

Global Condition based on Powershell Script - Deployment disapears

Recommended Posts

Dear m8's,

 

We got an Application deployed to a Usercolletion and to Devicecollection.

As soon as we add any powershell-script based global condition to the requirements of the deploymenttype the application disappears from the Softwarecenter (Device-deployment) but it stays in the Softwarecatalog (User-deployment)

 

If the Condition is Powershell and returns Stringit fails.
if it is Powershell and returns boolean it works.
if it is VBS and returns strin or boolean it works.

For the Userdeployment it all works find the global condition script works as planed. But we can not deploy an application with such a global contition to devices.

As an Example when we follow exactly this:
http://www.kraftkennedy.com/creating-global-conditions-in-configuration-manager-2012/

We can not deploy an ap with that condition to a devicecollection only usercollection work.

From the comments we see that others semm to have the same Problem.


Any Ideas?
Regards Aspi


.... I can't believe it works as designed. Opened a supportcase at MS if we can not find a solution here i will report MS supportcase results here

SystemCenter Configuration Manager 2012 SP2 CU4

Share this post


Link to post
Share on other sites

Results: Bug
Microsoft Support confirmed this to be a bug.

 

Short description:

 

if an application has two deployment types both using a global condition based on powershell and one those global conditions has the

"run with logged on user credentials" checked. Deployment will fail. For if deployed to device collection.

 


Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.