I have a code which gives me below output.
assigned_to
@{display_value=Raju Mishra link=https://googleprod.service-now.com/api/now/v1/table/sys_user/6486d149db70ee40db88b9d10f961969
}
Desired Output
Username
Raju Mishra
With below command, I am getting below output.
Select @{name="Username";Expression={($_.assigned_to -split '=')[1] -join ' ' }}
The Output which I am getting with it is:
Username
Raju Mishra; link