Sometimes if you want to terminate you loop such as do, while, for, and foreach loop in a particular condition, here powerShell provide b...
Read More
Home » Archive for February 2018
PowerShell Loops
The following are PowerShell Loops For Loop The for statement or while loop is language construct to create a loop that runs command in a...
Read More
PowerShell Bitwise Operators
The following are powerShell bitwise operators. Operator Description Expression Result -band Bi...
Read More
PowerShell Assignment Operators
Assignment operators is performing a numeric operation on the existing value before assignment. Assume that we have variable $a = 15. +...
Read More
5. Python User Input
In the previous tutorials, we directly assign the values into variables before we run the program. How about if you want to enter your own...
Read More
PowerShell Functions
Simple Functions Functions are reuseable code, which you can execute multiple times by calling the function's name. Functions are ...
Read More
PowerShell Increment and Decrement Operator
The following are increment and decrement operators in powerShell, example for pre and post increment or decrement, whether you can perfo...
Read More
PowerShell Ternary Operator
As I know there is no ternary operator or even built-in expression to handle such thing in powerShell, but we still can do this following...
Read More
PowerShell Switch Statement
Besides you can use if statement to evaluate multiple conditions, you can also use switch statement. The switch statement list each cond...
Read More
Subscribe to:
Posts (Atom)