You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this command I export all devices that belong to a group: 'StaticGroup1' | Get-OMEGroup | Get-OMEDevice | Select-Object DeviceName, Identifier, NetworkAddress | Format-Table
From a group with more than ~350 devices, however, not all devices are exported.
It took some time to find the cause, but I found the cause of the error in the "Get-Device.ps1" function.
If I make an adjustment in the following line, all devices in the group are exported.
Original (Version 3.8.0):
$RemainingDeviceUrl = $GroupUrl+"?$skip=$($currDeviceCount)&$top=$($delta)"
My Change in Get-OMEDevice.ps1:
$RemainingDeviceUrl = $GroupUrl+"?`$top=$(9999)"
Regards
The text was updated successfully, but these errors were encountered:
With this command I export all devices that belong to a group:
'StaticGroup1' | Get-OMEGroup | Get-OMEDevice | Select-Object DeviceName, Identifier, NetworkAddress | Format-Table
From a group with more than ~350 devices, however, not all devices are exported.
It took some time to find the cause, but I found the cause of the error in the "Get-Device.ps1" function.
If I make an adjustment in the following line, all devices in the group are exported.
Original (Version 3.8.0):$top=$ ($delta)"
$RemainingDeviceUrl = $GroupUrl+"?
$skip=$($currDeviceCount)&
My Change in Get-OMEDevice.ps1:
$RemainingDeviceUrl = $GroupUrl+"?`$top=$(9999)"
Regards
The text was updated successfully, but these errors were encountered: