Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

PowerTip: Create Empty String with PowerShell

$
0
0

Summary: Learn how to create an empty string by using Windows PowerShell.

Hey, Scripting Guy! Question How can I use Windows PowerShell to create an empty string?

Hey, Scripting Guy! Answer Use the static Empty field from the System.String class:

[string]::Empty


Viewing all articles
Browse latest Browse all 34890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>