This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= | |
| # Script: TW-CreateBlankClientExtranetSite.ps1 | |
| # | |
| # Author: Pete Skelly | |
| # Twitter: ThreeWillLabs | |
| # http://www.threewill.com | |
| # | |
| # Description: Add a blank site collection to an Office 365 tenant in SharePoint Online | |
| # | |
| # WARNING: Script provided AS IS with no warranty. Your mileage will vary. Use |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) | |
| ##Developer Tools | |
| #cinst sysinternals | |
| #cinst 7zip | |
| cinst diffmerge | |
| #cinst winmerge | |
| #cinst fiddler | |
| #cinst paint.net | |
| #cinst githubforwindows |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if ($clean) | |
| { | |
| $deletedSharedDocs = $false; | |
| Write-Host "`n`nCleaning all lists of all content...Please wait" | |
| foreach($activity in $activities) | |
| { | |
| $web = get-web $activity.RootUrl | |
| $list = $web.Lists[$activity.ListName]; | |
| \ if ($list.BaseType -eq "DocumentLibrary" -and ($list.ItemCount -gt 0)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= | |
| # Script: Add-SPListItemsFromCSV.ps1 | |
| # | |
| # Author: Pete Skelly | |
| # Twitter: ThreeWillLabs | |
| # http://www.threewill.com | |
| # | |
| # Description: Add list items to SharePoint Online - Office 365 List using CSOM from CSV file. | |
| # | |
| # WARNING: Script provided AS IS with no warranty. Your mileage will vary. Use |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= | |
| # Script: Clear-SPListItems.ps1 | |
| # | |
| # Author: Pete Skelly | |
| # Twitter: ThreeWillLabs | |
| # http://www.threewill.com | |
| # | |
| # Description: Purge list in Sharepoint Online - Office 365 using CSOM by | |
| # batching CSOM calls to simulate SPWeb.ProcessBatchData(). | |
| # |
NewerOlder