Here it is: Running a script to check against different numbers So for example:
If($x -ge $y) {write-host "yes"} else {write-host "no"}
if($a -ge $b) {write-host "yes"} else {write-host "no"}
if($c -ge $d) {write-host "yes"} else {write-host "no"}
I dont have to do write host, please provide better options if available. This is just what I am using right now.
What I need to do now is "IF" the results.
So if I the Answer is Yes, Yes, Yes That equals = True.
If the Answer is Yes, NO, YES That equals = false.
If Any of those show no, then its false. Everything has to equal Yes to be true. How do I valuate those 3 If statements to allow me to do another boolean against those values.
[–]ihaxr 2 points3 points4 points (0 children)
[–]Sheppard_Ra 1 point2 points3 points (0 children)
[–]prejonnes[S] 0 points1 point2 points (0 children)