How to use a config file (ini, conf,…) with a PowerShell Script?Elevated Powershell scriptPowershell help: have a “disk space” script link…but how do I use it?Powershell script to create folders from CSV list of usersHow can I run an elevated powershell script as part of VMWare Customization Specification?Powershell - Windows forms - script calling another script, 2nd script modifying form elementsUsing Powershell to Create Exchange Contacts from a .CSV filePowershell script scheduled task will not endRunning Exchange Powershell script from a batch file: command doesn't work. What's wrong with my syntax?Read file with parameters as parameter in powershell scriptCopy files to network drive with powershell script and task schedule
How to laser-level close to a surface
Cycling to work - 30mile return
How do we explain the use of a software on a math paper?
Who is frowning in the sentence "Daisy looked at Tom frowning"?
pwaS eht tirsf dna tasl setterl fo hace dorw
Combining two Lorentz boosts
Why does string strummed with finger sound different from the one strummed with pick?
Windows reverting changes made by Linux to FAT32 partion
Does the US Supreme Court vote using secret ballots?
How can I monitor the bulk API limit?
Why would company (decision makers) wait for someone to retire, rather than lay them off, when their role is no longer needed?
Former Employer just sent me an IP Agreement
Bookshelves: the intruder
Why does a table with a defined constant in its index compute 10X slower?
How many Dothraki are left as of Game of Thrones S8E5?
Why using a variable as index of a list-item does not retrieve that item with clist_item:Nn?
How was the blinking terminal cursor invented?
Should I twist DC power and ground wires from a power supply?
FIFO data structure in pure C
How do I balance a campaign consisting of four kobold PCs?
Why does the U.S military use mercenaries?
How to get all possible paths in 0/1 matrix better way?
on the truth quest vs in the quest for truth
Divisor Rich and Poor Numbers
How to use a config file (ini, conf,…) with a PowerShell Script?
Elevated Powershell scriptPowershell help: have a “disk space” script link…but how do I use it?Powershell script to create folders from CSV list of usersHow can I run an elevated powershell script as part of VMWare Customization Specification?Powershell - Windows forms - script calling another script, 2nd script modifying form elementsUsing Powershell to Create Exchange Contacts from a .CSV filePowershell script scheduled task will not endRunning Exchange Powershell script from a batch file: command doesn't work. What's wrong with my syntax?Read file with parameters as parameter in powershell scriptCopy files to network drive with powershell script and task schedule
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
Is it possible to use a configuration file with a PowerShell script?
For example, the configuration file:
#links
link1=http://www.google.com
link2=http://www.apple.com
link3=http://www.microsoft.com
And then call this information in the PS1 script:
start-process iexplore.exe $Link1
powershell scripting
add a comment |
Is it possible to use a configuration file with a PowerShell script?
For example, the configuration file:
#links
link1=http://www.google.com
link2=http://www.apple.com
link3=http://www.microsoft.com
And then call this information in the PS1 script:
start-process iexplore.exe $Link1
powershell scripting
add a comment |
Is it possible to use a configuration file with a PowerShell script?
For example, the configuration file:
#links
link1=http://www.google.com
link2=http://www.apple.com
link3=http://www.microsoft.com
And then call this information in the PS1 script:
start-process iexplore.exe $Link1
powershell scripting
Is it possible to use a configuration file with a PowerShell script?
For example, the configuration file:
#links
link1=http://www.google.com
link2=http://www.apple.com
link3=http://www.microsoft.com
And then call this information in the PS1 script:
start-process iexplore.exe $Link1
powershell scripting
powershell scripting
edited Nov 5 '18 at 20:28
Twisty Impersonator
2,52861943
2,52861943
asked Sep 30 '10 at 0:04
Xavier CXavier C
3882411
3882411
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
Thanks a lot for your help Dennis and Tim! Your answers put me on the good track and I found this
SETTINGS.TXT
#from http://tlingenf.spaces.live.com/blog/cns!B1B09F516B5BAEBF!213.entry
#
[General]
MySetting1=value
[Locations]
InputFile="C:Users.txt"
OutputFile="C:output.log"
[Other]
WaitForTime=20
VerboseLogging=True
POWERSHELL COMMAND
#from http://tlingenf.spaces.live.com/blog/cns!B1B09F516B5BAEBF!213.entry
#
Get-Content "C:settings.txt" | foreach-object -begin $h=@ -process $k = [regex]::split($_,'='); if(($k[0].CompareTo("") -ne 0) -and ($k[0].StartsWith("[") -ne $True)) $h.Add($k[0], $k[1])
then
After executing the code snippet, a variable ($h) will contain the values in a HashTable.
Name Value
---- -----
MySetting1 value
VerboseLogging True
WaitForTime 20
OutputFile "C:output.log"
InputFile "C:Users.txt"
*To retrieve an item from the table, use the command $h.Get_Item("MySetting1").*
3
You can also get the settings out by the much friendlier $h.MySetting1
– Ryan Shillington
Nov 13 '15 at 19:54
I get an array out of bounds exception in the regex parser line, despite using the exact same .txt file shown in this answer and the parser code (no changes) =>Index was outside the bounds of the array. At C:testConfigreader.ps1:13 char:264 + ... -ne $True)) $h.Add($k[0], $k[1]) } + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (:) [], IndexOutOfRangeException + FullyQualifiedErrorId : System.IndexOutOfRangeException
Does anyone have this working correctly?
– Shiva
Mar 9 '17 at 0:24
add a comment |
There's a good thread here which shows this code (quoting from the linked thread):
# from http://www.eggheadcafe.com/software/aspnet/30358576/powershell-and-ini-files.aspx
param ($file)
$ini = @
switch -regex -file $file
"^[(.+)]$"
$section = $matches[1]
$ini[$section] = @
"(.+)=(.+)"
$name,$value = $matches[1..2]
$ini[$section][$name] = $value
$ini
Then you can do:
PS> $links = import-ini links.ini
PS> $links["search-engines"]["link1"]
http://www.google.com
PS> $links["vendors"]["link1"]
http://www.apple.com
Assuming an INI file that looks like this:
[vendors]
link1=http://www.apple.com
[search-engines]
link1=http://www.google.com
Unfortunately the regexes are missing from the code at the link so you'll have to reproduce them, but there's a version that handles files without section headers and lines that are comments.
You can handle comments easily by just adding another case to theswitch
with'^#'
. Also you can access hashtable contents with a dot as well, so$links.vendors.link1
should work too which might be a little better to read.
– Joey
Oct 20 '10 at 7:20
add a comment |
yes, the cmdlets you're looking for are get-content and select-string.
$content=get-content C:links.txt
start-process iexplore.exe $content[0]
add a comment |
For a more comprehensive approach, consider https://github.com/alekdavis/ConfigFile . This module supports config files in JSON format, as well as INI. It allows expanding variables and does a few neat tricks. The thing to remember is that the names of the key-value pairs in the INI file must match the names of the script parameters or variables.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f186030%2fhow-to-use-a-config-file-ini-conf-with-a-powershell-script%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks a lot for your help Dennis and Tim! Your answers put me on the good track and I found this
SETTINGS.TXT
#from http://tlingenf.spaces.live.com/blog/cns!B1B09F516B5BAEBF!213.entry
#
[General]
MySetting1=value
[Locations]
InputFile="C:Users.txt"
OutputFile="C:output.log"
[Other]
WaitForTime=20
VerboseLogging=True
POWERSHELL COMMAND
#from http://tlingenf.spaces.live.com/blog/cns!B1B09F516B5BAEBF!213.entry
#
Get-Content "C:settings.txt" | foreach-object -begin $h=@ -process $k = [regex]::split($_,'='); if(($k[0].CompareTo("") -ne 0) -and ($k[0].StartsWith("[") -ne $True)) $h.Add($k[0], $k[1])
then
After executing the code snippet, a variable ($h) will contain the values in a HashTable.
Name Value
---- -----
MySetting1 value
VerboseLogging True
WaitForTime 20
OutputFile "C:output.log"
InputFile "C:Users.txt"
*To retrieve an item from the table, use the command $h.Get_Item("MySetting1").*
3
You can also get the settings out by the much friendlier $h.MySetting1
– Ryan Shillington
Nov 13 '15 at 19:54
I get an array out of bounds exception in the regex parser line, despite using the exact same .txt file shown in this answer and the parser code (no changes) =>Index was outside the bounds of the array. At C:testConfigreader.ps1:13 char:264 + ... -ne $True)) $h.Add($k[0], $k[1]) } + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (:) [], IndexOutOfRangeException + FullyQualifiedErrorId : System.IndexOutOfRangeException
Does anyone have this working correctly?
– Shiva
Mar 9 '17 at 0:24
add a comment |
Thanks a lot for your help Dennis and Tim! Your answers put me on the good track and I found this
SETTINGS.TXT
#from http://tlingenf.spaces.live.com/blog/cns!B1B09F516B5BAEBF!213.entry
#
[General]
MySetting1=value
[Locations]
InputFile="C:Users.txt"
OutputFile="C:output.log"
[Other]
WaitForTime=20
VerboseLogging=True
POWERSHELL COMMAND
#from http://tlingenf.spaces.live.com/blog/cns!B1B09F516B5BAEBF!213.entry
#
Get-Content "C:settings.txt" | foreach-object -begin $h=@ -process $k = [regex]::split($_,'='); if(($k[0].CompareTo("") -ne 0) -and ($k[0].StartsWith("[") -ne $True)) $h.Add($k[0], $k[1])
then
After executing the code snippet, a variable ($h) will contain the values in a HashTable.
Name Value
---- -----
MySetting1 value
VerboseLogging True
WaitForTime 20
OutputFile "C:output.log"
InputFile "C:Users.txt"
*To retrieve an item from the table, use the command $h.Get_Item("MySetting1").*
3
You can also get the settings out by the much friendlier $h.MySetting1
– Ryan Shillington
Nov 13 '15 at 19:54
I get an array out of bounds exception in the regex parser line, despite using the exact same .txt file shown in this answer and the parser code (no changes) =>Index was outside the bounds of the array. At C:testConfigreader.ps1:13 char:264 + ... -ne $True)) $h.Add($k[0], $k[1]) } + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (:) [], IndexOutOfRangeException + FullyQualifiedErrorId : System.IndexOutOfRangeException
Does anyone have this working correctly?
– Shiva
Mar 9 '17 at 0:24
add a comment |
Thanks a lot for your help Dennis and Tim! Your answers put me on the good track and I found this
SETTINGS.TXT
#from http://tlingenf.spaces.live.com/blog/cns!B1B09F516B5BAEBF!213.entry
#
[General]
MySetting1=value
[Locations]
InputFile="C:Users.txt"
OutputFile="C:output.log"
[Other]
WaitForTime=20
VerboseLogging=True
POWERSHELL COMMAND
#from http://tlingenf.spaces.live.com/blog/cns!B1B09F516B5BAEBF!213.entry
#
Get-Content "C:settings.txt" | foreach-object -begin $h=@ -process $k = [regex]::split($_,'='); if(($k[0].CompareTo("") -ne 0) -and ($k[0].StartsWith("[") -ne $True)) $h.Add($k[0], $k[1])
then
After executing the code snippet, a variable ($h) will contain the values in a HashTable.
Name Value
---- -----
MySetting1 value
VerboseLogging True
WaitForTime 20
OutputFile "C:output.log"
InputFile "C:Users.txt"
*To retrieve an item from the table, use the command $h.Get_Item("MySetting1").*
Thanks a lot for your help Dennis and Tim! Your answers put me on the good track and I found this
SETTINGS.TXT
#from http://tlingenf.spaces.live.com/blog/cns!B1B09F516B5BAEBF!213.entry
#
[General]
MySetting1=value
[Locations]
InputFile="C:Users.txt"
OutputFile="C:output.log"
[Other]
WaitForTime=20
VerboseLogging=True
POWERSHELL COMMAND
#from http://tlingenf.spaces.live.com/blog/cns!B1B09F516B5BAEBF!213.entry
#
Get-Content "C:settings.txt" | foreach-object -begin $h=@ -process $k = [regex]::split($_,'='); if(($k[0].CompareTo("") -ne 0) -and ($k[0].StartsWith("[") -ne $True)) $h.Add($k[0], $k[1])
then
After executing the code snippet, a variable ($h) will contain the values in a HashTable.
Name Value
---- -----
MySetting1 value
VerboseLogging True
WaitForTime 20
OutputFile "C:output.log"
InputFile "C:Users.txt"
*To retrieve an item from the table, use the command $h.Get_Item("MySetting1").*
edited Mar 9 '17 at 0:46
Shiva
1034
1034
answered Sep 30 '10 at 18:51
Xavier CXavier C
3882411
3882411
3
You can also get the settings out by the much friendlier $h.MySetting1
– Ryan Shillington
Nov 13 '15 at 19:54
I get an array out of bounds exception in the regex parser line, despite using the exact same .txt file shown in this answer and the parser code (no changes) =>Index was outside the bounds of the array. At C:testConfigreader.ps1:13 char:264 + ... -ne $True)) $h.Add($k[0], $k[1]) } + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (:) [], IndexOutOfRangeException + FullyQualifiedErrorId : System.IndexOutOfRangeException
Does anyone have this working correctly?
– Shiva
Mar 9 '17 at 0:24
add a comment |
3
You can also get the settings out by the much friendlier $h.MySetting1
– Ryan Shillington
Nov 13 '15 at 19:54
I get an array out of bounds exception in the regex parser line, despite using the exact same .txt file shown in this answer and the parser code (no changes) =>Index was outside the bounds of the array. At C:testConfigreader.ps1:13 char:264 + ... -ne $True)) $h.Add($k[0], $k[1]) } + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (:) [], IndexOutOfRangeException + FullyQualifiedErrorId : System.IndexOutOfRangeException
Does anyone have this working correctly?
– Shiva
Mar 9 '17 at 0:24
3
3
You can also get the settings out by the much friendlier $h.MySetting1
– Ryan Shillington
Nov 13 '15 at 19:54
You can also get the settings out by the much friendlier $h.MySetting1
– Ryan Shillington
Nov 13 '15 at 19:54
I get an array out of bounds exception in the regex parser line, despite using the exact same .txt file shown in this answer and the parser code (no changes) =>
Index was outside the bounds of the array. At C:testConfigreader.ps1:13 char:264 + ... -ne $True)) $h.Add($k[0], $k[1]) } + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (:) [], IndexOutOfRangeException + FullyQualifiedErrorId : System.IndexOutOfRangeException
Does anyone have this working correctly?– Shiva
Mar 9 '17 at 0:24
I get an array out of bounds exception in the regex parser line, despite using the exact same .txt file shown in this answer and the parser code (no changes) =>
Index was outside the bounds of the array. At C:testConfigreader.ps1:13 char:264 + ... -ne $True)) $h.Add($k[0], $k[1]) } + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (:) [], IndexOutOfRangeException + FullyQualifiedErrorId : System.IndexOutOfRangeException
Does anyone have this working correctly?– Shiva
Mar 9 '17 at 0:24
add a comment |
There's a good thread here which shows this code (quoting from the linked thread):
# from http://www.eggheadcafe.com/software/aspnet/30358576/powershell-and-ini-files.aspx
param ($file)
$ini = @
switch -regex -file $file
"^[(.+)]$"
$section = $matches[1]
$ini[$section] = @
"(.+)=(.+)"
$name,$value = $matches[1..2]
$ini[$section][$name] = $value
$ini
Then you can do:
PS> $links = import-ini links.ini
PS> $links["search-engines"]["link1"]
http://www.google.com
PS> $links["vendors"]["link1"]
http://www.apple.com
Assuming an INI file that looks like this:
[vendors]
link1=http://www.apple.com
[search-engines]
link1=http://www.google.com
Unfortunately the regexes are missing from the code at the link so you'll have to reproduce them, but there's a version that handles files without section headers and lines that are comments.
You can handle comments easily by just adding another case to theswitch
with'^#'
. Also you can access hashtable contents with a dot as well, so$links.vendors.link1
should work too which might be a little better to read.
– Joey
Oct 20 '10 at 7:20
add a comment |
There's a good thread here which shows this code (quoting from the linked thread):
# from http://www.eggheadcafe.com/software/aspnet/30358576/powershell-and-ini-files.aspx
param ($file)
$ini = @
switch -regex -file $file
"^[(.+)]$"
$section = $matches[1]
$ini[$section] = @
"(.+)=(.+)"
$name,$value = $matches[1..2]
$ini[$section][$name] = $value
$ini
Then you can do:
PS> $links = import-ini links.ini
PS> $links["search-engines"]["link1"]
http://www.google.com
PS> $links["vendors"]["link1"]
http://www.apple.com
Assuming an INI file that looks like this:
[vendors]
link1=http://www.apple.com
[search-engines]
link1=http://www.google.com
Unfortunately the regexes are missing from the code at the link so you'll have to reproduce them, but there's a version that handles files without section headers and lines that are comments.
You can handle comments easily by just adding another case to theswitch
with'^#'
. Also you can access hashtable contents with a dot as well, so$links.vendors.link1
should work too which might be a little better to read.
– Joey
Oct 20 '10 at 7:20
add a comment |
There's a good thread here which shows this code (quoting from the linked thread):
# from http://www.eggheadcafe.com/software/aspnet/30358576/powershell-and-ini-files.aspx
param ($file)
$ini = @
switch -regex -file $file
"^[(.+)]$"
$section = $matches[1]
$ini[$section] = @
"(.+)=(.+)"
$name,$value = $matches[1..2]
$ini[$section][$name] = $value
$ini
Then you can do:
PS> $links = import-ini links.ini
PS> $links["search-engines"]["link1"]
http://www.google.com
PS> $links["vendors"]["link1"]
http://www.apple.com
Assuming an INI file that looks like this:
[vendors]
link1=http://www.apple.com
[search-engines]
link1=http://www.google.com
Unfortunately the regexes are missing from the code at the link so you'll have to reproduce them, but there's a version that handles files without section headers and lines that are comments.
There's a good thread here which shows this code (quoting from the linked thread):
# from http://www.eggheadcafe.com/software/aspnet/30358576/powershell-and-ini-files.aspx
param ($file)
$ini = @
switch -regex -file $file
"^[(.+)]$"
$section = $matches[1]
$ini[$section] = @
"(.+)=(.+)"
$name,$value = $matches[1..2]
$ini[$section][$name] = $value
$ini
Then you can do:
PS> $links = import-ini links.ini
PS> $links["search-engines"]["link1"]
http://www.google.com
PS> $links["vendors"]["link1"]
http://www.apple.com
Assuming an INI file that looks like this:
[vendors]
link1=http://www.apple.com
[search-engines]
link1=http://www.google.com
Unfortunately the regexes are missing from the code at the link so you'll have to reproduce them, but there's a version that handles files without section headers and lines that are comments.
answered Sep 30 '10 at 1:29
Dennis WilliamsonDennis Williamson
51.2k1193128
51.2k1193128
You can handle comments easily by just adding another case to theswitch
with'^#'
. Also you can access hashtable contents with a dot as well, so$links.vendors.link1
should work too which might be a little better to read.
– Joey
Oct 20 '10 at 7:20
add a comment |
You can handle comments easily by just adding another case to theswitch
with'^#'
. Also you can access hashtable contents with a dot as well, so$links.vendors.link1
should work too which might be a little better to read.
– Joey
Oct 20 '10 at 7:20
You can handle comments easily by just adding another case to the
switch
with '^#'
. Also you can access hashtable contents with a dot as well, so $links.vendors.link1
should work too which might be a little better to read.– Joey
Oct 20 '10 at 7:20
You can handle comments easily by just adding another case to the
switch
with '^#'
. Also you can access hashtable contents with a dot as well, so $links.vendors.link1
should work too which might be a little better to read.– Joey
Oct 20 '10 at 7:20
add a comment |
yes, the cmdlets you're looking for are get-content and select-string.
$content=get-content C:links.txt
start-process iexplore.exe $content[0]
add a comment |
yes, the cmdlets you're looking for are get-content and select-string.
$content=get-content C:links.txt
start-process iexplore.exe $content[0]
add a comment |
yes, the cmdlets you're looking for are get-content and select-string.
$content=get-content C:links.txt
start-process iexplore.exe $content[0]
yes, the cmdlets you're looking for are get-content and select-string.
$content=get-content C:links.txt
start-process iexplore.exe $content[0]
answered Sep 30 '10 at 0:11
TimTim
21613
21613
add a comment |
add a comment |
For a more comprehensive approach, consider https://github.com/alekdavis/ConfigFile . This module supports config files in JSON format, as well as INI. It allows expanding variables and does a few neat tricks. The thing to remember is that the names of the key-value pairs in the INI file must match the names of the script parameters or variables.
add a comment |
For a more comprehensive approach, consider https://github.com/alekdavis/ConfigFile . This module supports config files in JSON format, as well as INI. It allows expanding variables and does a few neat tricks. The thing to remember is that the names of the key-value pairs in the INI file must match the names of the script parameters or variables.
add a comment |
For a more comprehensive approach, consider https://github.com/alekdavis/ConfigFile . This module supports config files in JSON format, as well as INI. It allows expanding variables and does a few neat tricks. The thing to remember is that the names of the key-value pairs in the INI file must match the names of the script parameters or variables.
For a more comprehensive approach, consider https://github.com/alekdavis/ConfigFile . This module supports config files in JSON format, as well as INI. It allows expanding variables and does a few neat tricks. The thing to remember is that the names of the key-value pairs in the INI file must match the names of the script parameters or variables.
answered May 6 at 6:23
Alek DavisAlek Davis
123115
123115
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f186030%2fhow-to-use-a-config-file-ini-conf-with-a-powershell-script%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown