CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

PowerShell – Bitwise Logical Operators

PowerShell provides below list of Bitwise operators and these ONLY works on Integer types. Why only Integer types? Because, these operators works on bits (0s and 1s) and only numeric types can support bitwise operations. Bitwise AND -band operator This operator takes two operands as inputs and apply the bitwise AND operation on each bit […]

PowerShell – Assignment operators

Basic Assignment operator, equal (=) sign is used to assign a value from right side value to it’s left side operand. PowerShell provides more such operators to assign the values from r-value to l-value. We are going to discuss about these operators through this Article. Most important thing you need to remember is, all these […]

PowerShell – Arithemetic Operators

PowerShell provides different types of operators and through this article, we are going to discuss about Arithmetic Operators. Arithmetic Operators are used to compute numerical values. Before stating this article, would like to emphasis on one thing; that is, PowerShell is built on .Net Core; internally it uses .Net Core classes. We need to understand […]

PowerShell – How to create files and folders?

PowerShell provides commands to create files and folders. Through this article, we are going to discuss how to create files and folders using PowerShell command(s). New-Item cmdlet – Create files and folders PowerShell cmdlet, New-Item is used to create files and folders. This command not only creates the files, but it also adds initial content […]

PowerShell – Hash tables

PowerShell Hash tables or dictionaries are used to store the data in (key, value) pairs. Hash tables are very useful to retrieve the data. As it maintains, (key, value) pairs; the data structure supports fast access to find or retrieve the data. We can also call Hash tables as associative Arrays. Creating Hash tables As […]

PowerShell – Arrays – An Introduction

PowerShell supports Arrays. PowerShell Arrays are to store collection of items. Each item in an Array is of same type or different type. Defining Arrays in PowerShell Arrays can be defined my assigning multiple values to the variable; and each value should be separated by a comma (“,”). Here is a simple example, to create an […]

PowerShell – Does it possible to delete variables?

Yes, it is possible to remove the variables defined in PowerShell. We have discussed creating a variable in PowerShell in the article “PowerShell – How to create Variables?“. Through this article, we are going to discuss how to remove / un-define the variable. PowerShell provides a command Remove-Variable to delete the variables defined in the […]

Scroll to top