🤵♂️
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
<# | |
.DESCRIPTION | |
.DEPENDENCIES | |
.INPUTS | |
.OUTPUTS |
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
<Configuration> | |
<Add OfficeClientEdition="64" Channel="Monthly"> | |
<Product ID="O365ProPlusRetail"> | |
<Language ID="en-us" /> | |
</Product> | |
<Product ID="VisioProRetail"> | |
<Language ID="en-us" /> | |
</Product> | |
</Add> |
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
# Remove signures from users when you dont have centralized server | |
$MSLocation = $env:USERPROFILE.ToString() + "\AppData\Roaming\Microsoft\" | |
$SignaturesLocation = $MSLocation + "Signatures" | |
Try { | |
"User profile location - " + $SignaturesLocation | |
cd $SignaturesLocation | |
Get-ChildItem *.txt | Rename-Item -NewName { $_.name -Replace '\.txt$','.txt.bkp' } |
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
# Remove signures from users when you dont have centralized server | |
$MSLocation = $env:USERPROFILE.ToString() + "\AppData\Roaming\Microsoft\" | |
$SignaturesLocation = $MSLocation + "Signatures" | |
$BackupFolder = $MSLocation + "Signatures Backup" | |
Try { | |
"User profile location" + $SignaturesLocation |
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
#r "Microsoft.SharePoint.Client.Runtime.dll" | |
#r "Microsoft.SharePoint.Client.dll" | |
using System; | |
using System.Security; | |
using System.Configuration; | |
using Microsoft.SharePoint.Client; | |
public static void Run(TimerInfo myTimer, TraceWriter log) | |
{ |
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
// Resolve Term ID for the Term Value | |
function getTermIdForTermValue(siteUri, listName, fieldName, termValue) { | |
//Define | |
var deferred = $q.defer() | |
, termId; | |
var clientContext = new SP.ClientContext(siteUrl); | |
var list = clientContext.get_web().get_lists().getByTitle(listName); | |
//Tx field | |
var field = list.get_fields().getByInternalNameOrTitle(fieldName); | |
var txField = clientContext.castTo(field, SP.Taxonomy.TaxonomyField); |
NewerOlder