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 | |
) | |
BEGIN | |
{ | |
$DebugFilePath = "C:\PROGRA~1\MICROS~4\2010\SYNCHR~1\EXTENS~2\HomeDir\homefolder\DebugHomeFolderMA.txt" | |
if(!(Test-Path $DebugFilePath)) | |
{$DebugFile = New-Item -Path $DebugFilePath -ItemType File} |
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 "TSUserParameters|String" -Value "blob" | |
$obj | Add-Member -Type NoteProperty -Name "TSProfilePath|String" -Value "\\server\home$\user\tsprofile" | |
$obj | Add-Member -Type NoteProperty -Name "TSAllowLogon|Integer" -Value 1 | |
$obj | Add-Member -Type NoteProperty -Name "TSHomeDir|String" -Value "\\server\home$\user\tshome" | |
$obj | Add-Member -Type NoteProperty -Name "TSHomeDrive|String" -Value "W:" | |
$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
# No Implemented |
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, | |
$Credentials, | |
$OperationType, | |
[bool] $usepagedimport, | |
$pagesize | |
) | |
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 | |
) | |
BEGIN | |
{ | |
$DebugFilePath = "C:\PROGRA~1\MICROS~4\2010\SYNCHR~1\EXTENS~2\TermServ\ts\DebugTermServicesMA.txt" | |
if(!(Test-Path $DebugFilePath)) |
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 "cn|String" -Value "first last" | |
$obj | Add-Member -Type NoteProperty -Name "distinguishedName|string" -Value "cn=first last,OU=employees,DC=customer,DC=com,DC=au" | |
$obj | Add-Member -Type NoteProperty -Name "state|String" -Value "NSW" | |
$obj | Add-Member -Type NoteProperty -Name "title|String" -Value "manager" | |
$obj | Add-Member -Type NoteProperty -Name "upn|String" -Value "user@customer.com" | |
$obj | Add-Member -Type NoteProperty -Name "targetOU|String" -Value "ou=ninjas,dc=customer,dc=com,dc=au" |
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. |