Asked by:
script came out as @{description='value'}.

Question
-
Fred,
I've been trying to append to an existing description in one of my scripts, randomly ran into this thread and found your reply with the -ExpandProperty suggestion.
(https://social.technet.microsoft.com/Forums/windows/en-US/c8709e84-fcca-4dd7-86e3-c5e838e94bf8/cant-get-my-script-to-append-the-user-description-ideas?forum=winserverpowershell)
I was able to grab the description value in my script but it came out as @{description='value'}. Using the -ExpandProperty allowed it to grab just the value.Thanks!
Tuesday, February 6, 2018 2:44 PM
All replies
-
Hi,
What is the current issue? If possible, please explain more about the issue and post your script so that we can further analyze.
If you need further help, please feel free to let us know.
Best Regards,
AlbertPlease remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.comWednesday, February 7, 2018 5:01 AM -
Hi, It looks like you are getting script output in hash table from which you can extract either value or key, could you share code where you are getting error.Wednesday, February 7, 2018 10:17 AM
-
Hi,
Just want to confirm the current situations. Please let us know if you would like further assistance.
Best Regards,
AlbertPlease remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.comFriday, February 9, 2018 8:50 AM -
Hi,
I am checking how the issue is going, if you still have any questions, please feel free to contact us.
If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.
If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.
If no, please reply and tell us the current situation in order to provide further help.
Appreciate for your feedback.
Best Regards,
AlbertPlease remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.comTuesday, February 13, 2018 9:09 AM