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
Sends a MessageCommunication.ProvideCurrentStateRequest message and returns the response.
22
+
The `Get-ItemState` cmdlet sends a "MessageCommunication.ProvideCurrentStateRequest" message and returns the response
23
+
from the XProtect Event Server.
23
24
24
-
The ProvideCurrentStateResponse contains a flat collection of ItemState objects representing the state of all known items in the site.
25
-
Each ItemState contains an FQID, and State property.
26
-
The FQID.Kind and FQID.ObjectId can be used to determine what type of object the state represents, and the ID of that object.
27
-
28
-
Most of the time, you will probably only be interested in Camera objects, so you can filter the output with the -CamerasOnly switch.
25
+
The `VideoOS.Platform.Messaging.ItemState` objects returned by this command have an `FQID` and `State` property, and
26
+
using the `FQID` this command enriches the output by adding the item `Name`, `ItemType`, and `Id` as note properties.
29
27
30
28
REQUIREMENTS
31
29
@@ -61,12 +59,27 @@ Parameter Sets: (All)
61
59
Aliases:
62
60
63
61
Required: False
64
-
Position: 1
62
+
Position: Named
65
63
Default value: False
66
64
Accept pipeline input: False
67
65
Accept wildcard characters: False
68
66
```
69
67
68
+
### -Timeout
69
+
Specifies a timeout period in the form of a TimeSpan. The default value is 60 seconds.
70
+
71
+
```yaml
72
+
Type: TimeSpan
73
+
Parameter Sets: (All)
74
+
Aliases:
75
+
76
+
Required: False
77
+
Position: 1
78
+
Default value: None
79
+
Accept pipeline input: False
80
+
Accept wildcard characters: False
81
+
```
82
+
70
83
### CommonParameters
71
84
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
0 commit comments