How to Extract Specific Files from ZIP Archive using PowerShell
When is this required (Real-time Scenario)? In our blog, we already discussed the zip and unzip files using Powershell. In this post, we are going to discuss how to extract specific files from the zip.
How to Pass function as a parameter in PowerShell
I got a few questions to my inbox, that is "How to pass the function as a parameter (calling function from another function) using PowerShell". To answer this, I thought to write a quick article
When to use Tee-Object Cmdlet in PowerShell
In this blog post, we will discuss about Tee-Object cmdlet in PowerShell. Previously I am not got a chance to use this cmdlet in any of my automation and currently using the same in my
How to add XML values to the PSCustomObject using Powershell
We already discussed the reading/Writing XML file using PowerShell in previous posts and How to add values to the string array from XML using Powershell. Now in this post, we will discuss How to add
Performance comparison between FOREACH LOOP and FOREACH-OBJECT using PowerShell
If you're familiar with any programming language then you're probably also familiar with a ForEach loop. A ForEach loop is a simple language construct that enables you to iterate through a set of items in
How to Check if a PowerShell Script is Running with Admin Privileges
In one of my PowerShell automation, the automated script needs to run with Admin mode. So to avoid the error during the scrip execution, we need to check whether the script is running in the
How to Quickly Find Hyperlinks in Excel using PowerShell
I recently had the requirement to fetch out all of the hyperlinks from a Large excel worksheet to prepare another document and its repetitive monthly task. While I could have gone the manual approach by
How to call REST APIs using Powershell
What is API? The API is not the database or even the server, it is the code that governs the access point(s) for the server. APIs allow developers to interact with online services without actually