Sign in
Home
Library
Wiki
Learn
Gallery
Downloads
Support
Forums
Blogs
Resources For IT Professionals
Search
TechNet Blogs
>
Search
>
"here-string"
Search TechNet Blogs
Subscribe via RSS
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Search Results
Sort by:
Most Relevant
|
Highest Rated
|
Most Recent
|
Alphabetical
Blog Post:
Hey, Scripting Guy! How Can I Add Help to Windows PowerShell Scripts?
By
ScriptingGuy1
...to allow for multi-line comments was to use a
here
-
string
. The
here
-
string
allows you to assign text without worrying about...instructions is used to hold the content of the
here
-
string
. The actual
here
-
string
itself is created by...
Posted on
3 Jan 2010
in Blog -
Blog Post:
Learn How to Manually Create a CSV File in PowerShell
By
The Scripting Guys
...thing you need to do is to create a
here
string
,” I said while turning...ldquo;Try to stay with me. A
here
string
allows you to create a string without...So how do I create this magical
here
string
?” she asked with obvious...
Posted on
23 Mar 2012
in Blog -
Blog Post:
Simplify PowerShell Hash Table Creation with a Simple Cmdlet
By
ScriptingGuy1
...feed it data that is stored in a
here
-
string
. I have talked about here-strings...simplify things. For example, a
here
-
string
ignores the need for special formatting rules. I can use a
here
-
string
, and ignore things such as escaping...
Posted on
16 Jan 2011
in Blog -
Blog Post:
Hey, Scripting Guy! How Can I Create a Scheduled Task on a Number of Computers?
By
ScriptingGuy1
...large here-strings . To create a
here
-
string
, we begin with an ampersand and a double quotation mark. The
here
-
string
ends with a pair of double quotation...ampersand. We then store the
here
-
string
in a variable. After we have...
Posted on
30 Mar 2009
in Blog -
Blog Post:
Use PowerShell to Monitor for the Creation of New Files
By
The Scripting Guys
...this part of the process. The secret is to use a
here
-
string
. Here-strings are really finicky (they make...syntax is to use a variable to hold the resulting
here
-
string
. The
here
-
string
begins with an ampersand and an opening quotation...
Posted on
16 Jul 2012
in Blog -
Blog Post:
Hey, Scripting Guy! How Can I Enable and Disable Offline Files?
By
ScriptingGuy1
...declaring the variable $helpText and opening a
here
-
string
. The
here
-
string
is opened by using the special character combination @” . The
here
-
string
uses the same character combination in reverse...
Posted on
2 Jun 2009
in Blog -
Blog Post:
Hey, Scripting Guy! Can I Sort Files by Creation Date?
By
ScriptingGuy1
...Get-HelpText function uses a
here
-
string
to store the Help text in a variable named $helpText . The
here
-
string
begins with the at symbol and...The first advantage of using a
here
-
string
is that it allows you to dispense...
Posted on
22 Sep 2009
in Blog -
Blog Post:
Modify the PowerShell ISE to Automatically Add a Script Header
By
ScriptingGuy1
...followed that was used in the Add-Help function. A
here
-
string
holds the header information, and the InsertText method...Editor.InsertText( $header ) Because an expanding
here
-
string
is used, it means that many of the values required...
Posted on
11 Sep 2010
in Blog -
Blog Post:
Writing Double Quotation Marks to a Text File Using Windows PowerShell
By
ScriptingGuy1
...marks into the string is to use a
here
-
string
. Just like regular strings...expanding variety. The advantage of a
here
-
string
is that it ignores things such...Essentially, what you type in a
here
-
string
is exactly what you get. But...
Posted on
27 Jul 2010
in Blog -
Blog Post:
Hey, Scripting Guy! Can I Use Windows PowerShell to Read a Text File and Update an Environment Variable on Remote Computers?
By
ScriptingGuy1
...build up a string on a series of lines, I would use a
Here
-
String
instead of the concatenation shown here: $msg...environment variable on each specified compu ter. To use a
Here
-
String
to accomplish the same thing, you begin with an...
Posted on
2 Jun 2010
in Blog -
Page 1 of 4 (40 items)
1
2
3
4
Search Tips
The more specific you can be with your keywords, the better the search results.
If you're looking for a specific phrase then use quotes. For example: "code of conduct" or "how to".
Avoid using words such as 'the', 'of', 'a' - they exist in every article and are ignored in the search except when used as part of a phrase.