pnp / custom-learning-office-365

Microsoft Learning Pathways end user learning solution for Microsoft 365 customers.
MIT License
241 stars 213 forks source link

Adding ability to use PnP.PowerShell for manual installation #709

Closed kevmcdonk closed 1 year ago

kevmcdonk commented 1 year ago

This PR adds to the Configuration script to allow PnP.PowerShell to be used with PowerShell 7 alongside the legacy SharePointPnPPowerShellOnline module with PowerShell 5. It includes updates to the single script as well as additional guidance in the installation readme.

This closes issue https://github.com/pnp/custom-learning-office-365/issues/706

Added ability for script to run using PnP.PowerShell instead of just SharePointPnPPowerShellOnline. Checks to see what is installed but defaults to PnP.PowerShell if that is installed

Added guidance on fact that you can now use both modules.

dcashpeterson commented 1 year ago

@ToddKlindt when you get a moment can you please review this.

dcashpeterson commented 1 year ago

@kevmcdonk thank you for the PR. Sorry it took me so long to approve it.

kevmcdonk commented 1 year ago

Ha, even I’d forgotten about that!