-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Resources are missing from Microsoft.Management.Infrastructure nuget package #1204
Copy link
Copy link
Closed
Labels
Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.The issue is fixed.WG-Maintainers-Buildspecific to affecting the buildspecific to affecting the build
Milestone
Description
Steps to reproduce
get-pnpdevice | Select-Object -First 1 | Get-PnpDeviceProperty
or
Get-PhysicalDisk | Select-Object -First 1 | Get-StorageAdvancedProperty
or
[10.123.172.187]: PS C:\Users\LocalAdmin\Documents> $serviceTypes = @{
'Kernel Driver'=1;
'File System Driver'=2;
'Adapter'=4;
'Recognizer Driver'=8;
'Own Process'=16;
'Share Process'=32;
'Interactive Process'=256
}
$original = Get-CimInstance Win32_Service -filter "Name='wuauserv'"
$res = $original | Invoke-CimMethod -methodname Change -Arguments @{ServiceType=$serviceTypes["Own Process"]}
Expected behavior
It should work
Actual behavior
... Could not find any resources
appropriate for the specified culture or the neutral culture. Make sure
"Microsoft.Management.Infrastructure.Strings.resources" was correctly embedded or linked into assembly
"Microsoft.Management.Infrastructure" at compile time, or that all the satellite assemblies required are loadable
and fully signed.
+ CategoryInfo : NotSpecified: (Win32_PnPEntity:String) [Get-PnpDeviceProperty], CimJobException
+ FullyQualifiedErrorId : CimJob_MissingManifestResourceException,Get-PnpDeviceProperty
Environment data
v0.5.0
> $PSVersionTable
Name Value
---- -----
PSEdition Core
PSRemotingProtocolVersion 2.3
BuildVersion 3.0.0.0
PSVersion 5.1.10032.0
CLRVersion
WSManStackVersion 3.0
SerializationVersion 1.1.0.1
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
$ dotnet --info
.NET Command Line Tools (1.0.0-preview2-003121)
Product Information:
Version: 1.0.0-preview2-003121
Commit SHA-1 hash: 1e9d529bc5
Runtime Environment:
OS Name: Windows
OS Version: 10.0.14371
OS Platform: Windows
RID: win10-x64
$ git rev-parse HEAD; git status
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.The issue is fixed.WG-Maintainers-Buildspecific to affecting the buildspecific to affecting the build