No announcements
Found 2230527 threads
-
2 Votes
Powershell, quoting the quoting quotes - storing large string
I ended up re-writing the entire script from scratch.Answered | 10 Replies | 4965 Views | Created by JL-4 - Friday, November 16, 2012 2:53 PM | Last reply by mjolinor - Monday, November 19, 2012 2:42 PM -
1 Votes
Signing Powershell Script Returns and "UnknownError" Status
Hi piselloa, I am trying to self sign some scripts but keep getting a status of "UnknownError" after the script ...Answered | 1 Replies | 3537 Views | Created by piselloa - Wednesday, May 25, 2016 12:47 PM | Last reply by Hello_2018 - Tuesday, June 7, 2016 3:35 AM -
0 Votes
Powershell list files and remove everything after "\" character
" -ForegroundColor Yellow -NoNewline Write-Host "$($files[$i].FullName)" -ForegroundColor Green } $choice = ...Answered | 5 Replies | 2333 Views | Created by smithna - Wednesday, September 21, 2016 8:41 PM | Last reply by Mike Laughlin - Friday, September 23, 2016 1:27 AM -
0 Votes
setting path in powershell with quotes
Hello, How do I set or put the pathname back after I have pulled the path using $pathList = Get-WmiObject win32_Service | select name, ...Answered | 1 Replies | 1005 Views | Created by JD utah - Thursday, November 12, 2015 10:00 PM | Last reply by jrv - Thursday, November 12, 2015 10:11 PM -
1 Votes
Executing a PS1 file from within a Powershell script
Tony; How are you trying to run the scripts?Answered | 6 Replies | 3711 Views | Created by TonyL1234 - Thursday, October 20, 2011 9:13 PM | Last reply by TonyL1234 - Thursday, October 20, 2011 10:56 PM -
0 Votes
Quotes in Alter Proc Script
In Tools/Options/SQL Server Object Explorer/Scripting make sure to set 'Include IF NOT EXISTS clause' option to false.Answered | 2 Replies | 1961 Views | Created by Lee Markum - Saturday, May 25, 2013 2:52 AM | Last reply by Lee Markum - Sunday, May 26, 2013 1:26 PM -
0 Votes
Script Quote Issue
Ah, I was actually pretty close-- missing a set of quotes-- thank you!Answered | 9 Replies | 900 Views | Created by Sentri7 - Tuesday, July 8, 2014 1:19 AM | Last reply by --CELKO-- - Tuesday, July 8, 2014 11:17 PM -
0 Votes
Powershell double quotes parsing issue
Contents of C:\Commander.ini AGR1='test' PARAM='{"pass_warn_age":7, "pass_min_len":5, ...Answered | 5 Replies | 4059 Views | Created by LuckieT - Friday, January 8, 2016 11:14 PM | Last reply by jrv - Sunday, January 10, 2016 4:08 PM -
2 Votes
Powershell and double quotes inside a string
If quote characters are required, you can also double them in quoted strings.Answered | 3 Replies | 24884 Views | Created by jqx12 - Friday, May 6, 2016 7:00 AM | Last reply by Richard Mueller - Friday, May 6, 2016 2:54 PM -
0 Votes
Double quotes within a Double Quotes text qualifier
In addition to Arthur's solution, here is Jeff Moden's solution for the nested double quotes problem: "If you setup a BCP format file correctly ...Answered | 2 Replies | 3525 Views | Created by JesseO - Tuesday, March 5, 2013 6:56 PM | Last reply by Kalman Toth - Thursday, March 7, 2013 2:57 PM -
0 Votes
Apostrophe within a sngle quote string
$x='hello don''t look' PS C:\scripts> $x hello don't look ¯\_(ツ)_/¯Answered | 5 Replies | 1776 Views | Created by mike_00 - Saturday, February 7, 2015 1:34 AM | Last reply by jrv - Saturday, February 7, 2015 6:36 AM -
0 Votes
Newline within Single Literal Quotes
This works but only at a CMD prompt or from a BAT or CMD file: powershell.exe -ExecutionPolicy Bypass -Command "(new-object -ComObject ...Answered | 2 Replies | 1930 Views | Created by james_stap - Tuesday, September 12, 2017 8:46 PM | Last reply by james_stap - Tuesday, September 12, 2017 9:50 PM -
1 Votes
calling another powershell script within a powershell script by passing execution policy
Here's an example command line of how to run a PowerShell script.Answered | 6 Replies | 5406 Views | Created by HomeTheaterGuy - Wednesday, September 12, 2018 4:42 PM | Last reply by Bill_Stewart - Wednesday, September 12, 2018 6:24 PM -
0 Votes
Change Variable to add quotes
If you are trying to awsk how to put qupates inside of a variable then this is ...Answered | 5 Replies | 938 Views | Created by ToeBee - Sunday, May 31, 2015 7:13 PM | Last reply by Mike Laughlin - Monday, June 1, 2015 12:30 AM -
5 Votes
how universal is the PowerShell parsing of hex 94 as a double quote character?
Either this is strictly true and means a script file is always upconverted to Unicode before parsing; or it means the ANSI/Windows-1252 PowerShell is ...Answered | 11 Replies | 3099 Views | Created by Larry Weiss - Saturday, March 9, 2013 6:07 PM | Last reply by Alex K. Angelopoulos - Monday, March 11, 2013 2:15 AM -
0 Votes
How to avoid/ bypass "File Download Dialoge Box" in IE8?
If you feel the suggestion could be helpful to you, please "mark it as answer" to help other community members who have same questions and find ...Answered | 2 Replies | 1448 Views | Created by Muhamad Waqas Ahmad - Thursday, September 1, 2016 4:45 AM | Last reply by Carl Fan - Tuesday, September 13, 2016 7:04 AM -
0 Votes
"Exception calling ".ctor" with "1" argument(s): "Can not open the package.
I'm also getting an error when I manually open the csv file in Excel - "the file format and extension of 'Basic_People_Info.csv' don't match.Answered | 8 Replies | 2183 Views | Created by BrianEmbree - Tuesday, October 18, 2016 2:41 PM | Last reply by BrianEmbree - Monday, October 31, 2016 2:18 PM -
3 Votes
Double Quotes in .Net Script Inputs
With a combination of the Replace Text to catch double quotes and the use of verbatim strings to handle the escape characters worked.Answered | 4 Replies | 989 Views | Created by Foothill1 - Friday, June 20, 2014 4:50 PM | Last reply by Foothill1 - Monday, June 30, 2014 5:36 PM -
1 Votes
Can anyone please help me with the script to remove quotes within the string??
It's a little unclear how you want that sample changed - if you put a "before" and "after" sample, I'd be able ...Answered | 7 Replies | 4900 Views | Created by Incredible15 - Monday, June 14, 2010 9:48 PM | Last reply by Todd McDermid - Tuesday, June 15, 2010 4:18 PM -
1 Votes
How to get stock quotes
At least I know I am not going nuts :-) I did notice at one time I got a script error on the page.Answered | 29 Replies | 8297 Views | Created by jeffals - Saturday, July 30, 2011 5:42 PM | Last reply by Dave Mills - Thursday, August 18, 2011 7:21 PM - Items 1 to 20 of 2230527 Next ›
No announcements