CoderJony

PowerShell

Solution- The term 'Param' is not recognized as the name of a cmdlet

Solution- The term 'Param' is not recognized as the name of a cmdlet

Just make sure that Param should be in the first line of your PowerShell script.

Read More By Ankush Jain
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

Normally, the application gets this error when it tries to access a file that is being used or locked by some another process.

Read More By Ankush Jain
Export Variable Groups from VSTS

Export Variable Groups from VSTS

Recently I stuck in a situation where I wanted to export variable groups from my VSTS account but there was no such option to export variable group. That time I came to know that VSTS has also exposed its API. After that, I just wrote a PowerShell to download all variable groups into a JSON file by calling its API.

Read More By Ankush Jain
Basic programming syntax in PowerShell for C# developers

Basic programming syntax in PowerShell for C# developers

Recently I started working on PowerShell as I was working on C# for a long time. Initially, it took me a while to get familiar with the PowerShell syntaxes. That’s why I thought to put all my google searches over here in this single post. I hope this will help you during your transition period from C# to PowerShell.

Read More By Ankush Jain
Difference between SET and SETX in PowerShell

Difference between SET and SETX in PowerShell

Both commands are used to set environment variable value in windows through command-line.

Read More By Ankush Jain