---
title: "Discussion on \"Enclose a list of strings in quotation marks using PowerShell\" | Hashnode"
description: "Discussion on \"Enclose a list of strings in quotation marks using PowerShell\". Have you ever needed to enclose a long list of strings into quotation marks? I am in such a situation quite often. The last time it was when I was creating function Get-CMLog and I needed a list of available log names for the ValidateSet param check ..."
url: "https://hashnode.com/posts/enclose-a-list-of-strings-in-quotation-marks-using-powershell/61b0e7ac6a616156e95e207a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Enclose a list of strings in quotation marks using PowerShell](https://doitpshway.com/enclose-a-list-of-strings-in-quotation-marks-using-powershell?utm_source=hashnode&utm_medium=feed)

Have you ever needed to enclose a long list of strings into quotation marks? I am in such a situation quite often. The last time it was when I was creating function Get-CMLog and I needed a list of available log names for the ValidateSet param check ...

Dec 8, 2021 · 1 min read · doitpshway.com  
Read the article

-   [#powershell](https://hashnode.com/tag/powershell)

## Written by

[Ondrej Sebela](https://hashnode.com/@AndrewZtrhgf)

@AndrewZtrhgf · Czech Republic

  
[View profile](https://hashnode.com/@AndrewZtrhgf)

System Administrator that loves PowerShell

I work as System Administrator for more than 15 years now and I love to make my life easier by automating work &amp; personal stuff via PowerShell (even silly things like food recipes list generation).

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
