CodeSteps

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

Author : David

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 – Script blocks and Invoke-Command

In our previous articles, we have discussed PowerShell Scripts and PowerShell Functions. PowerShell provides Script blocks also to group the commands and invoke them when required. In this article, we will discuss PowerShell Script blocks. Script block in PowerShell Script blocks are the group of related PowerShell commands and will be executed on demand. Script […]

PowerShell – Scripts and Defining Parameters

So far we have discussed about PowerShell cmdlets; and we have discussed these commands with working examples. The commands were executed at the PowerShell command window. Does it possible to add these commands to a file and execute them from the prompt? Yes, this is where Scripts comes into the picture. PowerShell Scripts Scripts are […]

PowerShell – Automatic Variables – $HOST, $HOME, $PWD and $ERROR

PowerShell provides another set of Automatic variables to allow us to get the information about the home directory, present working directory, host details, and error details. In this article, we will discuss these variables. The $HOST Automatic Variable This variable contains the current host application object for PowerShell. Below displays the details of the host […]

Android Programming – Create a background Service

Through our Previous Articles, we have discussed Creating an Android Service and Creating a Bounded Service. These services are user-interactive; which means, these are foreground services. We can interact with the Services through the User Interface elements. We have another type of Android Service, which is called Background Service. In this article, we are going […]

PowerShell – Functions

Functions are code blocks holds the sequence of statements and can be called using their names whenever / wherever required. The list of statements inside the function are grouped with in the curly braces (“{ }”). Defining and using the Functions in PowerShell are easy and will discuss how to do this in this Article. […]

AWS Lightsail – How to check health metrics?

Health Metrics in Amazon Lightsail are very useful to know whether the Applications in Lightsail instances are working smoothly and useful to take the decision on upgrade / downgrade the configuration of the System to balance the price per usage. In this Article we will discuss about checking the Health Metrics in Amazon Lightsail instance. […]

PowerShell – Managing Current Working Directory

Most of the Applications use the Current Working Directory to store the Application related files. PowerShell provides set of cmdlets, useful to manage the current working directory. In PowerShell, we use the noun “Location” for the working directory; so the same used for the cmdlets. The Get-Location cmdlet This command is useful to get the […]

Scroll to top