HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cshokie

no profile record

comments

cshokie
·2 माह पहले·discuss
How do you deal with voltage balance when replacing one bad cell out of a whole battery? My understanding is that lithium ion battery cells need to be close to each other in voltage or else they suddenly rebalance when reconnected, and can burst into flames.
cshokie
·2 माह पहले·discuss
Notepad also understands line endings and text encodings now, instead of always writing as CRLF UTF-16. That eliminates a whole class of “save file in notepad, corrupting it” trouble.
cshokie
·9 माह पहले·discuss
Not so much anymore. The standard deduction for a married couple is now above 30k. It would take a large mortgage to pay that kind of interest in a single year. (Principle is not deductible; only interest)
cshokie
·4 वर्ष पहले·discuss
Yes that is what the PowerShell module is for. You can script things like ‘New-ScheduledTask’ and give it the appropriate parameters. The only thing the user would need to do is run the script. That could create the scheduled tasks and drop the “real” scripts where the scheduled tasks can find them.

It can be helpful to send along a tuple of {PowerShell, cmd} where cmd just forwards arguments to PowerShell. That way you can run “PowerShell -ExecutionPolicy Bypass myscript.ps1 %*” and avoid the pain of changing the system-wide security policy for PowerShell scripts. (Unsigned PowerShell scripts are blocked by default).
cshokie
·4 वर्ष पहले·discuss
The Windows Task Scheduler is probably the way to go. You can create tasks that run on a variety of schedules or events. They can run a script that does what you need.

There is a PowerShell module for managing scheduled tasks. It should be possible to write a script that will create the appropriate scheduled tasks on behalf of the non-proficient user. They just need to run the PowerShell script once to get things going.