diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetComputerInfoCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetComputerInfoCommand.cs index 65b8f5569..bc1a97c92 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetComputerInfoCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetComputerInfoCommand.cs @@ -5107,17 +5107,10 @@ namespace Microsoft.PowerShell.Commands { private static class PInvokeDllNames { -#if CORECLR public const string GetPhysicallyInstalledSystemMemoryDllName = "api-ms-win-core-sysinfo-l1-2-1.dll"; public const string LCIDToLocaleNameDllName = "kernelbase.dll"; public const string PowerDeterminePlatformRoleExDllName = "api-ms-win-power-base-l1-1-0.dll"; public const string GetFirmwareTypeDllName = "api-ms-win-core-kernel32-legacy-l1-1-1"; -#else - public const string GetPhysicallyInstalledSystemMemoryDllName = "kernel32.dll"; - public const string LCIDToLocaleNameDllName = "kernel32.dll"; - public const string PowerDeterminePlatformRoleExDllName = "Powrprof.dll"; - public const string GetFirmwareTypeDllName = "kernel32.dll"; -#endif } public const int LOCALE_NAME_MAX_LENGTH = 85;