CodeSteps

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

cmdlets

PowerShell – How to view command history?

Whenever you enter commands at PowerShell command prompt, internally PowerShell maintains session history; the commands we entered during the current session. We can retrieve these commands through PowerShell cmdlets. We are going to discuss these commands through this Article. The Get-History command This command is used to display the command history information which is stored […]

PowerShell – How to get Windows Event Log details?

Getting Event log details in Windows Operating System is easy with PowerShell. PowerShell provides useful commands to manage Windows Event logs. In this Article, we will discuss about getting Event log details in Windows Operating System. The Get-EventLog cmdlet This command is useful to get the Event log details. Windows maintains the log details in different […]

PowerShell – Measure-Object cmdlet

In this Article, we will discuss about Measure-Object cmdlet. The Measure-Object cmdlet Another interesting command PowerShell provides is Measure-Object; which is useful to measure the numeric properties of the object, like files count in the given directory, number of lines in the given file etc,. This command needs always an input. Hence we can not use […]

PowerShell – Managing Processes

PowerShell provides cmdlets, to manage the Processes currently running on the local Computer or on the remote Computer. In this Article, we are going to discuss the commands to Display & Manage the Processes using PowerShell. Get-Process cmdlet to Display Currently Running Processes Get-Process is the cmdlet, we use to display the currently running Processes […]

PowerShell – Display files and folders list

PowerShell provides commands, to display the list of files & folders in the file system. Below are the cmdlets, commonly we use to get these details; Display files and folders list Get-Item is one of the cmdlet used to get the item (for example: directory, file, registry entry etc.,) details at the specified location. By defaultm […]

PowerShell – An Introduction

PowerShell is an Open Source programming & scripting language from Microsoft, mainly useful for the Administrators to automate the processes related to the Applications running on the Operating Systems. PowerShell contains commands (call them cmdlets – command-lets). Each cmdlet is for a different purpose. We can use a combination of these cmdlets to perform some […]

Scroll to top