| AnswerMode# | uint16 | read | Current auto-answer or callback setting for the modem. Values (6)| Value | Label | Description |
|---|
| 0 | Unknown | | | 1 | Other | | | 2 | Disabled | | | 3 | Manual Answer | | | 4 | Auto Answer | | | 5 | Auto Answer with Call-Back | |
Code# Value of AnswerMode for each instance
# Lookup table for AnswerMode (values documented by Microsoft)
$answerModeName = @{
0 = 'Unknown'
1 = 'Other'
2 = 'Disabled'
3 = 'Manual Answer'
4 = 'Auto Answer'
5 = 'Auto Answer with Call-Back'
}
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, AnswerMode |
Select-Object -Property @(
'DeviceID'
@{ Name = 'AnswerMode'; Expression = { $answerModeName[[int]$_.AnswerMode] } }
)
|
| AttachedTo# | string | read | Port to which the POTS modem is attached. Example: "COM1" Code# Value of AttachedTo for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, AttachedTo |
Select-Object -Property DeviceID, AttachedTo
|
| Availability# | uint16 | read | Availability and status of the device. Values (21)| Value | Label | Description |
|---|
| 1 | Other | | | 2 | Unknown | | | 3 | Running/Full Power | Running or Full Power | | 4 | Warning | | | 5 | In Test | | | 6 | Not Applicable | | | 7 | Power Off | | | 8 | Off Line | | | 9 | Off Duty | | | 10 | Degraded | | | 11 | Not Installed | | | 12 | Install Error | | | 13 | Power Save - Unknown | The device is known to be in a power save mode, but its exact status is unknown. | | 14 | Power Save - Low Power Mode | The device is in a power save state but still functioning, and may exhibit degraded performance. | | 15 | Power Save - Standby | The device is not functioning, but could be brought to full power quickly. | | 16 | Power Cycle | | | 17 | Power Save - Warning | The device is in a warning state, though also in a power save mode. | | 18 | Paused | The device is paused. | | 19 | Not Ready | The device is not ready. | | 20 | Not Configured | The device is not configured. | | 21 | Quiesced | The device is quiet. |
Code# Value of Availability for each instance
# Lookup table for Availability (values documented by Microsoft)
$availabilityName = @{
1 = 'Other'
2 = 'Unknown'
3 = 'Running/Full Power'
4 = 'Warning'
5 = 'In Test'
6 = 'Not Applicable'
7 = 'Power Off'
8 = 'Off Line'
9 = 'Off Duty'
10 = 'Degraded'
11 = 'Not Installed'
12 = 'Install Error'
13 = 'Power Save - Unknown'
14 = 'Power Save - Low Power Mode'
15 = 'Power Save - Standby'
16 = 'Power Cycle'
17 = 'Power Save - Warning'
18 = 'Paused'
19 = 'Not Ready'
20 = 'Not Configured'
21 = 'Quiesced'
}
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, Availability |
Select-Object -Property @(
'DeviceID'
@{ Name = 'Availability'; Expression = { $availabilityName[[int]$_.Availability] } }
)
|
| BlindOff# | string | read | Command string used to detect a dial tone before dialing. Example: "X4" Code# Value of BlindOff for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, BlindOff |
Select-Object -Property DeviceID, BlindOff
|
| BlindOn# | string | read | Command string used to dial whether or not there is a dial tone. Example: "X3" Code# Value of BlindOn for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, BlindOn |
Select-Object -Property DeviceID, BlindOn
|
| Caption# | string | read | Short description of the object. Code# Value of Caption for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, Caption |
Select-Object -Property DeviceID, Caption
|
| CompatibilityFlags# | string | read | All modem connection protocols with which this modem device is compatible. Code# Value of CompatibilityFlags for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, CompatibilityFlags |
Select-Object -Property DeviceID, CompatibilityFlags
|
| CompressionInfo# | uint16 | read | Data compression characteristics of the modem. Values (6)| Value | Label | Description |
|---|
| 0 | Unknown | | | 1 | Other | Unknown | | 2 | No Compression | Other | | 3 | MNP 5 | No Compression | | 4 | V.42bis | MNP 5 | | 5 | | V.42bis |
Code# Value of CompressionInfo for each instance
# Lookup table for CompressionInfo (values documented by Microsoft)
$compressionInfoName = @{
0 = 'Unknown'
1 = 'Other'
2 = 'No Compression'
3 = 'MNP 5'
4 = 'V.42bis'
5 = 'V.42bis'
}
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, CompressionInfo |
Select-Object -Property @(
'DeviceID'
@{ Name = 'CompressionInfo'; Expression = { $compressionInfoName[[int]$_.CompressionInfo] } }
)
|
| CompressionOff# | string | read | Command string used to disable hardware data compression. Example: "S46=136" Code# Value of CompressionOff for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, CompressionOff |
Select-Object -Property DeviceID, CompressionOff
|
| CompressionOn# | string | read | Command string used to enable hardware data compression. Example: "S46=138" Code# Value of CompressionOn for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, CompressionOn |
Select-Object -Property DeviceID, CompressionOn
|
| ConfigManagerErrorCode# | uint32 | read | Win32 Configuration Manager error code. Values (32)| Value | Label | Description |
|---|
| 0 | This device is working properly. | Device is working properly. | | 1 | This device is not configured correctly. | Device is not configured correctly. | | 2 | Windows cannot load the driver for this device. | | | 3 | The driver for this device might be corrupted, or your system may be running low on memory or other resources. | Driver for this device might be corrupted, or the system may be low on memory or other resources. | | 4 | This device is not working properly. One of its drivers or your registry might be corrupted. | Device is not working properly. One of its drivers or the registry might be corrupted. | | 5 | The driver for this device needs a resource that Windows cannot manage. | Driver for the device requires a resource that Windows cannot manage. | | 6 | The boot configuration for this device conflicts with other devices. | Boot configuration for the device conflicts with other devices. | | 7 | Cannot filter. | | | 8 | The driver loader for the device is missing. | Driver loader for the device is missing. | | 9 | This device is not working properly because the controlling firmware is reporting the resources for the device incorrectly. | Device is not working properly. The controlling firmware is incorrectly reporting the resources for the device. | | 10 | This device cannot start. | Device cannot start. | | 11 | This device failed. | Device failed. | | 12 | This device cannot find enough free resources that it can use. | Device cannot find enough free resources to use. | | 13 | Windows cannot verify this device's resources. | Windows cannot verify the device's resources. | | 14 | This device cannot work properly until you restart your computer. | Device cannot work properly until the computer is restarted. | | 15 | This device is not working properly because there is probably a re-enumeration problem. | Device is not working properly due to a possible re-enumeration problem. | | 16 | Windows cannot identify all the resources this device uses. | Windows cannot identify all of the resources that the device uses. | | 17 | This device is asking for an unknown resource type. | Device is requesting an unknown resource type. | | 18 | Reinstall the drivers for this device. | Device drivers must be reinstalled. | | 19 | Failure using the VxD loader. | | | 20 | Your registry might be corrupted. | Registry might be corrupted. | | 21 | System failure: Try changing the driver for this device. If that does not work, see your hardware documentation. Windows is removing this device. | System failure. If changing the device driver is ineffective, see the hardware documentation. Windows is removing the device. | | 22 | This device is disabled. | Device is disabled. | | 23 | System failure: Try changing the driver for this device. If that doesn't work, see your hardware documentation. | System failure. If changing the device driver is ineffective, see the hardware documentation. | | 24 | This device is not present, is not working properly, or does not have all its drivers installed. | Device is not present, not working properly, or does not have all of its drivers installed. | | 25 | Windows is still setting up this device. | Windows is still setting up the device. | | 26 | Windows is still setting up this device. | Windows is still setting up the device. | | 27 | This device does not have valid log configuration. | Device does not have valid log configuration. | | 28 | The drivers for this device are not installed. | Device drivers are not installed. | | 29 | This device is disabled because the firmware of the device did not give it the required resources. | Device is disabled. The device firmware did not provide the required resources. | | 30 | This device is using an Interrupt Request (IRQ) resource that another device is using. | Device is using an IRQ resource that another device is using. | | 31 | This device is not working properly because Windows cannot load the drivers required for this device. | Device is not working properly. Windows cannot load the required device drivers. |
Code# Value of ConfigManagerErrorCode for each instance
# Lookup table for ConfigManagerErrorCode (values documented by Microsoft)
$configManagerErrorCodeName = @{
0 = 'This device is working properly'
1 = 'This device is not configured correctly'
2 = 'Windows cannot load the driver for this device'
3 = 'The driver for this device might be corrupted, or your…'
4 = 'This device is not working properly'
5 = 'The driver for this device needs a resource that Windows…'
6 = 'The boot configuration for this device conflicts with other…'
7 = 'Cannot filter'
8 = 'The driver loader for the device is missing'
9 = 'This device is not working properly because the controlling…'
10 = 'This device cannot start'
11 = 'This device failed'
12 = 'This device cannot find enough free resources that it can use'
13 = 'Windows cannot verify this device''s resources'
14 = 'This device cannot work properly until you restart your…'
15 = 'This device is not working properly because there is…'
16 = 'Windows cannot identify all the resources this device uses'
17 = 'This device is asking for an unknown resource type'
18 = 'Reinstall the drivers for this device'
19 = 'Failure using the VxD loader'
20 = 'Your registry might be corrupted'
21 = 'System failure: Try changing the driver for this device'
22 = 'This device is disabled'
23 = 'System failure: Try changing the driver for this device'
24 = 'This device is not present, is not working properly, or does…'
25 = 'Windows is still setting up this device'
26 = 'Windows is still setting up this device'
27 = 'This device does not have valid log configuration'
28 = 'The drivers for this device are not installed'
29 = 'This device is disabled because the firmware of the device…'
30 = 'This device is using an Interrupt Request (IRQ) resource…'
31 = 'This device is not working properly because Windows cannot…'
}
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, ConfigManagerErrorCode |
Select-Object -Property @(
'DeviceID'
@{ Name = 'ConfigManagerErrorCode'; Expression = { $configManagerErrorCodeName[[int]$_.ConfigManagerErrorCode] } }
)
|
| ConfigManagerUserConfig# | boolean | read | If TRUE, the device is using a user-defined configuration. Code# Value of ConfigManagerUserConfig for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, ConfigManagerUserConfig |
Select-Object -Property DeviceID, ConfigManagerUserConfig
|
| ConfigurationDialog# | string | read | Modem initialization string. This property is made up of command strings from other properties of this class. Code# Value of ConfigurationDialog for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, ConfigurationDialog |
Select-Object -Property DeviceID, ConfigurationDialog
|
| CountriesSupported# | string[] | read | Array of countries/regions in which the modem can operate. Code# Value of CountriesSupported for each instance
# CountriesSupported is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName Win32_POTSModem -Property CountriesSupported |
Select-Object -ExpandProperty CountriesSupported
|
| CountrySelected# | string | read | Country/region for which the modem is currently programmed. When multiple countries/regions are supported, this property defines which one is currently selected for use. Code# Value of CountrySelected for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, CountrySelected |
Select-Object -Property DeviceID, CountrySelected
|
| CreationClassName# key | string | read | Name of the first concrete class to appear in the inheritance chain used in the creation of an instance. When used with the other key properties of the class, the property allows all instances of this class and its subclasses to be uniquely identified. Code# Value of CreationClassName for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, CreationClassName |
Select-Object -Property DeviceID, CreationClassName
|
| CurrentPasswords# | string[] | read | List of currently defined passwords for the modem. This array may be left blank for security reasons. Code# Value of CurrentPasswords for each instance
# CurrentPasswords is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName Win32_POTSModem -Property CurrentPasswords |
Select-Object -ExpandProperty CurrentPasswords
|
| DCB# | uint8[] | read | Control settings for a serial communications device, in this case, the modem device. Code# Value of DCB for each instance
# DCB is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName Win32_POTSModem -Property DCB |
Select-Object -ExpandProperty DCB
|
| Default# | uint8[] | read | If TRUE, this POTS modem is the default modem on the computer system running Windows. Code# Value of Default for each instance
# Default is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName Win32_POTSModem -Property Default |
Select-Object -ExpandProperty Default
|
| Description# | string | read | Description of the object. Code# Value of Description for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, Description |
Select-Object -Property DeviceID, Description
|
| DeviceID# key | string | read | Unique identifier of this POTS modem from other devices on the system. Code# Value of DeviceID for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID |
Select-Object -Property DeviceID
|
| DeviceLoader# | string | read | Name of the device loader for the modem. A device loader loads and manages device drivers and enumerators for a given device. Code# Value of DeviceLoader for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, DeviceLoader |
Select-Object -Property DeviceID, DeviceLoader
|
| DeviceType# | string | read | Physical type of the modem. The values are: "Null Modem" "Internal Modem" "External Modem" "PCMCIA Modem" "Unknown" Values (5)| Value | Label | Description |
|---|
| Null Modem | Null Modem | | | Internal Modem | Internal Modem | | | External Modem | External Modem | | | PCMCIA Modem | PCMCIA Modem | | | Unknown | Unknown | |
Code# Value of DeviceType for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, DeviceType |
Select-Object -Property DeviceID, DeviceType
|
| DialType# | uint16 | read | Type of dialing method used. Values (3)| Value | Label | Description |
|---|
| 0 | Unknown | | | 1 | Tone | | | 2 | Pulse | |
Code# Value of DialType for each instance
# Lookup table for DialType (values documented by Microsoft)
$dialTypeName = @{
0 = 'Unknown'
1 = 'Tone'
2 = 'Pulse'
}
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, DialType |
Select-Object -Property @(
'DeviceID'
@{ Name = 'DialType'; Expression = { $dialTypeName[[int]$_.DialType] } }
)
|
| DriverDate# | datetime | read | Date of the modem driver. Code# Value of DriverDate for each instance
# CIM cmdlets already return a DateTime object: no conversion is needed
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, DriverDate |
Select-Object -Property DeviceID, DriverDate
|
| ErrorCleared# | boolean | read | If TRUE, the error reported in LastErrorCode is now cleared. Code# Value of ErrorCleared for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, ErrorCleared |
Select-Object -Property DeviceID, ErrorCleared
|
| ErrorControlForced# | string | read | Command string used to enable error correction control when establishing a connection. This increases the reliability of the connection. Example: "+Q5S36=4S48=7" Code# Value of ErrorControlForced for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, ErrorControlForced |
Select-Object -Property DeviceID, ErrorControlForced
|
| ErrorControlInfo# | uint16 | read | Error correction characteristics of the modem. Values (5)| Value | Label | Description |
|---|
| 0 | Unknown | | | 1 | Other | | | 2 | No Error Correction | | | 3 | MNP 4 | | | 4 | LAPM | |
Code# Value of ErrorControlInfo for each instance
# Lookup table for ErrorControlInfo (values documented by Microsoft)
$errorControlInfoName = @{
0 = 'Unknown'
1 = 'Other'
2 = 'No Error Correction'
3 = 'MNP 4'
4 = 'LAPM'
}
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, ErrorControlInfo |
Select-Object -Property @(
'DeviceID'
@{ Name = 'ErrorControlInfo'; Expression = { $errorControlInfoName[[int]$_.ErrorControlInfo] } }
)
|
| ErrorControlOff# | string | read | Command string used to disable error control. Example: "+Q6S36=3S48=128" Code# Value of ErrorControlOff for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, ErrorControlOff |
Select-Object -Property DeviceID, ErrorControlOff
|
| ErrorControlOn# | string | read | Command string used to enable error control. Example: "+Q5S36=7S48=7" Code# Value of ErrorControlOn for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, ErrorControlOn |
Select-Object -Property DeviceID, ErrorControlOn
|
| ErrorDescription# | string | read | More information about the error recorded in LastErrorCode, and information on any corrective actions that may be taken. Code# Value of ErrorDescription for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, ErrorDescription |
Select-Object -Property DeviceID, ErrorDescription
|
| FlowControlHard# | string | read | Command string used to enable hardware flow control. Flow control consists of signals sent between computers that verify that both computers are ready to transmit or receive data. Example: "&K1" Code# Value of FlowControlHard for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, FlowControlHard |
Select-Object -Property DeviceID, FlowControlHard
|
| FlowControlOff# | string | read | Command string used to disable flow control. Flow control consists of signals sent between computers that verify that both computers are ready to transmit or receive data. Example: "&K0" Code# Value of FlowControlOff for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, FlowControlOff |
Select-Object -Property DeviceID, FlowControlOff
|
| FlowControlSoft# | string | read | Command string used to enable software flow control. Flow control consists of signals sent between computers that verify that both computers are ready to transmit or receive data. Example: "&K2" Code# Value of FlowControlSoft for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, FlowControlSoft |
Select-Object -Property DeviceID, FlowControlSoft
|
| InactivityScale# | string | read | Multiplier used with the InactivityTimeout property to calculate the timeout period of a connection. Code# Value of InactivityScale for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, InactivityScale |
Select-Object -Property DeviceID, InactivityScale
|
| InactivityTimeout# | uint32 | read | Time limit (in seconds) for automatic disconnection of the phone line, if no data is exchanged. A value of 0 (zero) indicates that this feature is present but not enabled. Unit: seconds Code# Value of InactivityTimeout for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, InactivityTimeout |
Select-Object -Property DeviceID, InactivityTimeout
|
| Index# | uint32 | read | Index number for this POTS modem. Example: 0 Code# Value of Index for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, Index |
Select-Object -Property DeviceID, Index
|
| IndexEx# | string | read | The device instance ID for this POTS modem. Example: "1&08" Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008 and Windows Vista: This property is available beginning with Windows Server 2016 and Windows 10. Code# Value of IndexEx for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, IndexEx |
Select-Object -Property DeviceID, IndexEx
|
| InstallDate# | datetime | read | Date and time the object was installed. This property does not need a value to indicate that the object is installed. Code# Value of InstallDate for each instance
# CIM cmdlets already return a DateTime object: no conversion is needed
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, InstallDate |
Select-Object -Property DeviceID, InstallDate
|
| LastErrorCode# | uint32 | read | Last error code reported by the logical device. Code# Value of LastErrorCode for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, LastErrorCode |
Select-Object -Property DeviceID, LastErrorCode
|
| MaxBaudRateToPhone# | uint32 | read | Maximum settable communication speed for accessing the phone system. Unit: bits per second Code# Value of MaxBaudRateToPhone for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, MaxBaudRateToPhone |
Select-Object -Property DeviceID, MaxBaudRateToPhone
|
| MaxBaudRateToSerialPort# | uint32 | read | Maximum settable communication speed to the COM port for an external modem. Enter 0 (zero) if not applicable. Unit: bits per second Code# Value of MaxBaudRateToSerialPort for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, MaxBaudRateToSerialPort |
Select-Object -Property DeviceID, MaxBaudRateToSerialPort
|
| MaxNumberOfPasswords# | uint16 | read | Number of passwords definable in the modem itself. If this feature is not supported, enter 0 (zero). Code# Value of MaxNumberOfPasswords for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, MaxNumberOfPasswords |
Select-Object -Property DeviceID, MaxNumberOfPasswords
|
| Model# | string | read | Model of this POTS modem. Example: "Sportster 56K External" Code# Value of Model for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, Model |
Select-Object -Property DeviceID, Model
|
| ModemInfPath# | string | read | Path to this modem's .inf file. This file contains initialization information for the modem and its driver. Example: "C:\Windows\INF" Code# Value of ModemInfPath for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, ModemInfPath |
Select-Object -Property DeviceID, ModemInfPath
|
| ModemInfSection# | string | read | Name of the section in the modem's .inf file that contains information about the modem. Code# Value of ModemInfSection for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, ModemInfSection |
Select-Object -Property DeviceID, ModemInfSection
|
| ModulationBell# | string | read | Command string used to instruct the modem to use Bell modulations for 300 and 1200 bps. Example: "B1" Code# Value of ModulationBell for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, ModulationBell |
Select-Object -Property DeviceID, ModulationBell
|
| ModulationCCITT# | string | read | Command string used to instruct the modem to use CCITT modulations for 300 and 1200 bps. Example: "B0" Code# Value of ModulationCCITT for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, ModulationCCITT |
Select-Object -Property DeviceID, ModulationCCITT
|
| ModulationScheme# | uint16 | read | Modulation scheme of the modem. Values (12)| Value | Label | Description |
|---|
| 0 | Unknown | | | 1 | Other | | | 2 | Not Supported | | | 3 | Bell 103 | | | 4 | Bell 212A | | | 5 | V.22bis | | | 6 | V.32 | | | 7 | V.32bis | | | 8 | V.turbo | | | 9 | V.FC | | | 10 | V.34 | | | 11 | V.34bis | |
Code# Value of ModulationScheme for each instance
# Lookup table for ModulationScheme (values documented by Microsoft)
$modulationSchemeName = @{
0 = 'Unknown'
1 = 'Other'
2 = 'Not Supported'
3 = 'Bell 103'
4 = 'Bell 212A'
5 = 'V.22bis'
6 = 'V.32'
7 = 'V.32bis'
8 = 'V.turbo'
9 = 'V.FC'
10 = 'V.34'
11 = 'V.34bis'
}
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, ModulationScheme |
Select-Object -Property @(
'DeviceID'
@{ Name = 'ModulationScheme'; Expression = { $modulationSchemeName[[int]$_.ModulationScheme] } }
)
|
| Name# | string | read | Label by which the object is known. When subclassed, the property can be overridden to be a key property. Code# Value of Name for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, Name |
Select-Object -Property DeviceID, Name
|
| PNPDeviceID# | string | read | Windows Plug and Play device identifier of the logical device. Example: "*PNP030b" Code# Value of PNPDeviceID for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, PNPDeviceID |
Select-Object -Property DeviceID, PNPDeviceID
|
| PortSubClass# | string | read | Definition of the port used for this modem. Values (3)| Value | Label | Description |
|---|
| 00 | 00 | Parallel Port | | 01 | 01 | Serial Port | | 02 | 02 | Modem |
Code# Value of PortSubClass for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, PortSubClass |
Select-Object -Property DeviceID, PortSubClass
|
| PowerManagementCapabilities# | uint16[] | read | Array of the specific power-related capabilities of a logical device. Values (8)| Value | Label | Description |
|---|
| 0 | Unknown | | | 1 | Not Supported | | | 2 | Disabled | | | 3 | Enabled | The power management features are currently enabled but the exact feature set is unknown or the information is unavailable. | | 4 | Power Saving Modes Entered Automatically | The device can change its power state based on usage or other criteria. | | 5 | Power State Settable | The SetPowerState method is supported. This method is found on the parent **CIM_LogicalDevice** class and can be implemented. For more information, see Designing Managed Object Format (MOF) Classes. | | 6 | Power Cycling Supported | The SetPowerState method can be invoked with the *PowerState* parameter set to 5 (Power Cycle). | | 7 | Timed Power On Supported | Timed Power-On Supported
The SetPowerState method can be invoked with the *PowerState* parameter set to 5 (Power Cycle) and *Time* set to a specific date and time, or interval, for power-on. |
Code# Value of PowerManagementCapabilities for each instance
# Lookup table for PowerManagementCapabilities (values documented by Microsoft)
$powerManagementCapabilitiesName = @{
0 = 'Unknown'
1 = 'Not Supported'
2 = 'Disabled'
3 = 'Enabled'
4 = 'Power Saving Modes Entered Automatically'
5 = 'Power State Settable'
6 = 'Power Cycling Supported'
7 = 'Timed Power On Supported'
}
# PowerManagementCapabilities is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName Win32_POTSModem -Property PowerManagementCapabilities |
Select-Object -ExpandProperty PowerManagementCapabilities |
ForEach-Object -Process { $powerManagementCapabilitiesName[[int]$_] }
|
| PowerManagementSupported# | boolean | read | If TRUE, the device can be power-managed (can be put into suspend mode, and so on). The property does not indicate that power management features are currently enabled, only that the logical device is capable of power management. Code# Value of PowerManagementSupported for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, PowerManagementSupported |
Select-Object -Property DeviceID, PowerManagementSupported
|
| Prefix# | string | read | Dialing prefix used to access an outside line. Code# Value of Prefix for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, Prefix |
Select-Object -Property DeviceID, Prefix
|
| Properties# | uint8[] | read | List of all the properties (and their values) for this modem. Code# Value of Properties for each instance
# Properties is an array: -ExpandProperty returns its items one by one
Get-CimInstance -ClassName Win32_POTSModem -Property Properties |
Select-Object -ExpandProperty Properties
|
| ProviderName# | string | read | Network path to the computer that provides the modem services. Code# Value of ProviderName for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, ProviderName |
Select-Object -Property DeviceID, ProviderName
|
| Pulse# | string | read | Command string used to instruct the modem to use pulse mode for dialing. Pulse dialing is necessary for phone lines that are unable to handle tone dialing. Example: "P" Code# Value of Pulse for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, Pulse |
Select-Object -Property DeviceID, Pulse
|
| Reset# | string | read | Command string used to reset the modem for the next call. Example: "AT&F" Code# Value of Reset for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, Reset |
Select-Object -Property DeviceID, Reset
|
| ResponsesKeyName# | string | read | Response this modem might report to the operating system during the connection process. The first two characters specify the type of response. The second two characters specify information about the connection being made. The second two characters are used only for Negotiation Progress or Connect response codes. The next eight characters specify the modem-to-modem line speed negotiated in bits per second (bps). The characters represent a 32-bit unsigned long integer format (byte and word reversed). The last eight characters indicate that the modem is changing to a different port or Data Terminal Equipment (DTE) speed. Usually this field is not used because modems make connections at a locked port speed regardless of the modem-to-modem or Data Communications Equipment (DCE) speed. Code# Value of ResponsesKeyName for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, ResponsesKeyName |
Select-Object -Property DeviceID, ResponsesKeyName
|
| RingsBeforeAnswer# | uint8 | read | Number of rings before the modem answers an incoming call. Code# Value of RingsBeforeAnswer for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, RingsBeforeAnswer |
Select-Object -Property DeviceID, RingsBeforeAnswer
|
| SpeakerModeDial# | string | read | Command string used to turn the modem speaker on after dialing a number, and turning the speaker off when a connection has been established. Example: "M1" Code# Value of SpeakerModeDial for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, SpeakerModeDial |
Select-Object -Property DeviceID, SpeakerModeDial
|
| SpeakerModeOff# | string | read | Command string used to turn the modem speaker off. Example: "M0" Code# Value of SpeakerModeOff for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, SpeakerModeOff |
Select-Object -Property DeviceID, SpeakerModeOff
|
| SpeakerModeOn# | string | read | Command string used to turn the modem speaker on. Example: "M2" Code# Value of SpeakerModeOn for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, SpeakerModeOn |
Select-Object -Property DeviceID, SpeakerModeOn
|
| SpeakerModeSetup# | string | read | Command string used to instruct the modem to turn the speaker on (until a connection is established). Example: "M3" Code# Value of SpeakerModeSetup for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, SpeakerModeSetup |
Select-Object -Property DeviceID, SpeakerModeSetup
|
| SpeakerVolumeHigh# | string | read | Command string used to set the modem speaker to the highest volume. Example: "L3" Code# Value of SpeakerVolumeHigh for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, SpeakerVolumeHigh |
Select-Object -Property DeviceID, SpeakerVolumeHigh
|
| SpeakerVolumeInfo# | uint16 | read | Describes the volume level of the audible tones from the modem. Values (8)| Value | Label | Description |
|---|
| 0 | Unknown | | | 1 | Other | | | 2 | Not Supported | | | 3 | High | | | 4 | Medium | | | 5 | Low | | | 6 | Off | | | 7 | Auto | |
Code# Value of SpeakerVolumeInfo for each instance
# Lookup table for SpeakerVolumeInfo (values documented by Microsoft)
$speakerVolumeInfoName = @{
0 = 'Unknown'
1 = 'Other'
2 = 'Not Supported'
3 = 'High'
4 = 'Medium'
5 = 'Low'
6 = 'Off'
7 = 'Auto'
}
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, SpeakerVolumeInfo |
Select-Object -Property @(
'DeviceID'
@{ Name = 'SpeakerVolumeInfo'; Expression = { $speakerVolumeInfoName[[int]$_.SpeakerVolumeInfo] } }
)
|
| SpeakerVolumeLow# | string | read | Command string used to set the modem speaker to the lowest volume. Example: "L1" Code# Value of SpeakerVolumeLow for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, SpeakerVolumeLow |
Select-Object -Property DeviceID, SpeakerVolumeLow
|
| SpeakerVolumeMed# | string | read | Command string used to set the modem speaker to a medium volume. Example: "L2" Code# Value of SpeakerVolumeMed for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, SpeakerVolumeMed |
Select-Object -Property DeviceID, SpeakerVolumeMed
|
| Status# | string | read | Current status of the object. Various operational and nonoperational statuses can be defined. Operational statuses include: "OK", "Degraded", and "Pred Fail" (an element, such as a SMART-enabled hard disk drive, may be functioning properly but predicting a failure in the near future). Nonoperational statuses include: "Error", "Starting", "Stopping", and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is online, yet the managed element is neither "OK" nor in one of the other states. Values include the following: Values (12)| Value | Label | Description |
|---|
| OK | OK | | | Error | Error | | | Degraded | Degraded | | | Unknown | Unknown | | | Pred Fail | Pred Fail | | | Starting | Starting | | | Stopping | Stopping | | | Service | Service | | | Stressed | Stressed | | | NonRecover | NonRecover | | | No Contact | No Contact | | | Lost Comm | Lost Comm | |
Code# Value of Status for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, Status |
Select-Object -Property DeviceID, Status
|
| StatusInfo# | uint16 | read | State of the logical device. If this property does not apply to the logical device, the value 5 (Not Applicable) should be used. Values (5)| Value | Label | Description |
|---|
| 1 | Other | | | 2 | Unknown | | | 3 | Enabled | | | 4 | Disabled | | | 5 | Not Applicable | |
Code# Value of StatusInfo for each instance
# Lookup table for StatusInfo (values documented by Microsoft)
$statusInfoName = @{
1 = 'Other'
2 = 'Unknown'
3 = 'Enabled'
4 = 'Disabled'
5 = 'Not Applicable'
}
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, StatusInfo |
Select-Object -Property @(
'DeviceID'
@{ Name = 'StatusInfo'; Expression = { $statusInfoName[[int]$_.StatusInfo] } }
)
|
| StringFormat# | string | read | Type of characters used for text passed through the modem. The values are: "ASCII string format" "DBCS string format" "UNICODE string format" Values (3)| Value | Label | Description |
|---|
| ASCII string format | ASCII string format | | | DBCS string format | DBCS string format | | | UNICODE string format | UNICODE string format | |
Code# Value of StringFormat for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, StringFormat |
Select-Object -Property DeviceID, StringFormat
|
| SupportsCallback# | boolean | read | If TRUE, the modem supports callback. Code# Value of SupportsCallback for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, SupportsCallback |
Select-Object -Property DeviceID, SupportsCallback
|
| SupportsSynchronousConnect# | boolean | read | If TRUE, synchronous, as well as asynchronous, communication is supported. Code# Value of SupportsSynchronousConnect for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, SupportsSynchronousConnect |
Select-Object -Property DeviceID, SupportsSynchronousConnect
|
| SystemCreationClassName# key | string | read | Value of the scoping computer's CreationClassName property. Code# Value of SystemCreationClassName for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, SystemCreationClassName |
Select-Object -Property DeviceID, SystemCreationClassName
|
| SystemName# key | string | read | Name of the scoping system. Code# Value of SystemName for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, SystemName |
Select-Object -Property DeviceID, SystemName
|
| Terminator# | string | read | String that marks the end of a command string. Example: "<cr" Code# Value of Terminator for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, Terminator |
Select-Object -Property DeviceID, Terminator
|
| TimeOfLastReset# | datetime | read | Date and time the modem was last reset. Code# Value of TimeOfLastReset for each instance
# CIM cmdlets already return a DateTime object: no conversion is needed
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, TimeOfLastReset |
Select-Object -Property DeviceID, TimeOfLastReset
|
| Tone# | string | read | Command string that instructs the modem to use tone mode for dialing. The phone line must support tone dialing. Example: "T" Code# Value of Tone for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, Tone |
Select-Object -Property DeviceID, Tone
|
| VoiceSwitchFeature# | string | read | Command strings used to activate the voice capabilities of a voice modem. Example: "AT+V" Code# Value of VoiceSwitchFeature for each instance
Get-CimInstance -ClassName Win32_POTSModem -Property DeviceID, VoiceSwitchFeature |
Select-Object -Property DeviceID, VoiceSwitchFeature
|