Im having a problem with the Convertfrom-String cmdlet
$value = 'something:009'
$value | ConvertFrom-String -Delimiter ':'
Output:
P1 P2
-- --
something 9
The output i want is
P1 P2
-- --
something 009
Anyone got any ideas?
Thanks in advance.
009
becomes a byte. Would$value -split ':'
do? – Armed