diff --git a/src/System.Management.Automation/resources/FileSystemProviderStrings.resx b/src/System.Management.Automation/resources/FileSystemProviderStrings.resx
index 9c232ae836..7f9035b1e9 100644
--- a/src/System.Management.Automation/resources/FileSystemProviderStrings.resx
+++ b/src/System.Management.Automation/resources/FileSystemProviderStrings.resx
@@ -216,9 +216,6 @@
An item with the specified name {0} already exists.
-
- The path length is too short. The character length of a path cannot be less than the character length of the basePath.
-
A delimiter cannot be specified when reading the stream one byte at a time.
@@ -324,15 +321,9 @@
Failed to read remote file '{0}'.
-
- Failed to validate remote destination '{0}'.
-
Cannot validate if remote destination {0} is a file.
-
- Remote copy with {0} is not supported.
-
Failed to create directory '{0}' on remote destination.
diff --git a/src/System.Management.Automation/resources/RegistryProviderStrings.resx b/src/System.Management.Automation/resources/RegistryProviderStrings.resx
index 046d28b3c1..901c944fd7 100644
--- a/src/System.Management.Automation/resources/RegistryProviderStrings.resx
+++ b/src/System.Management.Automation/resources/RegistryProviderStrings.resx
@@ -132,9 +132,6 @@
New Item
-
- Item: {0} Type: {1}
-
Item: {0}
@@ -174,24 +171,6 @@
Item: {0} Property: {1}
-
- Set Property Value At
-
-
- Item: {0} Property: {1} At: {2}
-
-
- Add Property Value At
-
-
- Item: {0} Property: {1} At: {2}
-
-
- Remove Property Value At
-
-
- Item: {0} Property: {1} At: {2}
-
New Property
@@ -222,9 +201,6 @@
Item: {0} SourceProperty: {1} DestinationItem: {2} DestinationProperty: {3}
-
- (default)
-
The operation was not processed. The location that was provided does not allow this operation.
@@ -246,15 +222,6 @@
The operation cannot be performed because the destination path is subordinate to the source path.
-
- The at parameter must be an integer to index a specific property value.
-
-
- The property is not a multi-valued property. To remove this property, use Remove-ItemProperty.
-
-
- The property is not a multi-valued property and values cannot be added to it. To change the value use Set-ItemProperty.
-
The property already exists.
@@ -330,24 +297,12 @@
The specified RegistryKeyPermissionCheck value is not valid.
-
- A transaction argument must be specified.
-
-
- The specified SafeHandle value is not valid.
-
The registry key has subkeys; recursive removals are not supported by this method.
-
- Remote registry operations are not allowed with transactions.
-
Cannot create a KTM handle without a Transaction.Current or specified transaction.
-
- The object does not contain a security descriptor.
-
The specified transaction or Transaction.Current must match the transaction used to create or open this TransactedRegistryKey.
@@ -357,21 +312,6 @@
Requested registry access is not allowed.
-
- The security identifier is not allowed to be the owner of this object.
-
-
- The security identifier is not allowed to be the primary group of this object.
-
-
- Method failed with unexpected error code {0}.
-
-
- Unable to perform a security operation on an object that has no associated security. This can happen when trying to get an ACL of an anonymous kernel object.
-
-
- Transaction related error {0} occurred.
-
Access to the registry key '{0}' is denied.
@@ -387,15 +327,6 @@
Registry transactions are not supported on this platform.
-
- The specified permission name is not valid.
-
-
- Incorrect thread for enabling or disabling a privilege.
-
-
- The permission must be reverted before changing its state again.
-
The specified handle is not valid.