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
param | |
( | |
$username, | |
$password, | |
$ExportType | |
) | |
begin | |
{ |
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
param ( | |
$Username, | |
$Password, | |
$OperationType, | |
[bool] $usepagedimport, | |
$pagesize | |
) | |
#Needs reference to .NET assembly used in the script. |
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
# intentionally left blank |
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
$obj = New-Object -Type PSCustomObject | |
$obj | Add-Member -Type NoteProperty -Name "Anchor-objectGuid|String" -Value "00000000-0000-0000-0000-000000000001" | |
$obj | Add-Member -Type NoteProperty -Name "objectClass|String" -Value "user" | |
$obj | Add-Member -Type NoteProperty -Name "accountName|String" -Value "x_mim_adma" | |
$obj | Add-Member -Type NoteProperty -Name "msExchMailboxGuid|Binary" -Value 0x10 | |
$obj | Add-Member -Type NoteProperty -Name "upn|String" -Value "[email protected]" | |
$obj | Add-Member -Type NoteProperty -Name "mail|String" -Value "[email protected]" | |
$obj | Add-Member -Type NoteProperty -Name "mailNickname|String" -Value "" | |
$obj | Add-Member -Type NoteProperty -Name "msExchHomeServerName|String" -Value "" | |
$obj | Add-Member -Type NoteProperty -Name "homeMDB|String" -Value "" |
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
param | |
( | |
$username, | |
$password, | |
$ExportType | |
) | |
begin | |
{ |
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
$obj = New-Object -Type PSCustomObject | |
$obj | Add-Member -Type NoteProperty -Name "Anchor-objectGuid|String" -Value "00000000-0000-0000-0000-000000000001" | |
$obj | Add-Member -Type NoteProperty -Name "objectClass|String" -Value "user" | |
$obj | Add-Member -Type NoteProperty -Name "accountName|String" -Value "x_mim_adma" | |
$obj | Add-Member -Type NoteProperty -Name "sipAddress|String" -Value "sip:[email protected]" | |
$obj | Add-Member -Type NoteProperty -Name "upn|String" -Value "[email protected]" | |
$obj | Add-Member -Type NoteProperty -Name "lyncEnabled|Boolean" -Value $true | |
$obj | Add-Member -Type NoteProperty -Name "RegistrarPool|String" -Value "Lync2013Pool.customer.com.au" | |
$obj | Add-Member -Type NoteProperty -Name "msDScloudextensionAttribute20|String" -Value "" | |
$obj |
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
# intentionally left blank |
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
param ( | |
$Username, | |
$Password, | |
$OperationType, | |
[bool] $usepagedimport, | |
$pagesize | |
) | |
#Needs reference to .NET assembly used in the script. |
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
param | |
( | |
$username, | |
$password, | |
$ExportType | |
) | |
begin | |
{ | |
$DebugFilePath = "C:\PROGRA~1\MICROS~4\2010\SYNCHR~1\EXTENS~2\Lync\Lync\DebugLyncMA.txt" |
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
$obj = New-Object -Type PSCustomObject | |
$obj | Add-Member -Type NoteProperty -Name "Anchor-objectGuid|String" -Value "00000000-0000-0000-0000-000000000001" | |
$obj | Add-Member -Type NoteProperty -Name "objectClass|String" -Value "user" | |
$obj | Add-Member -Type NoteProperty -Name "accountName|String" -Value "x_mim_adma" | |
$obj | Add-Member -Type NoteProperty -Name "homeFolderPath|String" -Value "\\server\home$\userID\hdrive" | |
$obj | Add-Member -Type NoteProperty -Name "homeDrive|String" -Value "H:" | |
$obj | |
OlderNewer