From 0c2f097305af89774192fba8f465713b36e41fbe Mon Sep 17 00:00:00 2001 From: jszabo98 Date: Sat, 27 May 2017 09:41:56 -0400 Subject: [PATCH] Update Convert-String.md --- reference/5.1/Microsoft.PowerShell.Utility/Convert-String.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/5.1/Microsoft.PowerShell.Utility/Convert-String.md b/reference/5.1/Microsoft.PowerShell.Utility/Convert-String.md index 8bcc74fdbafd..05946d194309 100644 --- a/reference/5.1/Microsoft.PowerShell.Utility/Convert-String.md +++ b/reference/5.1/Microsoft.PowerShell.Utility/Convert-String.md @@ -34,7 +34,7 @@ The **Convert-String** cmdlet formats a string to match the format of examples. ### Example 1: Convert format of a string ``` PS C:\> $Names = "Evan Narvaez","David Chew","Elisa Daugherty" -Convert-String -InputObject $Names -Example "Patti Fuller = Fuller, P." +$Names | Convert-String -Example "Patti Fuller=Fuller, P." Narvaez, E. Chew, D. Daugherty, E.