CodeSteps

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

cmdlets

PowerShell – How to unzip files?

In our previous article, we have discussed about zip / compress the selected files or directories using PowerShell Compress-Archive cmdlet. Through this article, we are going to discuss how to unzip the zipped files. Expand-Archive cmdlet – Unzip files from Archived file(s) PowerShell provides Expand-Archive cmdlet to unzip the zipped files. Through its -Path argument […]

Powershell – How to zip / compress / archive selected files or directories?

Windows PowerShell provides commands to zip (compress) and unzip the files. Through this article, we are going to discuss the PowerShell command to zip the selected files or directories. Compress-Archive cmdlet – Compress / Zip / Archive the selected files or directories PowerShell provides Compress-Archive cmdlet, to archive the specified files or directories. We can […]

PowerShell – How to access Clipboard?

Clipboard is a buffer in computer memory, allows the applications to copy and retrieve the temporary data.  Most of the applications provides the Clipboard feature to share the temporary data across the applications. Most common way we can use the Clipboard is using cut, copy and paste commands.  PowerShell provides cmdlets to use the Clipboard. […]

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 – 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 […]

PowerShell – How to set variables?

Once we define the variables, we can alter the content of the variables anytime. Through this Article, we are going to discuss different ways to set the content of the variables. Setting Variables in PowerShell We can assign the values to the variables when we define them. We can also change the values whenever needed. […]

PowerShell – How to create read-only and constant Variables?

PowerShell supports constant and read-only variables. We have discussed creating the variables in our previous Article “PowerShell – How to create Variables?“. Through this, we are going to discuss creating read-only and constant variables. Read-only variables are the variables whose content cannot be modified. Constant variables are the variables whose content also cannot be modified. […]

PowerShell – How to create Variables?

PowerShell allows us to create the variables. We use the “$” Symbol to create the variables. Through this Article, we will discuss defining the variables and PowerShell command(s) to support defining them. Create Variables in PowerShell Let’s take a simple example; PS C:\> $message = “Hello!” Here we have defined the variable $message and assigned […]

Scroll to top