Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

August 2020 Release

Compare
Choose a tag to compare
@erwinvanhunen erwinvanhunen released this 10 Aug 18:25
· 172 commits to master since this release
6323c6a

Added

  • Updated Get/Set-PnPSearchSettings with an option -SearchBoxPlaceholderText to set search placeholder text for the SPO nav bar search box
  • Added Set-PnPTermGroup cmdlet to update an existing taxonomy term group.
  • Added Set-PnPTeamifyPromptHidden to hide the teamify prompt on a group connected Team Site (modern team site)

Changed

  • Changed the client id of the application used behind the scenes when authenticating to a tenant where Legacy Authentication has been turned off. We now by default utilize the PnP Management Shell application. If you have not provided consent you will be prompted with a message on how to provide consent.

How to install

Use Install-Module -Name SharePointPnPPowerShell[version] to install. Available are:

  • SharePointPnPPowerShellOnline
  • SharePointPnPPowerShell2019
  • SharePointPnPPowerShell2016
  • SharePointPnPPowerShell2013

How to install on a machine without an internet connection and make the cmdlets automatically available in PowerShell

On a computer with an internet connection enter:

Save-Module -Name SharePointPnPPowerShellOnline -Path [c:\foldertosavemoduleto]

In the path specified a folder will be created called SharePointPnPPowerShellOnline. Copy this folder and all its contents to the target computer.

If you want to have the module only available for a specific user, copy the folder and its contents to

c:\users\[username]\documents\windowspowershell\modules

Notice that you might have to create this folder structure.

If you want the module to be available for all users, copy the folder and its contents to

c:\program files\windowspowershell\modules

On some custom installed environments these folders might be called differently. Use

$env:PSModulePath

to see the paths that PowerShell scans for existing modules. Copy the folder to one of the folders listed.

How to install on a machine without an internet connection and load the cmdlets manually

On a computer with an internet connection enter:

Save-Module -Name SharePointPnPPowerShellOnline -Path [c:\foldertosavemoduleto]

In the path specified a folder will be created called SharePointPnPPowerShellOnline. Copy this folder and all its contents to the target computer.

To manually load the cmdlets (notice, this has to be done everytime you want to use PnP PowerShell in a PowerShell session) enter:

Import-Module [c:\pathontargetcomputer]\SharePointPnPPowerShellOnline\SharePointPnPPowerShellOnline.psd1 -DisableNameChecking