The current iteration of the script uses a ForEach loop to build an object for each cloud PC and add it to the $Payload array.
In theory this could lead to throttling if there are a large number of devices. If we create a list of users separately, the script can return the user objects using a BATCH request. That should minimize the risk of throttling
The current iteration of the script uses a ForEach loop to build an object for each cloud PC and add it to the $Payload array.
In theory this could lead to throttling if there are a large number of devices. If we create a list of users separately, the script can return the user objects using a BATCH request. That should minimize the risk of throttling