Anyone know what/where to set the operation timeout value? I am running the PowerShell Search-Assets cmdlet and when it hits just over a thousand devices, the cmdlet dies/times out. Less than that is successful.
(by casting the channel/proxy to IContextChannel and setting the OperationTimeout property)
PS C:\Users\userx\Documents> get-date
Search-Assets -AssetType "Windows Machine" -NumberOfObjectsToRetrieve 1100
get-date
Tuesday, September 11, 2012 12:48:18 PM
Search-Assets : This request operation sent to net.tcp://hostname:portnum/CCS/Services/Applications/AssetSystem/IAssetService/WindowsSec
urity did not receive a reply within the configured timeout (00:01:00). The time allotted to this operation may have been a portion o
f a longer timeout. This may be because the service is still processing the operation or because the service was unable to send a rep
ly message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the Operati
onTimeout property) and ensure that the service is able to connect to the client.
At line:2 char:14
+ Search-Assets <<<< -AssetType "Windows Machine" -NumberOfObjectsToRetrieve 1100
+ CategoryInfo : InvalidOperation: (System.TimeoutE...ProcessRecord():TimeoutException) [Search-Assets], TimeoutExceptio
n
+ FullyQualifiedErrorId : SearchAsset,Symantec.CSM.PS.Assets.SearchAssets
Tuesday, September 11, 2012 12:49:25 PM