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
<ns0:SequentialWorkflow | |
ActorId="00000000-0000-0000-0000-000000000000" | |
RequestId="00000000-0000-0000-0000-000000000000" | |
x:Name="SequentialWorkflow" | |
TargetId="00000000-0000-0000-0000-000000000000" | |
WorkflowDefinitionId="00000000-0000-0000-0000-000000000000" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:ns0="clr-namespace:Microsoft.ResourceManagement.Workflow.Activities;Assembly=Microsoft.ResourceManagement, Version=4.1.3559.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> | |
<ns0:EmailNotificationActivity x:Name="emailNotificationActivity1" To="##xmlref:myRecipient1:ObjectID##" CC="{x:Null}" EmailTemplate="##xmlref:ObuCreate:ObjectID##" SuppressException="False" Bcc="{x:Null}" /> | |
</ns0:SequentialWorkflow> |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<Lithnet.ResourceManagement.ConfigSync> | |
<Variables> | |
<Variable name="#domain#" value="%userdomain%"/> | |
<Variable name="#PATH#" value =".\" /> | |
</Variables> | |
<Operations> | |
<!-- Create Reference to Recipient --> | |
<ResourceOperation operation="None" resourceType="Person" id="myRecipient1"> | |
<AnchorAttributes> |
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
<ResourceOperation operation="None" resourceType="Person" id="myRecipient1"> |
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
To="##xmlref:myRecipient1:ObjectID##;##xmlref:myRecipient2:ObjectID##" CC="{x:Null}" EmailTemplate="##xmlref:---Create:ObjectID##" |
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
<!-- Create --- Create Email Template --> | |
<ResourceOperation operation="Add Update" resourceType="EmailTemplate" id="---Create"> | |
<AnchorAttributes> | |
<AnchorAttribute>DisplayName</AnchorAttribute> | |
</AnchorAttributes> | |
<AttributeOperations> | |
<AttributeOperation operation="replace" name="DisplayName">__MT:---Create</AttributeOperation> | |
<AttributeOperation operation="replace" name="Description">--- User Creation Notification</AttributeOperation> | |
<AttributeOperation operation="replace" name="EmailTemplateType">Notification</AttributeOperation> | |
<AttributeOperation operation="replace" name="EmailBody" type="file">#PATH#Templates\---USERCREATED.HTML</AttributeOperation> |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<Lithnet.ResourceManagement.ConfigSync> | |
<Variables> | |
<Variable name="#domain#" value="%userdomain%"/> | |
<Variable name="#PATH#" value =".\" /> | |
</Variables> | |
<Operations> | |
<!-- Create Reference to Recipient1 --> | |
<ResourceOperation operation="None" resourceType="Person" id="myRecipient1"> | |
<AnchorAttributes> |
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
# Main juicy bit of this script that actually does the delegation work with EWS was taken from here: | |
# http://gsexdev.blogspot.com/2009/04/add-delegates-to-mailbox-with.html | |
# The rest cobbled together by Jon Bryan 19/07/11 | |
# Tasks, Notes and Contacts delegation added to the EWS script bit - note that Journal delegation is not provided, but can be quickly added! | |
$SavedEA=$Global:ErrorActionPreference | |
$Global:ErrorActionPreference="SilentlyContinue" | |
write-host "Exchange management snap-in loading... if not already loaded" | |
write-host "" | |
Add-PSSnapin -Name Microsoft.Exchange.Management.Powershell.E2010 | |
write-host "Exchange management snap-in loaded" |
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
OPTION EXPLICIT | |
ForceScriptEngine("cscript") | |
Const ForAppending = 8 | |
Dim fso, WSHNetwork, strComputer, CScolItems, objItem, strCompDom, strComputerDomain, strLogPath, strFileDate, objTextFile, objWMIService, colDriveType, objDrive | |
Set fso = CreateObject("Scripting.FileSystemObject") | |
Set WSHNetwork = CreateObject("WScript.Network") | |
strComputer = WSHNetwork.ComputerName | |
Set objWMIService = GetObject( "winmgmts://" & strComputer & "/root/cimv2" ) | |
Set CScolItems = objWMIService.ExecQuery("SELECT * FROM Win32_ComputerSystem") | |
For Each objItem in CScolItems |
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
Option Explicit | |
ForceScriptEngine("cscript") | |
Const ForReading = 1 | |
Const ForAppending = 8 | |
Dim from_sv, to_sv, OldSharePath, DriveLetter, NewSharePath,Loop_Counter,WshNet,WS_NetworkDrives,shellApp | |
Dim objFSO,objFile,strComputer,intLenOldSharePath,intFromLen,intRightLen,strRightPath,WSHNetwork,strLogPath,strFileDate,objTextFile, strResult, strMatching | |
Set WshNet = CreateObject("WScript.Network") | |
strComputer = WshNet.ComputerName | |
Set shellApp = CreateObject("Shell.Application") | |
Set objFSO=CreateObject("Scripting.FileSystemObject") |
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
<!DOCTYPE html> | |
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Existing Account Moved out of the ROE OU</title> | |
</head> | |
<body> | |
<h1 style="padding-left: 30px; font-family: verdana; font-size: 150%">Existing Account Moved out of the ROE OU</h1> | |
<h2 style="padding-left: 30px; font-family: verdana; font-size: 150%">Attributes:</h2> |