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

October 2020 Release

Compare
Choose a tag to compare
@erwinvanhunen erwinvanhunen released this 12 Oct 13:39
· 68 commits to master since this release
7318423

Added

  • Added Set-PnPTenant -EnableAutoNewsDigest option to disable the automatic news digest mails sent to end users PR #2901
  • Added Register-PnPManagementShellAccess cmdlet to register correct access required for the multi-tenant application PnP Management Shell which is used behind the scenes of the Provisioning Engine for certain actions towards SharePoint Online.
  • Added the description being shown of a Site Script when running Get-PnPSiteScript PR #2895
  • Added -Includes to Get-PnPUser PR #2939
  • Added an sample for Azure Automation PR #2835
  • Added -DisableCustomAppAuthentication to Set-PnPTenant PR #2923

Changed

  • Fixed example for Get-PnPTeamsChannel PR #2919
  • Fixed possible token acquisition issue when extracting a tenant template. PR #2874
  • Fixed scenario when no configuration file provided with Get-PnPTenantTemplate throws an undefined error PR #2873
  • Fixed examples for New-PnPTeamsTeam PR #2870
  • Updated documentation for Get-PnPField PR #2856
  • Updated documentation for Get-PnPListItem PR #2806
  • Improved certificate file handling and errors shown if the file does not exist, is empty or points to a folder PR #2888
  • Fixed issue with where connecting with Connect-PnPOnline to an URL ending on a slash could cause an exception when using some cmdlets.

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 must then be done every time you want to use PnP PowerShell in a PowerShell session) enter:

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