|
I know, I did that and on the next Windows update it was reset to PowerShell again. So now I have "seen the light" and started using PowerShell, just do not go against the Microsoft flow
|
|
|
|
|
I have tried using it but my slow old brain struggles with new stuff. So Command Prompt still holds me in thrall.
|
|
|
|
|
Richard MacCutchan wrote: So Command Prompt still holds me in thrall. Right there with ya, Richard. I recently showed my college-age son the wonder of a customized prompt in the Command window. I did not know eyes could get so big!
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
I remember showing a young guy at work how to use a Hollerith card punch. He could not understand how the holes were read as characters.
|
|
|
|
|
I always thought that PowerShell was a piece of armor I would get when I reached level 120. Well, I have been at level 120 for a while now, and I don't see no damn PowerShell.
|
|
|
|
|
|
Well, it is not everyday that one finds something that they can trust. Seem that Bacofoil has the strength that I can trust.
I am sure that it will make a nice hat as well.
|
|
|
|
|
PowerShell editing with Visual Studio Code[^]
I started using Visual Code for my Unity game development, and noticed that it also can be used as a terminal\editor for PowerShell scripts, etc. It appears that it has some nice features too, for this. Worth a look I think.
modified 6-Mar-19 9:11am.
|
|
|
|
|
This is also available for Visual Studio,
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
yes, it is.
If he has VS community/pro, then great. if not Visual Code is much more light weight editor.
|
|
|
|
|
The one (huge) benefit of PowerShell over Bash (IMNSHO): You're working with actual objects, with properties and methods, rather than just parsing strings. Just about anything in .NET that's public can be invoked.
As for your longer rant (elsewhere in this thread): Are you aware of WSL? It's not merely a VM or a re-implementation of existing commands like Cygwin.
|
|
|
|
|
You can access your own .NET dll's as well. It's pretty damn snazzy.
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor
|
|
|
|
|
Pretty much any .NET DLL.
A few years ago I started poking around one of my DLLs with PowerShell, just for the fun of it, and started scripting some things using some of my classes that were never meant to be scripted / for scripting.
Some "feature" I wrote with PS became something a customer wanted us to implement, but management saw little very value in us implementing it right in the program - so the customer got it as a PS script.
|
|
|
|
|
They'll be blocking/restricting access to it soon here.
|
|
|
|
|
glennPattonWork wrote: So Power Shell...basically Bash for MS?
Not that I have seen.
glennPattonWork wrote: gives proper access to previous commands like Doskey
I haven't had any problem creating scripts on windows that do basically the same thing that I do with bash scripts for quite a few years.
Same problems with both for example running programs that do not in fact return a non-zero exit code when there is an error. Or sometimes programs exist on one but not the other.
But perhaps just because I am not looking to automate the world with bash/dos scripts but rather just automate a bit of repetitive typing and get on with what I am actually supposed to be doing.
|
|
|
|
|
Humble Book Bundle: Computer Science by Mercury Learning (pay what you want and help charity)[^]
26 books on topics going from AI and Data Mining to 3D programming, OpenGL, Python, C, Photoshop and a kton of other things. 15 bucks. Take a look if you're interested!
Sorry for the spam-like message but I think it would be criminal to withold this information from the CP community.
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
|
Man, you seem Hyperactive!
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Yep, I follow the Hypertext protocol
|
|
|
|
|
A protocol droid!
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
This isn't the droid you're looking for, you can go about your business. Move along, move along.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
What, you think you're some kind of Jedi waving your hand around like that? And my stormtrooper helmet is at home, playing dust cover for my old computer's cassette tapes.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
They often have really nice offers. Sometimes a bit old stuff, but still good
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
So this is how publishers unload archaic books that they have warehouses full of. Well, at least I guess it sort of helps charity.
Latest Article - Web Frameworks - A Solution Looking for a Problem?
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
They are ebooks maybe they filld up /dev/null?
I know very little on most of these books so I took the chance.
Besides, my first response to books at 50 cents each is "buy them all, sort them later (if ever)".
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|