Enum ScriptEnum
- All Implemented Interfaces:
Serializable, Comparable<ScriptEnum>
Enum representing the location for some predefined PowerShell scripts
- Since:
- 4.1.0
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionScript that returns a JSON which can be deserialized intoHardwareIdScript that returns a JSON which can be deserialized intoMsftNetAdapterToIpAndDnsAndProfileScript that returns a JSON which can be deserialized intoWin32DiskDriveToPartitionAndLogicalDiskScript that returns a JSON which can be deserialized intoWin32DiskPartitionToLogicalDiskScript that returns a JSON which can be deserialized intoWin32NetworkAdapterToConfigurationScript that returns a JSON which can be deserialized intoWin32ProcessorToCacheMemory -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScriptEnumReturns the enum constant of this type with the specified name.static ScriptEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MSFT_NET_ADAPTER_TO_IP_AND_DNS_AND_PROFILE
Script that returns a JSON which can be deserialized intoMsftNetAdapterToIpAndDnsAndProfile -
WIN32_NETWORK_ADAPTER_TO_CONFIGURATION
Script that returns a JSON which can be deserialized intoWin32NetworkAdapterToConfiguration -
WIN32_DISK_DRIVE_TO_PARTITION_AND_LOGICAL
Script that returns a JSON which can be deserialized intoWin32DiskDriveToPartitionAndLogicalDisk -
WIN32_DISK_PARTITION_TO_LOGICAL
Script that returns a JSON which can be deserialized intoWin32DiskPartitionToLogicalDisk -
WIN32_PROCESSOR_TO_CACHE_MEMORY
Script that returns a JSON which can be deserialized intoWin32ProcessorToCacheMemory -
HWID
Script that returns a JSON which can be deserialized intoHardwareId
-
-
Field Details
-
scriptPath
-
-
Constructor Details
-
ScriptEnum
private ScriptEnum()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-