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
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue | |
$WebApp=get-spwebapplication "http://webapplicationname" | |
foreach ($SPSite in $webApp.Sites) | |
{ | |
foreach($SPWeb in $SPSite.AllWebs) | |
{ | |
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
' Make a task from a message, processing the subject to look for contexts like @home or @office, if | |
' any are found the new task is assigned to the matching category. | |
' For example if the subject contains "@of" and the @OFFICE category exists, it will be used. | |
' If the subject starts with "todo:" it will be removed before creating the task. | |
' Diego Zamboni, April 5th, 2011 | |
' Set the string comparison method to Text ("AAA" = "aaa"). | |
Option Compare Text |