Miscellaneous Cmdlets

The following are the few miscellaneous cmdlets.

  • Get-AutoDiscovery
  • The Get-AutoDiscovery cmdlet runs an Auto-Discovery on the local subnet and returns a collection of devices containing the IP address, hostname, and description properties. It runs directly on the workstation and supports multiple wired and wireless NIC adapters.

  • Read-AutoDiscovery
  • The Read-AutoDiscovery cmdlet runs the 3-Series control system Auto-Discovery command using the specified devices and returns a custom object. If the target devices are on different subnets, all the enterprise devices can be retrieved simultaneously.

  • Get-ToolboxAutoDiscovery

  • The Get-ToolboxAutoDiscovery cmdlet runs Auto-Discovery via Crestron Toolbox and returns the same result, as shown in the Device Discovery Tool. The result will only include the list of devices that are on the same subnet as the workstation.

  • Get-VersionInfo

  • The Get-VersionInfo cmdlet retrieves all the relevant version information from the specified devices.

  • Reset-CrestronDevice

  • The Reset-CrestronDevice cmdlet reboots the specified device and waits for it to become fully functional. It means obtaining a valid response to the ProgReady command for the control systems, or the ProjectReady command for the touch panels.

  • Convert-TSIDToSerial

  • The Convert-TSIDToSerial cmdlet converts the eight hex character TSID string obtained via the version response to a production serial number.

  • Test-CrestronPort and Test-TCPPort

  • The Test-CrestronPort and Test-TCPPort cmdlet checks whether the specified port is open or not. It is similar to the NMap SYN scan and can be used in an environment where ping is not allowed. An array of ports can be passed in via the pipeline, and a collection of objects is returned with a CanConnect property. If the Quiet switch is specified, a Boolean value is returned, where true indicates that all the specified ports are open and false indicates one of the port is closed.

    For detailed information about the cmdlets, use the PowerShell help command to obtain the parameters definitions, default values, and examples.