New-MSCloneModuleItem

Clone a record (Applications, UserMigrations, Devices, DeploymentUnits, Mailboxes, BespokeModule, Defects or Tasks) to a new record

Syntax


New-MSCloneModuleItem -Module (String) -Id (Int32) [-Notes] [-Blueprints] [-Links] [-DiscoveryTab] [-CustomTab1] [-CustomTab2] [-HiddenTab] [-ConnectorsTab] [-Defects] [-Tasks] [-Contacts] [-Attachments] [-DependencyOf] [-DependentOn] [-DefectsParentItems] [-DeployUnitSchedule]

Examples


## Fully clone a Device with Id 50896, returning the new Device Id
(New-MSCloneModuleItem -Module Devices -Id 50896 -Notes -Blueprints -Links -DiscoveryTab -CustomTab1 -CustomTab2 -HiddenTab -ConnectorsTab -Defects -Tasks -Contacts -Attachments -DependencyOf -DependentOn -DefectsParentItems -DeployUnitSchedule).InstanceId

## Clone a Device with Id 50896, ignoring the additional options (see example above)
New-MSCloneModuleItem -Module Devices -Id 50896