No announcements
Found 1161815 threads
-
0 Votes
Using Powershell to parse .txt file and insert section of text into email body.
Using Powershell, I am needing to be able to parse a .txt file for a block of text, copy that text, and then insert it into the body of an email and send ...Answered | 1 Replies | 987 Views | Created by SeanClay - Friday, June 24, 2016 7:07 PM | Last reply by Tim Cerling - Friday, June 24, 2016 8:14 PM -
3 Votes
Powershell script - read variables from a file (excel, txt,ps1,..)
so that i could use the variables allready in my powershell script.Answered | 5 Replies | 20721 Views | Created by Bjørn Roalkvam - Thursday, January 24, 2013 11:22 AM | Last reply by Bjørn Roalkvam - Thursday, January 24, 2013 12:15 PM -
0 Votes
Copy lines of text from one .txt to another .txt
Again I have little to no experience with PowerShell and assumed that the ??Answered | 6 Replies | 619 Views | Created by Liamsy11 - Monday, February 6, 2017 12:34 PM | Last reply by SYN_ACK_87 - Monday, February 6, 2017 3:37 PM -
9 Votes
add lines of text to the TOP of a existing txt file in powershell
I would get the content of the original file like you are doing, create a temp file, add the two lines to the temp file, then append the contents of the original ...Answered | 6 Replies | 74488 Views | Created by tnetplus - Friday, August 3, 2012 6:38 PM | Last reply by KodiakICE - Tuesday, September 11, 2018 8:58 PM -
0 Votes
Powershell Script opening urls from txt file
What i original idea was: - url.txt with the different urls (contents like: www.microsoft.com , www.live.com) - from an other ...Answered | 6 Replies | 14568 Views | Created by asdasdasdasd - Thursday, October 20, 2011 3:11 PM | Last reply by jrv - Thursday, October 20, 2011 9:58 PM -
3 Votes
Saving Alert as a text file (*.txt)
Also you can use the universal connector to send them as text based file to a location.... or you can use notification scubscriptions and create a command that outputs all the alert ...Answered | 8 Replies | 3700 Views | Created by Ceaseradmin - Monday, January 16, 2012 1:08 PM | Last reply by Ceaseradmin - Wednesday, January 18, 2012 7:46 AM -
4 Votes
Powershell - Turn text file into html
I'm afraid your text file cannot be imported if the names have spaces in them.Answered | 23 Replies | 26756 Views | Created by slayxmasterx - Sunday, February 12, 2012 7:13 AM | Last reply by Rich Matheisen [Ex-MVP (retired)] - Saturday, October 20, 2018 6:07 PM -
1 Votes
Excel file to UTF-8 Encoded Text file
I am using Excel 2010.Answered | 6 Replies | 49086 Views | Created by Vijivr - Friday, August 6, 2010 11:40 AM | Last reply by Guilherme Cipriano - Wednesday, April 22, 2020 4:31 AM -
1 Votes
Feeding text file to Powershell Scritp
Get-Content <PATH TO TXT> | foreach{ Get-ADComputer $_ -Properties * | select samaccountname,canonicalname,operatingSystem,lastLogonTimestamp } Try above, the ...Answered | 3 Replies | 905 Views | Created by Charlie4872 - Wednesday, July 3, 2019 4:24 PM | Last reply by JS2010 - Thursday, July 4, 2019 12:11 AM -
1 Votes
Powershell will not save excel file
whats in your c:\foldersizeParsed.txt file i want to run a test The first line in the txt file is blank.Answered | 16 Replies | 47094 Views | Created by Ted_D - Wednesday, June 5, 2013 5:29 PM | Last reply by JameseyL - Thursday, August 24, 2017 2:35 PM -
0 Votes
How to import text from txt file?
It doesn't matter if PowerShell strings are enclosed in single or double quotes, unless the string includes embedded variables.Answered | 5 Replies | 66618 Views | Created by oemMicrosoft - Tuesday, January 3, 2012 11:28 AM | Last reply by Bigteddy - Tuesday, January 3, 2012 5:40 PM -
1 Votes
Compare 2 Text files in powershell
Thanks BigTeddy, When I run Compare object against the text file I got below result..Answered | 12 Replies | 11366 Views | Created by Prashant Girennavar - Thursday, October 18, 2012 7:50 AM | Last reply by Sreenivasa G - Thursday, July 20, 2017 8:30 PM -
1 Votes
Logging Script information into a .txt file
" Month of Lunches" is an excellent starter book and it will, within an month, get you started with PowerShell.Answered | 7 Replies | 537 Views | Created by Cookm3 - Thursday, March 3, 2016 3:33 PM | Last reply by jrv - Thursday, March 3, 2016 4:29 PM -
2 Votes
Script Task - convert excel to txt
Simplest way is to use data flow task with Excel source and Flat file destination.Answered | 3 Replies | 4048 Views | Created by SyedF - Monday, February 9, 2015 4:19 PM | Last reply by Visakh16 - Monday, February 9, 2015 5:30 PM -
2 Votes
Powershell loop output append to a txt file
$array = get-content list.txt $filetoedit = get-content file.txt foreach ($i in ...Answered | 4 Replies | 17164 Views | Created by TinyTim05 - Monday, September 17, 2018 3:55 PM | Last reply by TinyTim05 - Tuesday, September 18, 2018 4:00 PM -
4 Votes
powershell solution for extracting data from txt file.
But would it be a lot faster to run on a txt file of the directory listing instead?Answered | 23 Replies | 2182 Views | Created by WildHare - Thursday, September 5, 2013 6:58 PM | Last reply by WildHare - Friday, September 6, 2013 10:38 PM -
1 Votes
PowerShell - Searching Excel and replacing text
Here's how mine is setup : $File = "c:\users\Rollina\Desktop\output-UserName.csv" # Setup ...Answered | 4 Replies | 15890 Views | Created by gazzamon - Tuesday, February 18, 2014 8:54 PM | Last reply by damup1988 - Wednesday, May 15, 2019 7:09 AM -
0 Votes
convert a text file to PDF format
There are other ways around the txt to pdf.Answered | 5 Replies | 5648 Views | Created by Ireshad - Tuesday, May 13, 2014 2:36 PM | Last reply by Ireshad - Wednesday, May 14, 2014 10:14 PM -
1 Votes
Read excel file and replace string with text file
I need a little more help on this one: 1) My text file, has two values on each line: Read, ...Answered | 14 Replies | 6126 Views | Created by jawano - Tuesday, April 21, 2015 8:05 PM | Last reply by jrv - Friday, April 24, 2015 7:11 PM -
0 Votes
Comparing txt in two files
Assuming both results are stored in separate text files test.txt and test2.txt on the user profile's desktop which powershell is running, the following ...Answered | 20 Replies | 3302 Views | Created by theMadferret - Monday, February 13, 2012 9:00 AM | Last reply by Hambergler - Monday, February 13, 2012 6:26 PM - Items 1 to 20 of 1161815 Next ›
No announcements