I am new to Powershell and trying to learn it and have started from scratch. I have a task to retrieve some information from Sharepoint Online and i am supposed to do it with Powershell, however whenever i try to run the cmdlet Install-Module SharePointPnPPowerShellOnline i get the following error.
Install-Module : Administrator rights are required to install modules in 'C:\Program Files\WindowsPowerShell\Modules'. Log on to the computer with an account that has Administrator rights, and then try again, or install
Is it because I don't have the global administrator rights?