Skip to content

Instantly share code, notes, and snippets.

@darrenjrobinson darrenjrobinson/Schema.ps1
Last active Nov 17, 2018

Embed
What would you like to do?
Microsoft Identity Manager Terminal Services PowerShell Management Agent Schema Script. Supporting blog post is located here https://blog.darrenjrobinson.com/managing-ad-terminal-services-configuration-with-fim-mim-using-the-granfeldt-powershell-management-agent/
$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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.