Raccolta di PowerShell Script per gestire SharePoint e Office 365
Vi è già capitato di cercare qualche script PowerShell che vi aiutasse ad amministrare SharePoint o Office 365?
In questo articolo abbiamo raccolto una serie di script PowerShell presenti nel Microsoft TechNet Scripts Center Gallery.
SharePoint Administration
- How to do an IIS Reset in all the servers in a SharePoint Farm
- How to re-start all the SharePoint Timer Services instances in a farm
- How to read/ modify a Content Service properties in a SharePoint Farm
- How to Warm Up SharePoint sites – Option 2
- How to work with SharePoint Recycle Bin through PowerShell
- Configuring the Developer Dashboard thought a PowerShell function
- How to get a specific Correlation ID from SharePoint Logs
- How to Warm Up SharePoint sites – Option 1
- Script to configure outgoing e-mail settings in SharePoint
- How to recursively delete all sites in a Site Collection except the root site
- Configure outgoing e-mail settings in SharePoint at the Web Application level
- How to change the authentication type for a Web Application
- Script to change the default upload file size for the Client Side Object Model
- How to create a managed path for a SharePoint Web Application
- How to change Web Application Compatibility Range
- How to read and modify the maximum number of co-authors for Office documents
Upagrade to SharePoint 2013
- How to read and modify ReadOnly and ManteinanceMode Site Collection Properties
- Execute Test-SPContentDatabase against all content dabases in a SharePoint farm
- Execute Test-SPContentDatabase against a specific SharePoint Content DB
- How To execute Mount-SPContentDatabase against a specific SharePoint Content DB
Auditing
- Get Content Databases sizes for all the Web Applications in a SharePoint Farm
- Get the storage used by each site collection in a SharePoint farm
- How to enumerate all the sites users in a SharePoint farm
- Get all the lists in a SharePoint farm
- Get all web templates available for a site collection
- Get the authentication type for each web application in a SharePoint farm
Backup and Restore
- How to Export / Import a SharePoint Site
- How to Backup and Restore all Farm Solutions in SharePoint Farm
- Get all the WSPs (Solutions) deployed to the Global SharePoint Solutions Catalog
- How to restore a deleted SharePoint Site Collection
- How to backup and restore a SharePoint Site Collection
- How to do a SharePoint Content Databse Snapshot
- Get all the WSPs deployed to the Global SharePoint Solutions Catalog (Version 2)
Search
- How to get all query suggestions defined in a SharePoint Farm!
- How to import a Theasurus file for the SharePoint 2013 Search Engine
- How to remove a query suggestion from the SharePoint Search
- How to import search query suggestions to the SharePoint Search
- How to get the SharePoint 2013 Search Index File
SharePoint Solutions Deployment
- How to create, read, update and remove a farm level property bag
- How to create, update and delete a property bag for a site collection
- How to create and update property bags from a CSV file
- How to do a CAML Query through PowerShell
- How to delete Web Parts from the Web Part Gallery!
- How to enable Save as Template feature for publishing sites
- How to do a complete installation of a SharePoint Farm Solution
- How to deploy an existing SharePoint Farm solution to a specific Web Application
CSOM for SharePoint OnPremises
- How to get all sites in a SharePoint Site Collection using the CSOM
- How to get all the Users and Groups in a SharePoint Sites using CSOM
- How to Add an User to a SharePoint Group using CSOM
- How to Get all the Lists in a SharePoint Site using REST
Working with lists
- How to add a new field to a SharePoint list
- How to delete the items of a SharePoint List
- How to delete the items of a SharePoint List
- How to upload several documents to a SharePoint Document Library
- How to load data from a CSV file in a SharePoint Contacts List
- How to add a new field to a SharePoint list (Extended Edition)
Branding
- How to work with SharePoint 2013 Themes by using PowerShell
- How to recursively apply custom branding to all sites in a site collection
- How to recursively apply a custom master page to all sites in a site collection
Office 365
- How to get all the SharePoint Groups in a SharePoint Online Site
- How to get all the sites under a SharePoint Online Site Collection
- How to create a SharePoint Online Site Collection
- How to get all the users for all the site collections in SharePoint Online
- How to remove remove several Office 365 users in bulk!
- How to get all SharePoint Online Cmdlets
- Get information for all SharePoint Online Site Collections
- How to get all the users in all the SharePoint Groups in a SPO Site
- How to get all the users in a SharePoint Group in a SharePoint Online Site
- How to create a SharePoint Group in a SharePoint Online Site
- How to add users to a SharePoint Group in SharePoint Online
- How to get the list of all features available in SharePoint Online
- How to activate a Sandbox solution in SharePoint Online
- How to get all the tenant site collections using CSOM and PowerShell!
- How to Get all the Lists in a SharePoint Online Site using REST
- How to add new users and asign licenses to them from a CSV file!
- How to create several Site Collections in SharePoint Online from a CSV file
- How to add users to SharePoint Groups in different SPO sites
- How to get the suscription and services used by each Office 365 user in a tenant
- How to enable a SharePoint Online Feature using PowerShell!