This file contains 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
$sites = @("IT","HR","FINANCE","ACCOUNTING","PR", 'PM',"B2B","B2C", "MARKETING","OPERATIONS", "LEGAL", "MICROSOFT", "TRAINING", "BD", "SALES", "EXPORT", | |
"Administration", "Admin", "Production", "Logistics", "Security", "Support", 'Staff', "Branding", 'Production', 'Purchasing', | |
"RnD", "Network", "Planning", "Dispatch", "Demo", 'Learning', "Education", "Communication", 'Communications', "distribution", | |
"Management") | |
$tenantUrl = "https://microsoft.sharepoint.com" | |
$ManagedPath = "/sites/" | |
# $ManagedPath = "/teams/" |
This file contains 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
EmailActivity 15 min | |
CollectDataTask 36 min | |
TodoItemTask 0.25 - 15 min | |
GroupAssignedTask 30 min | |
SetFieldActivity 10 min | |
UpdateItemActivity 15 min | |
CreateItemActivity 12 min | |
CopyItemActivity 15 min | |
CheckOutItemActivity 10 min | |
CheckInItemActivity 10 min |
This file contains 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
Publishing approval 2 | |
Collect feedback - 2010 2.5 | |
Collect feedback 2.5 | |
Collect signatures - 2010 3 | |
Collect signatures 3 | |
Approval - 2010 2 | |
Translation management 4 | |
Three state 2.5 | |
Approval 2 | |
Disposition approval 2.5 |
This file contains 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
$cookieValue = .\Authspo.ps1 https://cleverpointdev.sharepoint.com/Sites/PerformanceManagementDev -username '[email protected]' -password 'SECRET_PASSWORD' | |
$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession | |
$cookie = New-Object System.Net.Cookie | |
$cookie.Name = "SPOIDCRL" | |
$cookie.Value = $cookieValue | |
$cookie.Domain = "cleverpointdev.sharepoint.com" | |
$session.Cookies.Add($cookie); |
This file contains 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
@ECHO OFF | |
SETLOCAL | |
cls | |
@TITLE COVID-19 Test Import | |
IF "%1"=="" GOTO GETINPUT | |
REM %~dp0 will expand to "the drive letter and path and folder in which this batch file is located" | |
REM Example of %~dp0 - "C:\Storage\Current Folder\" | |
IF EXIST "%~dp0\%1" Set InputFile="%~dp0\%1" |
This file contains 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
# =============================================== | |
# Populate Tasks list | |
# =============================================== | |
$list = Get-PnPList TasksList | |
$users = Get-PnPUser | |
$users = $users | Where-Object {$_.Email -ne ""} | |
$Statuses = @("Not Started","In Progress","Completed","Deferred","Waiting on someone else") | |
$now = Get-date | |
$Priorities = @( "(1) High","(2) Normal","(3) Low") | |
Connect-PnPOnline -Url https://contoso.sharepoint.com/sites/ClassicTeam -UseWebLogin |
This file contains 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
Install-Module -Name PnP.PowerShell -Force -Scope CurrentUser | |
Connect-PnPOnline https://drps.sharepoint.com -UseWebLogin | |
$ListTitle = 'News Room' | |
$list = Get-PnPList $ListTitle -Includes Fields | |
$items = Get-PnPListItem -List $list -PageSize 100 | |
$fields = $list.Fields | Where-Object { | |
( | |
$_.InternalName -eq "ID" -or | |
$_.InternalName -eq "Created" -or |
This file contains 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
# ===========================================================# | |
# Internet explorer Macros | |
# For creating a bunch of user properties in bulk | |
# using Internet Explorer COM | |
# ---- | |
# User_Profile_Properties.csv defines properties to be | |
# created. | |
# ===========================================================# | |
#------------------------------------------------------------# |

This file contains 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
{ | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"object": { | |
"type": "string" | |
}, | |
"created": { |