Below is a list of different approaches that can be used to get all the environment variables in windows using PowerShell. Get specific environment variable…
Leave a CommentCategory: PowerShell
The If-Not operator is used to convert a value from true to false, or from false to true. Similarly, if an operand evaluates to true, a…
Comments closedIn this tutorial, you will learn how to read JSON files in PowerShell. Read from user.json file. user.json file. Read from URL
Leave a CommentYou can delete one or more files/folders in PowerShell using the Remove-Item cmdlet. It can delete many different types of items, including files, folders, registry keys,…
Leave a CommentIn this tutorial, we gonna upload files and folders to the AWS s3 bucket using PowerShell. First, you’ll need to install the general AWS.Tools.Installer package, for…
Leave a CommentIn this post, we will be configuring Jenkins to execute the PowerShell scripts on Windows. We gonna use Jenkin’s PowerShell plugin to achieve this. Jenkins…
Leave a CommentIn this post, we gonna create a Text file using PowerShell. Using the New-Item cmdlet we can create a text file and with the Set-Content cmdlet, we can…
Leave a CommentIn this post, we gonna write a PowerShell script to SVN checkout or update the destination folder with the PowerShell script. We gonna create a…
Leave a CommentIn the PowerShell window, type in the following command: Make sure to change the actual path of the file you want to zip and the…
5 CommentsThe PowerShell execution policy is default set to Restricted. You…
Leave a Comment