Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
4 votes
0 answers
199 views

Powershell: does a file name contain a value

I need to check if a filename contains a value that I get from 2 excel Columns (ContractNumber & PONumber). My Script is too slow right now. It has been running for 1 hour, and it completed only 2%...
Macinar's user avatar
  • 41
1 vote
2 answers
433 views

Powershell function to search CSV logs for certain regexes

I have a parser that goes through two different logs, both .csv files, and checks for certain lines based off the regex code that I have chosen. This parser works fine, it just takes about a minute ...
Just_learning's user avatar
4 votes
4 answers
204 views

Advent of Code Day 6: toggling lights in a grid with Powershell

I am using the "Advent of Code" series to help with my PowerShell education. The Day 6 puzzle has a 1000 × 1000 grid of lights. After processing instructions to turn on, turn off, or toggle rectangles ...
Collin Stump's user avatar
7 votes
2 answers
15k views

Extract version string from text file with Powershell

I need to pull the version # out of a Vim script that might look something like: ...
Michael Kropat's user avatar