About 50 results
Open links in new tab
  1. How do I concatenate strings and variables in PowerShell?

    In response to Code Jockey Using += may produce a new string each time, but for a relatively small string adding additional small strings like this, who cares. The clarity of what is happening is most …

  2. In Powershell, what kind of data type is [string - Stack Overflow

    In Powershell, what kind of data type is [string []] and when would you use it? Asked 11 years, 2 months ago Modified 5 years, 2 months ago Viewed 24k times

  3. What does the "@" symbol do in PowerShell? - Stack Overflow

    I've seen the @ symbol used in PowerShell to initialise arrays. What exactly does the @ symbol denote and where can I read more about it?

  4. PowerShell: How do I convert an array object to a string in PowerShell ...

    Oct 11, 2011 · PowerShell: How do I convert an array object to a string in PowerShell? Asked 14 years, 3 months ago Modified 4 years, 5 months ago Viewed 727k times

  5. Is there a string concatenation shortcut in PowerShell?

    18000 24157521 893584 27,03 19000 27209069 766923 35,48 20000 29405984 814260 36,11 Note that there are even faster (less idiomatic) ways to build a string in PowerShell, for this see: …

  6. How to split string by string in Powershell - Stack Overflow

    May 8, 2013 · Powershell 7 actually has a new .split () overload that more closely matches a string as a first argument. Surprisingly, the options 2nd argument can be left off, with a default 'None' value.

  7. powershell - Using the -Like operator - Stack Overflow

    Sep 26, 2014 · To match '1970' at the end of the string, omit the trailing *. Use the wildcard ? character to match any single character, and the [n-m] 'globbing' wildcard syntax to match a range of characters.

  8. How can I replace every occurrence of a String in a file with ...

    Using PowerShell, I want to replace all exact occurrences of [MYID] in a given file with MyValue. What is the easiest way to do so?

  9. Convert a string to datetime in PowerShell - Stack Overflow

    I am using PowerShell to try and convert a string to a datetime. It should be easy, right? I am getting the string from a CSV import, and it comes in the format of Jul-16. I have tried multiple wa...

  10. How do I encode Unicode character codes in a PowerShell string literal ...

    Jun 29, 2009 · How can I encode the Unicode character U+0048 (H), say, in a PowerShell string? In C# I would just do this: "\u0048", but that doesn't appear to work in PowerShell.