I have a string like the one below and I need to parse it out using PowerShell. I only want to keep the string up to the "EntityPath" and take out everything after the entity path:
Endpoint=sb://abcdefg.servicebus.windows.net/;SharedAccessKeyName=listenkey_1137;SharedAccessKey=W2c26OiBwae9f/vgPcJWgtD709oTTJu1VlB8i4OkqUc=;EntityPath=listen_1137