Skip to main content

Updating Client Custom Fields with GoreloAction.

We would like to be able to store client values after running a script against a client’s server.
Use case example:
Import-Module ActiveDirectory

$AllStaffList = Get-ADGroupMember -Identity "All Staff"

$AllStaffCount = $AllStaffList.member.count

#Set Gorelo custom field in the client.

GoreloAction -SetCustomField -Name "client.ADUserCount" -Value "$AllStaffCount"

This will allow some automation in our billing process and open the door on so many other things.

Log in to comment and vote

No comments yet

Be the first to share your thoughts.