3,544 reputation
103185
bio website security.stackexchange.com
location Florida
age 31
visits member for 3 years, 7 months
seen Apr 3 at 15:07

I'm not the droid you're looking for.


Jan
8
comment Is there a way to disable script echoing in the PowerShell ISE?
@GuyThomas I'd rather not. That would make it more difficult to compare output between subsequent runs of the script.
Jan
6
comment PowerShell reports missing method, when method exists
@NathanC Shouldn't it be giving me a different error then, instead of "doesn't contain a method"? ETA: $x.Remove(0,1) fails with same error.
Dec
19
comment List installed personal certificates in command line
@allquixotic I will confess though, that more than once I asked a question like this myself. It was perhaps almost as much out of fear of adapting to PowerShell (vs. writing the batch scripts I understood) as it was a need to support XP/2003. I've learned a bit since then, though. Now I can't stand being limited to batch.
Dec
19
comment How can I get a list of installed certificates on Windows?
@AdrianRatnapala inetcpl.cpl
Dec
19
comment List installed personal certificates in command line
@Moses What's your particular aversion to PowerShell? It's not like you're looking to do this on XP or Server 2003, where PowerShell isn't built-in on a standard install. Also, PowerShell allows you to run some commands remotely (if the systems are properly configured for it) which would allow you to easily gather all data on all your systems from across the network in one script.
Dec
17
comment Check if one variable matches the beginning of another in Batch
Interesting. I'd never observed, or at least never noticed, that before. Again, for my uses (users will just be double-clicking the script from an Explorer window) the point is still moot - but this is very good information to have. Thanks!
Dec
17
comment Check if one variable matches the beginning of another in Batch
I'm confused. No matter how I CD to a folder, if I subsequently run CD without any arguments, it returns the path in its proper (as stored in the file system) case. %USERPROFILE% also returns the user's profile path in its proper case. Ergo, if I CD /D c:\users\me then the output of my next CD (with no args) will be C:\Users\Mewhich will exactly match %USERPROFILE% - case and all - if I'm running commands as "Me".
Dec
17
comment Check if one variable matches the beginning of another in Batch
For this particular script, the /I option is not needed. Since we're matching command output and/or environment variables, without user input, there is effectively zero chance of a case mis-match. Thanks for the clarification, though.
Dec
11
comment Linux equivalent of Windows Registry
Heh... so Linux essentially does what the Windows Registry was designed to prevent?
Dec
4
comment Text and lines don't look right
Tried adjusting ClearType, then disabling it. Neither helped.
Dec
4
comment Text and lines don't look right
Resolution is at the screen's native (1280x800). I'll give ClearType a shot.
Nov
19
comment Linux keylogger without root or sudo! Is it real?
See Law #1.
Nov
13
comment Why does ForEach-Object behave differently when called as foreach?
It looks like if we want to use ForEach-Object without piping, with syntax somewhat similar to foreach we can do ForEach-Object -InputObject (1..3) {$_} or % -i(1..3){$_}.
Nov
13
comment Why does ForEach-Object behave differently when called as foreach?
That line of script works for foreach, ForEach-Object, and %. It can even be shortened to 1..3|%{$_}. :-)
Nov
6
comment Google Drive terminates without error on startup
Good to know that's working for you. Wish I could figure out what did it for me. Once I started looking at it with Process Monitor, it suddenly worked. It's nice that it's working, but frustrating that I'll probably never know why.
Oct
31
comment Google Drive terminates without error on startup
So, strangest thing. I go to launch it while I'm running Process Monitor, give up on trying to make sense of the thousands of events that match every filter I think might be relevant (except none match a filter for paths including `P:`), and then when I close Process Monitor I find Google Drive is up and running behind it. I'll see if this holds up, and close this question after awhile if I don't run into the problem again.
Oct
31
comment Google Drive terminates without error on startup
@week If that was the case, one would expect this to be happening more often, and easily findable. For that matter, it should have been caught and patched by now (I've been having this problem for about a week).
Sep
27
comment How do I keep Conditional Formatting formulas and ranges from automatically changing?
I haven't gotten around to implementing it yet, but will probably do so the next time I run across this problem. I'll let you know if there are any issues.
Sep
22
comment How do I keep Conditional Formatting formulas and ranges from automatically changing?
Though the named range provides a convenient short-hand method of referring to the target cells, couldn't you just use the INDIRECT function on its own?
Sep
20
comment How do I keep Conditional Formatting formulas and ranges from automatically changing?
@JohnBensin That sounds like it's exactly what I was looking for. I'll try to remember that one next time.