Forum Discussion
rmerritt
Dec 02, 2025Copper Contributor
Removing extranious data from a string @{Name=WEBHOST001-OI3w}
how would I convert @{Name=WEBHOST001-OI3w} to WEBHOST001-OI3w
Andres-Bohren
Jan 14, 2026Iron Contributor
Hi rmerritt​
Seems like a Hashtable to me
#Create Hashtable
$Hashtable = @{}
#Get Type
$Hastable.GetType()
#Add Key and Value to Hashtable
$Hastable.Add("Name","WEBHOST001-OI3w")
#Get Value
$Hastable.nameKind Regards
Andres