How to use a powershell module when your not aloud to install that module

Peter Kiers
Peter Kiers used Ask the Experts™
on
Dear Experts,

I want to use a module called Sharepointpnppowershellonline with powershell. But I am not aloud to run powershell as administrator.
So i can not install the module. Are there other ways to use a module. Is it possible to create your own powershell module and use
the source code of het module sharepointpnppowershellonline?

Greetings,

Peter
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
MichelangeloSystem Administrator / Postmaster

Commented:
Go to Documents/WindowsPowerShell and copy the code here.
The code is downloadable here
https://github.com/SharePoint/PnP-PowerShell

You can then import it in your powershell session with import-module
Peter KiersOperator

Author

Commented:
Can't find it on the page. Where can i find it
Gr, peter
System Administrator / Postmaster
Commented:
Green button on top right, "Download or Clone" on it.
P.S. i googled Sharepointpnppowershellonline, double check it corresponds. I believe you were referring to this
https://github.com/SharePoint/pnp-powershell/releases

which holds packaged installable versions of the same code which you can find and download at the URL i posted above.
Peter KiersOperator

Author

Commented:
Thank you very much.

You have been a great help.

Greetings,

Peter Kiers
MichelangeloSystem Administrator / Postmaster

Commented:
Molto bene!
Ciao!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial