Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDynamicPropertyCmdletProvider.MoveProperty Method (String, String, String, String)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Moves a property from one item to another.

Namespace:   System.Management.Automation.Provider
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

void MoveProperty(
	string sourcePath,
	string sourceProperty,
	string destinationPath,
	string destinationProperty
)

Parameters

sourcePath
Type: System.String

The path to the item whose property is to be moved.

sourceProperty
Type: System.String

The name of the property to be moved.

destinationPath
Type: System.String

The path to the item where the property is moved to.

destinationProperty
Type: System.String

The name of the moved property.

If dynamic parameters are required by the Move-ItemProperty cmdlet, the MovePropertyDynamicParameters method must also be implemented.

In this context, an "item" is something that contains content within a data store. For example, the items of the file system data store could be files or directories.

Return to top

Community Additions

Show: