I created a treeview using powershell code but now i want to change the color of the node during the creation depends of the type of the node. I tried this =>
$newNode = new-object System.Windows.Forms.TreeNode
$newNode.ForeColor = Color.Blue;
But it's not working, i got an error like "The term 'Color.Blue' is not recognized as the name of a cmdlet". Anyone succeed to do it?