Reputation
1,645
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 11 19
Impact
~210k people reached

2d
comment Looking to rename large amount of files using bat script
That would certainly be straightforward to do in PowerShell, but it would involve some work. I would suggest it's unlikely that you will find anyone here who willing to do that work for you for free. I can however offer you a pragmatic suggestion: Use a renaming tool instead of a script. There are a number of them out there. I like Advanced Renamer. I think it would be pretty easy to solve your problem in AR. If you do need a scripted solution rather than a point-and-click one, AR can be run from the command line.
Apr
24
answered How to stop System Interrupts from eating up CPU
Feb
2
comment Windows 10 - virtual desktop startup automation
@Abraxas, you could investigate the AutoIt Cmdlets for Windows PowerShell for sending the keys as Keltari describes.
Feb
1
comment Is there a way to get rid of window frames?
@jphollowed, okay, great :) Please upvote this answer and select it as the accepted answer.
Feb
1
comment Is there a way to get rid of window frames?
@jphollowed, the keyboard shortcuts are here. Main web site here. Win+Alt+P to show the settings. You can drag the window with Ctrl+Alt+LeftMouseButton.
Feb
1
comment Is there a way to get rid of window frames?
@jphollowed, this is not the powershell.exe console. It is its own thing. Yes, its settings will persist. I don't know about moving. You might have to leave the title bar or tab bar on. Anyway, you can experiment yourself.
Feb
1
answered Is there a way to get rid of window frames?
Dec
20
comment Set (Many) Programs' Window Size/Position
I prefer the AutoIt Cmdlets for PowerShell these days.
Dec
17
answered Append Variable To String
Dec
14
comment Using powershell + regex to tidy file names
You could certainly do that in PowerShell, but I think it would be easier to use a renaming tool. There are many of them out there. I like AdvancedRenamer.
Dec
11
comment Running PowerShell script leads to endless loop of open windows
Maybe try FileTypesMan from NirSoft, and see if there is any unusual about the ps1 extension.
Dec
11
comment Convert a txt file into csv using powershell
The details are kind of important here. It's not possible to read a file without knowing how it is formatted. Looking more closely at your file, it seems to be a human-readable report, not a machine-readable file. If the columns are fixed-width, then you could split the fields out using that info.
Dec
10
comment Convert a txt file into csv using powershell
Is it a tab-delimited file? That is, is there a tab character between each field? You could check that by using a hex editor such as HxD. Tab characters will be 09.
Nov
13
awarded  Popular Question
Nov
5
answered PowerShell Command Highlighting
Oct
19
comment Pipe file content into PowerShell command without loading the entire file to memory
If this is part of a script, you can call cmd.exe from PowerShell.
Oct
19
comment Pipe file content into PowerShell command without loading the entire file to memory
The powershell pipeline is different to regular console app stdin. I don't know the details, but maybe two don't work with each other as nicely as one would hope. What is the content of the backup.sql file? I wonder if it could be broken up into individual sql statements that could be fed into psql. Another idea: Does it work any better in cmd.exe?
Oct
6
comment PowerShell Script to Rename - Copy - Move
This looks weird to me: -Include $sdfiles. The -Include parameter takes a file pattern, not a file. I think you should break up your script to use intermediate variables (e.g. $csvFiles = Get-ChildItem $sourceDir -Recurse -Include $sdfiles "*.csv" ). Then single-step through the script in the PowerShell ISE and examine the contents of the intermediate variables to see if they contain what you are expecting. Basically you need to learn how to debug.
Sep
27
awarded  Curious
Sep
10
revised Word 2010 Keyboard Shortcut for Find Next
Add more info.