When to Quote in PowerShell

Posted by: Simple Talk, on 12 Aug 2015 | View original | Bookmarked: 0 time(s)

The one question about PowerShell that trips up almost everyone is about when and how to quote strings. Because PowerShell replaces the old command shell, it has to be able to work the way that it did with string parameters, but it also has to behave like a .Net scripting language to replace VBA. PowerShell grapples with this apparent contradiction, and manages to square the circle. Michael Sorens explains the how and when of PowerShell quoting....

Category: VB.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 583 | Hits: 6

Similar Posts

  • Lookbehind in Regex searches more
  • The Best Time Is Now and Never more
  • ASP.NET Membership Tip: Requiring New Users To Change Their Password When Logging On For The First Time more
  • Copy Pictures To Folders By Date Taken with Powershell more
  • SQL SERVER - Guidelines and Coding Standards Part - 2 more
  • JSON Serializers in .NET - not there yet more
  • Crashing WCF 3.5 JSON Services with DateTime.MinValue more
  • The ideal project manager, um, software developer, make that employee more
  • Tim Heuer Joins the Team more
  • Visual Studio Shortcuts more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD