[string] Cut off text in string after/before separator in powershell