# using the format method [string]::Format("Name = {0}",$name) # using the format operator "Name = {0}" -f $name # using an expanding string "Name = $name"