Hello, I am trying to get 1 piece of information from a string. I run a command it gives me the below information. SubString() does not work on this for some reason. I have dumped the below to a .TXT file and used Get-Content and SubString() fails.
CIM_Chassis (CreationClassName = “CIM_DockingStation”, Tag = “5T0KD4R”)
In PowerShell how do I get just the Tag value? in this case 5T0KD4R