Add-GuacUserConnection - DataSource mysql - ConnectionId 53 - Username " john.doe"
Get-GuacUser - DataSource mysql - Username " guacadmin" - Details permissions
Get-GuacUsers - DataSource mysql
$Parameters = @ {
" username" = " test"
" password" = " pass"
" attributes" = @ {
" disabled" = " "
" expired" = " "
" access-window-start" = " "
" access-window-end" = " "
" valid-from" = " "
" valid-until" = " "
" timezone" = " "
" guac-full-name" = " "
" guac-organization" = " "
" guac-organizational-role" = " "
}
}
New-GuacUser - DataSource mysql - Parameters $Parameters
Remove-GuacUser - DataSource mysql - Username " test"
Remove-GuacUserConnection
Remove-GuacUserConnection - DataSource mysql - ConnectionId 53 - Username " john.doe"
$Username = " john.doe"
$Parameters = @ {
" username" = " $Username "
" attributes" = @ {
" guac-email-address" = " "
" guac-organizational-role" = " "
" guac-full-name" = " "
" expired" = " "
" timezone" = " "
" access-window-start" = " "
" guac-organization" = " "
" access-window-end" = " "
" disabled" = " "
" valid-until" = " "
" valid-from" = " "
}
}
Update-GuacUser - DataSource mysql - Username $Username - Parameters $Parameters
Update-GuacUserPassword - DataSource mysql - NewPassword " NewPass" - Username " john.doe" - OldPassword " OldPass"