This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ini files | |
# Replacing a value in a key inside a section sample | |
# | |
# http://stackoverflow.com/questions/29688299/powershell-and-regex-how-to-replace-a-ini-name-value-pair-inside-a-named-sectio/29688435#29688435 | |
# | |
$Path="c:\temp\test.ini" | |
@" | |
# This line have a white line after and before |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ini files | |
# Replacing a value in a key inside a section sample | |
# | |
# RegEx101 Test (https://regex101.com/r/uC0cC3/1) | |
# | |
# http://stackoverflow.com/questions/29688299/powershell-and-regex-how-to-replace-a-ini-name-value-pair-inside-a-named-sectio/29688435#29688435 | |
# Ini files | |
# Replacing a value in a key inside a section sample | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function WaitForKey | |
{ | |
<# | |
.Synopsis | |
Show "Press any key to continue ...." and Wait until a key is pressed. | |
.Description | |
Can show a text before waiting. | |
.Notes |
NewerOlder