Quantcast
Channel: Active questions tagged linefeed+powershell - Stack Overflow
Browsing latest articles
Browse All 6 View Live

Image may be NSFW.
Clik here to view.

exception calling "Parse" with 1 argument: Input string was not in a correct...

I have a script that works properly when run as an administrator but gives a Parse error when run as a normal user. Any Ideas?; SCRIPT `NeverExpires = 9223372036854775807; $ExpireMin =...

View Article



PowerShell's pipe adds linefeed

I'm trying to pipe a string into a program's STDIN without any trailing linefeeds (unless that string itself actually ends in a linefeed). I tried googling around, but I only found people trying to...

View Article

Image may be NSFW.
Clik here to view.

Creating a new csv from malformed csv (containing LF and CR characters in...

I have a 4 column csv file that has one of its columns spread across multiple lines as seen below: Number#,Scenes,OkOrFail,Time(ms) 1,com.mine[scenario->GRADE_1:thsi is test is request from Eol...

View Article

Powershell Script LineFeed in Messagebox

I need help to sort the output after volume $_.mountpoint in the messagebox. if ((Get-Tpm).TPMReady -eq $true){ $tpminfo = Get-WmiObject -class Win32_Tpm -namespace root\CIMV2\Security\MicrosoftTpm...

View Article

Powershell: Editing all Line Feeds and Carriage Returns in a CSV file

Goal is to remove all single "Line Feeds"(LFs) and keep the "Line Feeds" which follow a Carriage Return(CR) in a csv file. I got a report which includes several LFs in one row, but I only want to keep...

View Article


Include a line feed in a powershell script argument

I am using a .bat file to invoke a powershell script.Powershell.exe -executionpolicy remotesigned -File C:\Users\%UserName%\Desktop\PushOverPS.ps1 "Line1\nLine2"I want my pushover message to be...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images