Search found 5 matches

by 1011010101010111001
2022-Feb-12, 10:14 pm
Forum: Windows VBScript
Topic: Classic Asp - VBscript - how to handle XML parsing error
Replies: 0
Views: 2810

Classic Asp - VBscript - how to handle XML parsing error

I suck at VBscript. I'm making a Classic ASP page. (yeah yeah... 'its old', 'you should use something else'.... now that we have acknowledged that...) I have no idea how to handle the error I'm getting gracefully. Here is an example of the XML file data: <PDFlib> <PDF id="001">1</PDF> <PDF...
by 1011010101010111001
2021-Nov-11, 8:53 pm
Forum: Windows PowerShell
Topic: Solved: Send request to localhost/app/page (IIS) -- SSL/TLS error
Replies: 4
Views: 3204

Re: Send request to localhost/app/page (IIS)

Solution for SSL error with PS version 5 #deal with SSL/TLS issues first add-type @" using System.Net; using System.Security.Cryptography.X509Certificates; public class TrustAllCertsPolicy : ICertificatePolicy { public bool CheckValidationResult( ServicePoint srvPoint, X509Certificate certific...
by 1011010101010111001
2021-Nov-11, 7:58 pm
Forum: Windows PowerShell
Topic: Solved: Send request to localhost/app/page (IIS) -- SSL/TLS error
Replies: 4
Views: 3204

Re: Send request to localhost/app/page (IIS)

Yep, directory browsing is on. port 80 will auto redirect to 443 one these machines. So I can't use http instead of https. Additionally I switched over to 'Invoke-WebRequest' and get the same results when I run it locally. It's definitely an SSL hurdle thats in my way, I know how to program around t...
by 1011010101010111001
2021-Nov-10, 4:26 pm
Forum: Windows PowerShell
Topic: Solved: Send request to localhost/app/page (IIS) -- SSL/TLS error
Replies: 4
Views: 3204

Solved: Send request to localhost/app/page (IIS) -- SSL/TLS error

Hello, I'm needing to get the version number of the web app that's currently running on IIS instance. There is a text file that contains the version information located at: D:\Program Files\vendor\application name\ version number -application name\web\the *.txt file. That file can be accessed via: (...
by 1011010101010111001
2021-Oct-28, 4:16 pm
Forum: Windows PowerShell
Topic: Using Out-GridView -Wait but window closes anyway
Replies: 1
Views: 4157

Using Out-GridView -Wait but window closes anyway

My code does the following: Param( [Parameter(Mandatory=$true)] [string[]] $find ) Set-Location C:\script Write-Output "Searching..." $folders = @(a list of folders) $excluded = @(a list of folders) $results = foreach ($folder in $folders) { Get-ChildItem $folder -Recurse -Exclude $exclude...