REST API using PowerShell

REST API using PowerShell Hello Everyone Welcome to CloudAffaire and this is Debjeet. You can interact with a REST API endpoint using PowerShell Invoke-WebRequest or Invoke-RestMethod modules. But for backward compatibility we will use Invoke-WebRequest to make different REST API requests like HEAD, GET, POST, PUT, PATCH, and DELETE. If you wonder what REST API is, you can refer this blog post where I have given all the details to clear your doubts. REST…

0 Comments

How To Create An Azure Virtual Machine Using PowerShell

How To Create An Azure Virtual Machine Using PowerShell Hello Everyone Welcome to CloudAffaire and this is Debjeet. In this blog post, we will discuss how to create an Azure Virtual Machine using PowerShell. What Is PowerShell: PowerShell is a cross-platform task automation and configuration management framework, consisting of a command-line shell and scripting language. What is Azure Virtual Machine: Azure Virtual Machine or Azure VM is the compute service offered by Azure to…

0 Comments

How To Install And Configure PowerShell For Azure

How To Install And Configure PowerShell For Azure Hello Everyone Welcome to CloudAffaire and this is Debjeet. In this blog post, we will discuss how to install and configure PowerShell for Azure cloud. What Is PowerShell? PowerShell is a cross-platform task automation and configuration management framework, consisting of a command-line shell and scripting language. What is Azure? Microsoft Azure is one of the leading cloud service providers in the market with 18% market share.…

0 Comments

How To Create A GCP Compute Engine VM Instance Using PowerShell

How To Create A GCP Compute Engine VM Instance Using PowerShell Hello Everyone Welcome to CloudAffaire and this is Debjeet. In this blog post, we will discuss how to create a GCP compute VM instance using PowerShell. We will create a new VM instance from scratch including network and firewall rule. Prerequisites: One Windows system with PowerShell. PowerShell module for GCP installed and configured with proper access. You can follow the below blog post…

0 Comments

How To Install And Configure PowerShell For GCP

How To Install And Configure PowerShell For GCP Hello Everyone Welcome to CloudAffaire and this is Debjeet. In this blog post, we will discuss how to install and configure PowerShell for GCP cloud. What Is PowerShell? PowerShell is a cross-platform task automation and configuration management framework, consisting of a command-line shell and scripting language. What is GCP? GCP or Google Cloud Platform is the leading cloud service provider in the market with 9% market…

0 Comments

How To Install And Configure PowerShell For AWS

How To Install And Configure PowerShell For AWS Hello Everyone Welcome to CloudAffaire and this is Debjeet. In this blog post, we will discuss how to install and configure PowerShell for AWS cloud. What Is PowerShell? PowerShell is a cross-platform task automation and configuration management framework, consisting of a command-line shell and scripting language. What is AWS? AWS or Amazon Web Services is the leading cloud service provider in the market with 35% market…

0 Comments

PowerShell Remove-PSSession Cmdlet

PowerShell Remove-PSSession Cmdlet Hello Everyone Welcome to CloudAffaire and this is Debjeet. In the last blog post, we have discussed Connect-PSSession cmdlet in PowerShell. https://cloudaffaire.com/powershell-Remove-PSSession-cmdlet/ In this blog post, we will discuss Remove-PSSession cmdlet in PowerShell. You can use Remove-PSSession cmdlet to close a PowerShell session (PSSession) to a local or remote computer. When you invoke Remove-PSSEssion cmdlet, PowerShell stops all the running command in the PSSession, closes the PSSession, and then releases all…

0 Comments

PowerShell Connect-PSSession Cmdlet

PowerShell Connect-PSSession Cmdlet Hello Everyone Welcome to CloudAffaire and this is Debjeet. In the last blog post, we have discussed Disconnect-PSSession cmdlet in PowerShell. https://cloudaffaire.com/powershell-disconnect-pssession-cmdlet/ In this blog post, we will discuss Connect-PSSession cmdlet in PowerShell. You can use Connect-PSSession cmdlet to connect to a disconnected PSSession. Using Connect-PSSession cmdlet, you can only connect to the session that were started by you and is in a disconnected state. Connect-PSSession cmdlet cannot be used to…

0 Comments

PowerShell Disconnect-PSSession Cmdlet

PowerShell Disconnect-PSSession Cmdlet Hello Everyone Welcome to CloudAffaire and this is Debjeet. In the last blog post, we have discussed Exit-PSSession cmdlet in PowerShell. https://cloudaffaire.com/powershell-exit-pssession-cmdlet/ In this blog post, we will discuss Disconnect-PSSession cmdlet in PowerShell. You can use Disconnect-PSSession cmdlet to disconnect a PSSession from a local or remote computer. Using Disconnect-PSSession cmdlet, you can only disconnect open PSSessions that are connected to the current session. Disconnect-PSSession cmdlet cannot be used to disconnect…

0 Comments

PowerShell Exit-PSSession Cmdlet

PowerShell Exit-PSSession Cmdlet Hello Everyone Welcome to CloudAffaire and this is Debjeet. In the last blog post, we have discussed Enter-PSSession cmdlet in PowerShell. https://cloudaffaire.com/powershell-enter-pssession-cmdlet/ In this blog post, we will discuss Exit-PSSession cmdlet in PowerShell. You can use Exit-PSSession cmdlet to exit an interactive session with a local or remote computer. You can also use the exit command to exit an interactive PSSession. Exit-PSSession Cmdlet Syntax: [crayon-6428f7408dc52213462696/] Exit-PSSession Cmdlet Argument List: NA PowerShell…

0 Comments