Quantcast
Channel: Configuration Manager 2012 - Operating System Deployment forum
Viewing all articles
Browse latest Browse all 9126

The AND expression is evaluated to be false

$
0
0

I've created an SCCM task sequence with MDT functionality and I have a command line entry to import a power configuration only if the computer is a laptop.  This works properly in MDT but I'm having an issue with the SCCM TS.  It evaluates the variable correctly but then at the end it says "The AND expression is evaluated to be false" and doesn't import the power configuration. 

I've included the log and images of the cmd line.

Any help would be appreciated.

Execution of the instruction (Copy AOT Laptop Power Configuration) has been skipped	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
Set a global environment variable _SMSTSLastActionRetryCount=0	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
Start executing an instruction. Instruction name: Import Power Scheme. Instruction pointer: 89	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
Set a global environment variable _SMSTSCurrentActionName=Import Power Scheme	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
Set a global environment variable _SMSTSNextInstructionPointer=89	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
Set a local default variable SMSTSDisableWow64Redirection	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
Set a local default variable _SMSTSRunCommandLineAsUser	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
Set a global environment variable _SMSTSLogPath=C:\WINDOWS\CCM\Logs\SMSTSLog	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
Evaluating an AND expression	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
Evaluating a variable condition expression	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
Variable = islaptop	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
Value = true	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
Operator = equals	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
Expand a string: equals	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
Expand a string: islaptop	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
Expand a string: true	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
The variable condition expression is evaluated to be FALSE	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
The AND expression is evaluated to be FALSE	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)
The action (Import Power Scheme) has been skipped because the condition is evaluated to be false	TSManager	2/13/2020 12:26:58 PM	5652 (0x1614)



Viewing all articles
Browse latest Browse all 9126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>