How to fix PowerShell not being found in Visual Studio on Mac

Getting PowerShell to run on a Mac is quite easy these days. Still you might run into issues when trying to use PowerShell not only in the default Terminal app but instead in a tool such as Visual Studio Code. This article shows how to fix an issue that causes Visual Studio Code showing error Unable to find PowerShell.

Weiterlesen „How to fix PowerShell not being found in Visual Studio on Mac“

PNP PowerShell: Copy local term group from one Site Collection to another

The following function copies the local termgroups of one site collection to another site collection using the PNP PowerShell provisioning cmdlets.

The template is applied in memory using the Get-PnPProvisioningTemplate -OutputInstance parameter and the Apply-PnPProvisioningTemplate -InputInstance commands.
Weiterlesen „PNP PowerShell: Copy local term group from one Site Collection to another“

Powershell: Get all properties and property values of an object

Today I tried to change some service application properties. One parameter which was mentioned in a msdn article did not exist. Therefore I tried to find out the real name of the parameter. In Powershell you can use a nice oneliner to give you all properties of an object and the current values of this properties.

Weiterlesen „Powershell: Get all properties and property values of an object“