How to clone treenode?


how duplicate/clone treenode another?

i have build treenode actice directory ou structure $treenode1 variable. want to clone $treenode2 variable not know how. cloning show-stopped right now.

hi,

i have not clear treenode mean, please share code here , explain more details?

do mean “new-object windows.forms.treenode”?  if so, hope below links helpful:

generate tree nodes in powershell on fly

http://msdn.microsoft.com/en-us/library/system.windows.forms.treenode(v=vs.110).aspx

in additon, scripting please post in official scripting guys forum , msdn forum:

https://social.technet.microsoft.com/forums/scriptcenter/en-us/home?forum=itcg

hope helps.

technet subscriber support

if are technet subscription user , have feedback on our support quality, please send feedback here.


regards, yan li



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file