{"id":19483220,"url":"https://github.com/bipulraman/powershell-automation-for-sharepoint-online","last_synced_at":"2025-04-25T16:31:55.478Z","repository":{"id":84535542,"uuid":"79652545","full_name":"BipulRaman/PowerShell-Automation-for-SharePoint-Online","owner":"BipulRaman","description":"PowerShell based Automation for SharePoint Online using Microsoft PnP Packages","archived":false,"fork":false,"pushed_at":"2017-01-21T16:04:01.000Z","size":11,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-30T20:54:02.305Z","etag":null,"topics":["powershell","powershell-automations","powershell-cmdlets","sharepoint-online"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BipulRaman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-01-21T15:03:43.000Z","updated_at":"2024-04-09T12:35:28.000Z","dependencies_parsed_at":"2023-10-20T18:16:54.796Z","dependency_job_id":null,"html_url":"https://github.com/BipulRaman/PowerShell-Automation-for-SharePoint-Online","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BipulRaman%2FPowerShell-Automation-for-SharePoint-Online","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BipulRaman%2FPowerShell-Automation-for-SharePoint-Online/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BipulRaman%2FPowerShell-Automation-for-SharePoint-Online/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BipulRaman%2FPowerShell-Automation-for-SharePoint-Online/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BipulRaman","download_url":"https://codeload.github.com/BipulRaman/PowerShell-Automation-for-SharePoint-Online/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224007882,"owners_count":17240294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["powershell","powershell-automations","powershell-cmdlets","sharepoint-online"],"created_at":"2024-11-10T20:14:04.724Z","updated_at":"2024-11-10T20:14:05.923Z","avatar_url":"https://github.com/BipulRaman.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PowerShell-Automations-for-SharePoint-Online\nPowerShell based Automations for bulk operations in SharePoint Online using Microsoft PnP Packages. Bulk data is stored in XML or CSV files as per required. \n\n### Prerequisites ###\nIn order to generate the Cmdlet help you need to have the Windows Management Framework v4.0 installed, which you can download from http://www.microsoft.com/en-us/download/details.aspx?id=40855\n\n# Setting up Environment #\n\n## Using Setup files ##\nYou can download setup files from https://github.com/officedev/pnp-powershell/releases. These files will up be updated on a monthly basis.\n\n## Using the Windows Management Framework ##\n\nIf you main OS is Windows 10, you can run the following commands to install the PowerShell cmdlets:\n\n_SharePoint Online_\n```powershell\nInstall-Module SharePointPnPPowerShellOnline -AllowClobber\n```\n\n## SETTINGS UP CREDENTIALS ##\nIn those situation where you don't want to be prompted for a username and password, you could hardcode your credentials in your PowerShell script. However, while this is inflexible, it is also very insecure. \n\nWe propose that you use the Windows Credential manager instead, which has a secure and managable storage concept that the PnP PowerShell cmdlets can use.\n\n## Setup ##\nOpen your control panel, and open the Credential Manager.\n\n1. Select **Windows Credentials**\n2. Add a new **Generic** credential\n\n### Steps: ###\n\n1. Enter the URL of your site you want to setup a credential for. You can use just your full tenant address (e.g. \"https://yourtenant.sharepoint.com\", or you can be more specific by entering a more complete URL, alike \"https://yourtenant.sharepoint.com/sites/yoursite\" or only create a credential for that site.\n2. Enter the username and password to use for that url\n\nFrom that moment you can simply use the Connect-PnPOnline cmdlet to connect to your site as follows:\n\n```powershell\nConnect-PnPOnline -Url https://yourtenant.sharepoint.com\n```\n\nYou will not be prompted for credentials.\n\nYou can mix and match the credential manager entries to use specific credentials for other sites.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbipulraman%2Fpowershell-automation-for-sharepoint-online","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbipulraman%2Fpowershell-automation-for-sharepoint-online","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbipulraman%2Fpowershell-automation-for-sharepoint-online/lists"}