Search found 309 matches
- Sat Jan 16, 2021 8:36 pm
- Forum: PowerShell
- Topic: INI file
- Replies: 10
- Views: 980
Re: INI file
Thanks wanted to make sure.
- Fri Jan 15, 2021 7:58 pm
- Forum: PowerShell
- Topic: INI file
- Replies: 10
- Views: 980
Re: INI file
I have to do it to multiple files and worried if I just add I will break the ini file in some way.
- Fri Jan 15, 2021 3:54 pm
- Forum: PowerShell
- Topic: INI file
- Replies: 10
- Views: 980
Re: INI file
I am looking at this and I don't know if I am reading it right but this just reads the INI file and output it to as a hash. I just want to add a section to an existing ini file without damaging it.
- Fri Jan 15, 2021 12:15 pm
- Forum: PowerShell
- Topic: INI file
- Replies: 10
- Views: 980
Re: INI file
Do you have one you suggest? I tried a couple and they seem to be not working
- Wed Jan 13, 2021 2:54 pm
- Forum: PowerShell
- Topic: INI file
- Replies: 10
- Views: 980
INI file
Is there a CMDLET that can add a section to an INI file?
- Wed Dec 23, 2020 8:51 pm
- Forum: PowerShell
- Topic: Loop script
- Replies: 9
- Views: 2301
Re: Loop script
Ok thanks for your help. I figured this out. I am using two separate arrays for failure and success. When I have these two separate arrays of servers I want to use the data. I think something got lost in my explanation. All good once again thanks.
- Wed Dec 23, 2020 1:07 pm
- Forum: PowerShell
- Topic: Loop script
- Replies: 9
- Views: 2301
Re: Loop script
Ok in the beginning of this this post I stated what I wanted to do asking what is the best PowerShell way to do it. If we ignore the array part all that I am asking is. How can can I get a list of servers that I rebooted if the reboot did not happen how can continually check until it does? Then get ...
- Wed Dec 23, 2020 8:46 am
- Forum: PowerShell
- Topic: Loop script
- Replies: 9
- Views: 2301
Re: Loop script
When it loops if the computer rebooted it is suppose to add to the new array and remove from the old array and output but it is not doing it. I am debugging but I cant seem to figure out why it is not outputting to these lines. Write-host("left to be checked: " + $to_check_list) Write-host("Already ...
- Wed Dec 23, 2020 6:28 am
- Forum: PowerShell
- Topic: Loop script
- Replies: 9
- Views: 2301
Re: Loop script
Thanks but I am trying to continuously loop through checking for a certain allotted time. What you gave was a one time check. I am doing this because I am waiting for a reboot to happen for a x amount of machines before I move on to next part of the script. That why with every check I am building an...
- Tue Dec 22, 2020 9:30 am
- Forum: PowerShell
- Topic: Loop script
- Replies: 9
- Views: 2301
Loop script
Hi, I am trying to write a script that check each server to see if it was rebooted - function call / command. if the server was rebooted Then: store the server name in some place Else: wait some time and check again - timeout if it exceeds certain amount of time I am using FOR loop but I am thinking...