Uses of Class
com.ferrumx.exceptions.ShellException
Packages that use ShellException
Package
Description
This package contains classes that capture the output provided by WMI classes
and handle some potential exceptions that may occur during parsing of the
output
This package contains those classes which serve as a bridge/link between two Win32_Classes
These have their own special output formats, so the Standard Formatters
com.ferrumx.formatter.cim
would not work.This package contains classes that help fetch Hardware Information
This package contains classes which help fetch network info not available in
Win32_NetworkAdapter
This package contains classes that help fetch OS info and Time-Zone
-
Uses of ShellException in com.ferrumx.formatter.cim
Methods in com.ferrumx.formatter.cim that throw ShellExceptionModifier and TypeMethodDescriptionCIM_ML.getPropertiesAndTheirValues
(String win32Class, String property) Internally runs the command "Get-CimInstance -ClassName win32Class | Select-Object property | Format-List where the parameters are provided by the calling methodsCIM_ML.getPropertiesAndTheirValuesWhere
(String win32Class, String determinantProperty, String determinantValue, String extractProperty) Internally runs the command "Get-CimInstance -ClassName win32Class | Where-Object {$_.determinantProperty -eq determinantValue} | Select-Object extractProperty | Format-List where the parameters are provided by the calling methodsCIM_ML.getPropertyValue
(String win32Class, String property) Internally runs the command "Get-CimInstance -ClassName win32Class | Select-Object property | Format-List where the parameters are provided by the calling methodsstatic String
CIM_SL.getPropertyValue
(String win32class, String property) Internally runs the command "Get-CimInstance -ClassName win32class | Select-Object property | Format-List where the parameters are provided by the calling methodsCIM_ML.getPropertyValueWhere
(String win32Class, String determinantProperty, String determinantValue, String extractProperty) Internally runs the command "Get-CimInstance -ClassName win32Class | Where-Object {$_.determinantProperty -eq determinantValue} | Select-Object extractProperty | Format-List where the parameters are provided by the calling methodsstatic String
CIM_SL.getPropertyValueWhere
(String win32class, String determinantProperty, String determinantValue, String extractProperty) Internally runs the command "Get-CimInstance -ClassName win32class | Where-Object {$_.determinantProperty -eq determinantValue |Select-Object extractProperty | Format-List where the parameters are provided by the calling methods -
Uses of ShellException in com.ferrumx.system.associatedclasses
Methods in com.ferrumx.system.associatedclasses that throw ShellExceptionModifier and TypeMethodDescriptionWin32_AssociatedProcessorMemory.getCacheID
(String cpuID) Fetches a list of cache IDs for a particular CPUstatic String
Win32_LogicalDiskToPartition.getDriveLetter
(String partitionID) Assigns partition letters to drive partitionsstatic String
Fetches the "Settings" property for a given Network Adapter IDWin32_DiskDriveToDiskPartition.getPartitionList
(String driveID) Fetches a list of partitions for a particular drive -
Uses of ShellException in com.ferrumx.system.hardware
Methods in com.ferrumx.system.hardware that throw ShellExceptionModifier and TypeMethodDescriptionWin32_PortConnector.getBaseboardPortID()
Gathers a list of port IDs based on their Tag propertyWin32_PortConnector.getBaseboardPorts
(String portID) Gathers the port details based on the given port IDWin32_Battery.getBattery()
This method calls theCIM_ML.getPropertiesAndTheirValues(String, String)
function and passes the WMI Classname and the properties whose values we want to fetch, as parametersWin32_CacheMemory.getCPUCache
(String cacheID) This method returns the Cache Memory details of a CPUWin32_SoundDevice.getCurrentAudioDevice
(String deviceID) This method fetches the Audio Device Driver details based on the Audio Device IDWin32_Printer.getCurrentPrinter
(String deviceID) This method returns Printer properties of the deviceID fetched to itWin32_Processor.getCurrentProcessor
(String deviceID) This method fetches the CPU properties based on the given CPU IDWin32_NetworkAdapter.getDeviceIDList()
Fetches a list of DeviceIDs of the Network Adapters that are activeWin32_Printer.getDeviceIDList()
This method fetches a list of printer deviceIDsFetches the Disk Details whose IDs were fetched using theWin32_DiskDrive.getDriveID()
methodWin32_DiskDrive.getDriveID()
Fetches a list of Disk Drives based on their DeviceID property This method internally callsCIM_ML.getPropertiesAndTheirValues(String, String)
and passes the classname and the attributes mentioned in the class description as parametersThis method fetches a list of GPUs found in the system, based on their IDsWin32_VideoController.getGPUID()
This method fetches a list of GPU IDs found in the systemFetches the properties mentioned in the class description based on the current memory stick Tag passed onto itWin32_DesktopMonitor.getMonitorID()
This method fetches a list of Monitors present in the system based on their IDsWin32_DesktopMonitor.getMonitorProperties
(String deviceID) This method fetches the Monitor properties based on the given DeviceIDWin32_Baseboard.getMotherboard()
This method calls theCIM_ML.getPropertiesAndTheirValues(String, String)
function and passes the WMI Classname and the properties whose values we want to fetch, as parametersWin32_NetworkAdapter.getNetworkAdapters
(String deviceID) Fetches the properties mentioned in the class description based on the DeviceID of the adapter passed onto itWin32_PortableBattery.getPortableBattery()
This method calls theCIM_ML.getPropertiesAndTheirValues(String, String)
function and passes the WMI Classname and the properties whose values we want to fetch, as parametersWin32_BIOS.getPrimaryBIOS()
Fetches Primary BIOS Information (If your motherboard has multiple BIOSes, the Main BIOS information will always be fetched).Win32_Processor.getProcessorList()
This method fetches a list of CPUs present in the system based on their IDsWin32_SoundDevice.getSoundDeviceID()
This method fetches a list of Audio Device IDs found in the systemWin32_PhysicalMemory.getTag()
Fetches a list of DeviceIDs of the memory sticks that are currently installed based on their Tag property -
Uses of ShellException in com.ferrumx.system.networking
Methods in com.ferrumx.system.networking that throw ShellExceptionModifier and TypeMethodDescriptionWin32_NetworkAdapterConfiguration.getAdapterConfiguration
(String adapterIndex) Fetches the properties described in the class description for a particular adapter index -
Uses of ShellException in com.ferrumx.system.operating_system
Methods in com.ferrumx.system.operating_system that throw ShellExceptionModifier and TypeMethodDescriptionFetches a OS properties for a particular OSWin32_OperatingSystem.getOSList()
Fetches a list of OS Names installed in the System.Win32_TimeZone.getOSTimeZone()
Retrieves the OS Time-zone