r/PowerShell • u/The-Dark-Jedi • Mar 30 '22
Why Microsoft, Why?
Just got off a support call with a MS Engineer. He shared with me that Microsoft is looking to get rid of PowerShell ISE in the next three to five years.
I swear they get together for beer on Friday and say "Hey, you want to know what will really piss people off?", then do it after a good hearty laugh.
591
u/DNRDIT Mar 30 '22
VSCode is the way
34
u/Formal-Sky1779 Mar 30 '22
I really love VSC! Specially when you customize the JSON file so you can for example browse through your code and run a single line of code with F8. Without clicking again on the editor, just use the arrow keys to navigate and hit F8 to run another line. The cursor is always in editor mode, even after a run. Great feature to me for debugging some pieces of code.
5
u/RodneyRabbit Mar 30 '22
I thought F8 was standard. It is standard in ISE, and I don't remember needing to configure it specifically for VSC.
F8 also runs highlighted blocks but what I really want is another function key to show the contents of a variable on the command line if the cursor is on that variable, without needing to highlight it and use F8.
→ More replies (8)→ More replies (3)19
u/amplex1337 Mar 30 '22
Lol, just like ISE but it's not included with the OS..
6
u/Abracadaver14 Mar 30 '22
Just like ISE used to be, until MS fucked that up in recent builds of Win10 and 2019...
→ More replies (1)112
u/jdtrouble Mar 30 '22
VSCode is an awesome replacement for ISE. I can't even use ISE anymore, it frustrates me.
50
u/tweaksource Mar 30 '22
Same. Haven't used ISE for years.
4
u/Sintek Mar 31 '22
I use ISE daily, it is light weight and needs basically 0 configuration to work, comes preinstalled on most windows systems. VScode is large, clunky, make sure you have all the right plugins and configurated, and if you change systems... good fucking luck you have to configure all over again..
→ More replies (1)33
u/topherhead Mar 30 '22
That's funny, I'm the opposite. I absolutely hate using vsc.
It's slow and clunky. Even if it's prettier it's just painful to use.
The intellisense is terrible. It likes to try and make your life easier by inserting code snippets when i really just want you to complete the fucking variable name etc.
I target PS7 and try to be cross platform the best i can and so i begrudgingly force myself to use it but I've never actually enjoyed it.
8
u/HeKis4 Mar 31 '22
When you try to complete [Param- and it pastes an entire parameter block instead of just "Parameter". Been there too...
14
→ More replies (12)2
u/jdtrouble Mar 31 '22
I've been having Intellisense just break for no good reason lately. There are two or three snippets I find useful, but only when I'm not using my template
→ More replies (1)2
u/HeKis4 Mar 31 '22
Same. It feels clunky and everytime I use it, I triple click something to select an entire line, a standard Microsoft set themselves and it doesn't work. If that doesn't work, I'm wondering how much weird stuff it does under the hood...
38
u/tangokilothefirst Mar 30 '22
it even has an ISE Mode that makes it look and feel and behave more like ISE, for those who really like ISE.
9
9
Mar 30 '22
More like ISE is key. There is still so many missing features or differences that I refuse to move over yet
7
u/lilbobbytbls Mar 30 '22
What is it that you would miss so much? Genuinely curious. I learned Powershell via vscode primarily and built some pretty complex things with it and never cared much about ISE so I'm interested.
→ More replies (23)23
u/psversiontable Mar 30 '22
VSCode isn't built into every Windows install.
I have to fart around with it before I can start doing anything.
I can hop onto anything that I'm trying to troubleshoot and have a very convenient place to run some commands.
The ISE isn't a good code editor, but it is a very good terminal because I can keep snippets of things that I'm working with right there where I can see them.
They're complimentary, not competitors.
→ More replies (8)6
u/Poncho_au Mar 31 '22
4
u/Sintek Mar 31 '22
I manage 1000's of machines that do not have internet access... =(
→ More replies (1)20
u/barjinx Mar 30 '22
It's nice but not up there with ISE when it comes to intellisense. Could just be me not being good enough with powershell and needing that.
18
u/marcdk217 Mar 30 '22
Yeah I use vscode most of the time now, but I really miss intellisense and autocomplete, it just doesn't seem to work in vscode. The amount of times I press tab and it just does a tab..
8
u/Tymanthius Mar 30 '22
What I miss most about ISE is when typing at the prompt how it will give a pop up for things. Like type get-aduser -id and you get the list!
12
u/BlackV Mar 30 '22
Or fills put a random function you didn't want, or won't autocomplete a parameter that's there but will others parameters
7
u/marcdk217 Mar 30 '22
Yeah I had to edit a fair few settings to stop it adding 20 lines of crap every time I press enter on a comment or something. I feel like a lot of those settings are things you should have to turn on, not turn off.
→ More replies (1)4
2
u/Fallingdamage Mar 30 '22
If Microsoft was smart (one can dream) they would just take the brains of ISE and integrate it into VSC so we dont have to install community plugins to accomplish what it should understand natively.
I mean, ISE is 208Kb. Couldnt they just put that code into VSC?
→ More replies (1)5
u/Fallingdamage Mar 30 '22
No. You're right. Its still better at PS than VSC is with every plugin you can find.
→ More replies (1)3
u/BigHandLittleSlap Mar 31 '22
I had a look at the PS plugin intellisense source. It's got hundreds of contributions from people that obviously just added some trivial thing in order to be able to say that they are "contributors" on the resume, or meet some internal Microsoft KPI.
The problem with this is that most of it is junk that should be deleted, but this would ruffle too many feathers, so it ain't happening.
19
4
u/mspax Mar 31 '22
VS code has been an ongoing nightmare for me. Half of the Azure powershell modules don't work properly in it. It's slow as hell if you import even a few too many modules. Plus the goddamn thing has to be restarted every couple hours if you want intellisense to work properly.
I certainly prefer working in vscode over ISE. It's just not as reliable.
3
5
u/boomer_tech Mar 30 '22
I dont agree, for sysadmins & exchange admins the ise is easy enough, vscode is imo designed for developers and has no obvious benefit. That said i prefer notepad++ given a choice
2
7
u/amplex1337 Mar 30 '22
Sure I'll just deploy vscode on every single server that I want to work on some PowerShell for..
9
Mar 30 '22
Why are you editing scripts on each of your production servers?
→ More replies (5)8
u/BlackV Mar 31 '22
I'm just gonna say it. you're 100% a liar if you say you've never edited a script on a server
there are use cases for everything, pssessions and invokes do not cover all things
→ More replies (4)4
u/bobbywaz Mar 30 '22
Yeah, just include vscode with every version of windows so I don't have to spend 20 mins installing it on very PC I want to write a 50 line script with.
→ More replies (1)3
u/Stalinnnnnnnnn Mar 30 '22 edited Mar 30 '22
If it came with every os build I’d agree, there’s something about troubleshooting a niece issue on a server and being able to script it out there and then then later just wrapping it in an invoke or it being lightweight enough to be used as a notepad with recovery
3
3
u/gaz2600 Mar 30 '22
I do light weight sys admin scripts, PS ISE is all I need, easy to use. Not looking forward to having to configure Visual Studio.
5
u/AspiringMILF Mar 30 '22
pretty much this. got a console pane and a code pane, tabs are nice. most importantly, ISE is always there.
vscode is great, and i use it , but i dont want the baseline ISE removed because i have the option to go download a different tool...
3
u/Nize Mar 30 '22
Vs code is different to visual studio itself. It's incredibly lightweight.
4
u/Fallingdamage Mar 30 '22
So lightweight maybe MS can just add it to windows when they remove ISE? I mean, I didnt ask for ISE when I installed Windows.. yet there it is - and im not complaining.
1
u/BitteringAgent Mar 30 '22
Yeah, honestly it makes good business sense for them to stop supporting PowerShell ISE with how PowerShell is now open source. If you are developing with PowerShell, you should be using something like VSCode anyway. Once the code is developed, it doesn't matter if the system has PowerShell ISE on it or not.
1
u/Fallingdamage Mar 30 '22
Its pretty good. Even with every powershell plugin known to man added to it, it still misses things that ISE catches.
Hopefully in 3-5 years it works perfectly.
Oh wait. I have an idea. Microsoft would add "ISE Mode' to the VSCode. haha
1
1
1
1
1
1
u/QuietusPlus Mar 31 '22
Yep, that artifact can go away. Vscode with the powershell plugin is the way forward. Pretty much every feature has been integrated, and I've been away for a while. Then there's all the other plugins that you can use with it.
1
1
u/shine_on Mar 30 '22
I'm still getting used to VSCode and it looks like I won't be able to avoid using it, but one thing that really puts me off is that there are just too many extensions available for it. Every time I go to a tutorial (either an article on the web or a youtube video) I'm being told to install a different extension, or to do something in a different way. It's just such a universal tool that I look at 10 tutorials and I'm being told six different ways of doing something. For someone getting on in years who's trying to keep up to date with new technology, it's an absolute nightmare.
→ More replies (1)-5
u/Big_Oven8562 Mar 30 '22
But it's unstable and clunky. Doesn't suit my purposes at all.
8
Mar 30 '22
It’s one of the most popular editors in the world. You can say you don’t prefer it, but to say it’s unstable and clunky while tens of millions of people use the product is just plain false.
→ More replies (1)6
u/ka-splam Mar 30 '22
Tens of millions of people use Teams and that's clunky as anything. Tens of millions of people used Windows in the bluescreen era.
Being popular is no proof of good design or stability.
→ More replies (2)0
Mar 30 '22
[deleted]
8
0
Mar 30 '22
[deleted]
26
u/amplex1337 Mar 30 '22
It's not development, I am fixing scripts and debugging problems in different environments and need it. Stop handwaving a very valid complaint for sysadmins
→ More replies (1)17
u/AlexHimself Mar 30 '22
You really shouldn't throw platitude out like that when it's so underthought.
I consult for TONS of enterprise-level companies and I'm on random servers all of the time and I need a PS console to sometimes develop a script, either in Prod or Non-Prod.
I can talk until I'm blue in the face about what the customer SHOULD be doing but the reality is their corporate management makes the decisions.
So it's easy to say "you shouldn't do that" and then just walk away, but that doesn't change the facts of many situations.
→ More replies (3)5
u/OPconfused Mar 31 '22
This thread has reminded me of how split the PS userbase is. It seems a lot of people have jobs where they have full control over every machine they run powershell in and are all in the same network. Of course theyd be oblivious to what its like when youre working otherwise, especially as consultants like we are on systems we have no control over, managed by people (in my case) who still open cmd over PS. The standardized built-in features of Windows are for me as a consultant the main advantage of working with Windows over Linux systems.
I guess its a testimony to how versatile PS is that it can bring together such a varied audience. I just hope MS has all users in mind and aims to eventually make these features including core, a complete ISE, functioning TLS settings, and PSGet, native to a windows installation one day.
27
u/RupeThereItIs Mar 30 '22
Powershell is a shell, remember.
Writing scripts on a server isn't unheard of.
→ More replies (22)5
u/AmericanGeezus Mar 30 '22
Can confirm without shame
Have done
While ($true){}Loops to adhoc monitor a server during troubleshooting, deployments, etc.
8
u/kohijones Mar 30 '22
It's on all my T0/T1/T2 jump boxes by default. The only way for support to do their work. Infosec would never approve installing vscode with its extension model (and I don't blame them).
11
u/BlackV Mar 30 '22
The feck you shouldn't. Not all things work through remotely, sometimes getting a deserialized object is counter productive, especially when testing or designing
→ More replies (7)7
u/computerbob Mar 30 '22
In some environments (like mine), there is no direct access from any workstation to any server. PS Remoting is disabled for security reasons and the ONLY way to manage our servers is INSIDE the server environment.
Not everyone has everything wide open to allow everything.
I haven't been able to run a script on my desktop in about 4 years.
31
u/SteveL_Msft Software Engineering Manager, PowerShell Mar 30 '22
I just talked to the actual software engineers who own ISE and he assures me that this rumor is false. There are no plans to get rid of ISE.
7
u/shunny14 Mar 31 '22
jokingly But did you talk to their managers?
6
u/SteveL_Msft Software Engineering Manager, PowerShell Mar 31 '22
Their manager was also on the thread
2
2
u/BigHandLittleSlap Mar 31 '22
When was the last time ISE got a new feature?
… exactly.
8
u/SteveL_Msft Software Engineering Manager, PowerShell Mar 31 '22
That's different than the rumor of this thread which is ISE was getting removed which it is not. We (Microsoft) have consistently said that Windows PowerShell and ISE are not in active development and only taking critical security fixes, however, they are also not being removed.
Active development IS happening in VSCode and PowerShell 7.
26
u/mc12345678 Mar 30 '22
Yes, this has been broadly discussed since PS 6 / Vs Code.
3 years may be ambitious however. There are still a ton of dependencies on "Windows" PowerShell (aka v 5.1) and until those are addressed, it doesn't do much good to peel out ISE for no real reason.
11
u/Owlstorm Mar 30 '22
Windows still ships with 5.1.
5.1 can be assumed to be on every windows machine, in a way that isn't going to be the case with 7 for at least another ten years.
2
3
u/Analytiks Mar 31 '22
Hey brother, the ps6 switch and vs code switch are 2 different things.
You can use vscode with any powershell (in fact I think it defaults to 5 even after installing 6-7).
Going from ise to vscode is the same sort of jump as going from console to ise
→ More replies (5)
57
u/Thotaz Mar 30 '22
Support engineers don't know what the different product teams are actually planning, and even if they did they wouldn't be allowed to talk about it without an official announcement.
Microsoft hasn't said that they'll remove ISE, but they have said it won't get any more updates just like Windows PowerShell also won't get any more updates. Their focus is on the open source PowerShell version and their recommended editor solution for that is VS code and the PowerShell extension.
If you want to continue using ISE with this knowledge then there's nothing wrong with that, it's still an excellent product.
26
u/ExceptionEX Mar 30 '22
Note The PowerShell ISE is no longer in active feature development. As a shipping component of Windows, it continues to be officially supported for security and high-priority servicing fixes. We currently have no plans to remove the ISE from Windows.
There is no support for the ISE in PowerShell v6 and beyond. Users looking for replacement for the ISE should use Visual Studio Code with the PowerShell Extension.
So I agree with you that there is no official notice, but it's pretty clear this the end is nigh. And it not recommended to keep using the product.
→ More replies (1)4
u/PinchesTheCrab Mar 30 '22
It ships with windows and thus will receive security updates with the version of Server it's installed on. When ISE stop getting security updates it'll be because your entire OS is no longer supporetd anyway.
3
u/ExceptionEX Mar 30 '22
In my original post
... As a shipping component of Windows, it continues to be officially supported for security and high-priority servicing fixes. We currently have no plans to remove the ISE from Windows
Thought this statement made that pretty clear.
With that said security updates isn't the metric of a viable product, ISE has no support or compatibility past v5.
So sure you could continue to use the product that will keep you trapped in an older version of powershell. And as you may have noticed many modules are dropping compatibility with v5.
I mean you can still buy movies dvd but would you consider a viable method going forward for distribution?
This seems like an odd hill to die on, I think we can all agree ISE is not the way forward, and it's time to start considering alternatives.
1
u/Fallingdamage Mar 30 '22
just like Windows PowerShell also won't get any more updates.
Odd, didnt they just release a newer version of 7?
2
u/Thotaz Mar 30 '22
Windows PowerShell is not the same as PowerShell, see this: https://docs.microsoft.com/en-us/powershell/scripting/whats-new/differences-from-windows-powershell?#product-terminology-used-in-the-documentation
2
u/BlackV Mar 31 '22
thats Powershell (6/7 i.e. dotnet core), not Windows Powershell (5.1 i.e. dotnet desktop)
36
u/Difficult-Ad7476 Mar 30 '22
Just install VScode and the 8 million plugins that break every 5 minutes
11
u/dathar Mar 30 '22
That's why I use a small of plugins.
PowerShell because PowerShell
Rainbow CSV because reading a long CSV makes you cross your eyes
indent-rainbow because it is hella helpful for things like yaml files
Rainbow brackets because it helps me find where all sorts of brackets are closed beyond the square that it puts over when you're in that block
Never breaks. My development machine has a few more (Python, C#, Hex Editor, Jupyter, YAML) and that hasn't had any issues yet. You might want to find the offending plugins and uninstall them.
3
u/WendoNZ Mar 30 '22
indent-rainbow because it is hella helpful for things like yaml files
Rainbow brackets because it helps me find where all sorts of brackets are closed beyond the square that it puts over when you're in that block
These two are built in now I believe
→ More replies (2)16
u/kibje Mar 30 '22
Or just install the 3 that you need for Powershell instead of installing everything that you can find.
5
u/davesbrown Mar 30 '22
Since this is a powershell forum, I was going to suggest only really need 1, what other 2 are you suggesting?
→ More replies (4)0
2
u/thingandstuff Mar 31 '22
I haven't opened it today. Is intelisense working or should I just avoid VS Code until tomorrow? /s
2
u/BlackV Mar 30 '22
How about git lens the other day
hey guys were just going to install this random other plugin, without asking, without letting you know we're going to make the plugin a dependency ahead of time, hey thanks guys, btw buy our stuff.
Oh fu buddy, fu
3
u/Difficult-Ad7476 Mar 30 '22
Right and then we have to support pushing that and deal with snowflake devs.
3
u/BlackV Mar 30 '22
To their credit they walked back the change and made it not a dependency any more, but I shouldn't have happened.
It would have been just as easy to write a change that checks if you're in Russia and deleted all your code....... cough
1
u/Fallingdamage Mar 30 '22
Maybe microsoft can add a 'ISE Mode' to VS Code.
2
u/Difficult-Ad7476 Mar 30 '22
I tried that its not the same. Feels like visual studio
→ More replies (1)-2
u/Big_Oven8562 Mar 30 '22
Exactly.
I don't understand people's infatuation with VScode. It's completely unreliable.
7
Mar 30 '22
I haven't had a crash in a very long time, years. Maybe your system is the unreliable part? I have it on my personal and work computer with the same settings and no problem.
→ More replies (1)4
3
5
u/jnson324 Mar 30 '22
VSCode definately won the code editor battle, and it tremendously popular. ISE devs should just go work on VScode.
5
4
u/Artaois Mar 30 '22
Ise doesn't work with PowerShell 7 AFAIK. Don't think it's a big secret they're discontinuing that function.
4
u/jsnover Inventor of PowerShell Mar 31 '22
We monitor usage. We only get rid of things when usage is very low.
We “deprecated” CMD.exe like 17+ years ago but keep shipping it because people keep using it.
1
u/gangstanthony Mar 31 '22
Hey, Jeff! Hope you're doing well these days. What's your ideal setup for scripting?
3
u/jsnover Inventor of PowerShell Mar 31 '22
I love ISE but most days I'm doing more than PowerShell so I use VSCode.
If you are an ISE user I would NOT be worried.→ More replies (1)
7
u/LunacyNow Mar 30 '22
This has been known for several years. Start doing everything in VS Code. There's a bit a learning curve but it's worth it. The alternative is being forced to learn it when ISE stops working.
6
u/uptimefordays Mar 30 '22
Not new news mate, ISE has been deprecated for years and the suggestion has been and remains "use VSCode."
On the flip side, VSCode is great!
6
u/eagle6705 Mar 30 '22
probably going to get thrown into vscode.........but ISE is so useful.
BTW i hope they get a replacement and don't do a vmware converter and say hey we don't support this anymore and no we don't have any othe roptions
3
Mar 30 '22
I mostly write my scripts in notepad++ and just keep a shell window open for debugging
Like a child
3
3
u/dunningkrugernarwhal Mar 31 '22
The ISE is awful now that we all use vscode. I hate it when I’m forced to use the ISE
3
3
u/Icolan Mar 31 '22
I thought everyone knew this. M$ has been focusing on VSCode for a while now, it is a far superior product.
2
u/dextersgenius Mar 31 '22
It may be superior in some ways, but it's also inferior in others (eg: compared to the Intellisense / drop-down autocomplete in ISE, plus memory usage - VSCode can easily chew gigs of RAM, not to mention - Electron sucks).
In fact I wouldn't even compare the two, because it's like comparing Notepad to Word. Sure, Word is a superior product, but I don't want to fire up Word every time I want to edit a simple text file, I definitely do not want to replace Notepad with Word, and I definitely do not want to install Word on all our servers.
→ More replies (6)
8
u/AlexHimself Mar 30 '22
This can only work if VSCode comes bundled with Windows Server OS's.
There is no way I can just randomly download/install it on a myriad of servers over and over. There can be so much red-tape with installing a program AND it would be ripe for MITM attacks.
0
Mar 30 '22
[deleted]
4
u/AlexHimself Mar 30 '22
They're useful tools to write the scripts. Debugging.
Why don't people build websites using notepad.exe?
→ More replies (6)
9
u/Cparks96 Mar 30 '22
I guess my question is…why is this a bad thing?
29
u/Emiroda Mar 30 '22
ISE is built into the OS on Windows and Windows Server, very often pointed out as the main reason people use it
Visual Studio Code is not built into the OS
VSCode needs manual setup to run PowerShell code
I'm a VSCode guy and has been for 5 years, I think VSCode is far superior to ISE. But being able to RDP into a server and run ISE is very important to many admins.
I'll also admit that as a consultant, I can't ever rely on my customers to give me good tooling when working on their servers. Sometimes I need to do some live debugging, where pasting from notepad is a pain. That's where I see the utility in ISE.
→ More replies (10)5
u/feldrim Mar 30 '22
VSCode with its current state, is a Swiss army knife for development. It's not an exact replacement for ISE. I worked with Exchange and SharePoint a lot, and they create a lot of headache with PS Remoting. ISE with its current state is "just enough" for administration.
4
u/Bocephus677 Mar 30 '22
As far as I’m concerned ISE was deprecated 3-5 years ago when I discovered VSCode. Also, Microsoft said quite a while ago that they were no longer enhancing ISE in favor of VSCode.
2
2
u/Lawrencerocks Mar 30 '22
Hi, noobie here, is it worth it for me to spend time learning Power shell, or should I focus more on VsCode? I'm just getting into I.t and I'm quite overwhelmed with everything..
2
u/NoConfidence_2192 Mar 30 '22
If you're doing (or looking to do) SysAdmin type work flexibility is key (learn as many different ways to do things as possible). I usually encourage new SysAdmins to do their best to, at a minimum, learn how to do using GUI tools (ADUC for example), command (or commandlet) execution from the appropriate shell (cmd/pwsh/powershell - Terminals/Windows Terminal can work where available), and Automation scripts (PowerShell if mostly a Windows shop), with strong emphasis on scripting. VS.Code can be a good for developing PowerShell scripts but do not get comfortable relying on any 1 tool. There will be times that you will have to rely on plain text editors like notepad to write/modify scripts that will get a particular task done so practice being able to do the job without and ISE/IDE as well. While most of my script writing (PowerShell, Python, C#, F#) is done using VS.Code I also use Atom, Notepad, Sublime, Notepad++, Visual Studio for PowerShell, and very rarely PowerShell ISE (and more rarely VIM) just to keep my options open. You never can tell when your favorite tool for getting things done may be unavailable so knowing multiple ways to get things done along with how to use multiple tools will help ensure you can adapt and overcome. Flexibility is key. Good luck and have fun with it.
→ More replies (1)0
2
u/RootHouston Mar 30 '22
"Hey, you want to know what will really piss people off?"
I say this as a vintage computer collector that loves old tech. I find it really often with Microsoft users altogether. You've really got to check out what the company is doing in the NOW, not a decade ago. It's really decent stuff sometimes.
2
2
Mar 31 '22
And? Vscode has been the way they are pushing. Why do you still care about a product that can't handle the latest versions of PowerShell?
2
u/BaconTentacles Mar 31 '22
By the time I got around to actually using ISE, it was no longer supported and they recommended VS Code with the PowerShell extension. Which frustrated me at first, because I had issues with it, but it gets updated monthly, and honestly is pretty freaking awesome. So...yeah, what ISE?
2
u/Admin-AF Mar 31 '22
VS Code > PowerShell ISE. Give it a shot.
I got started with Code because of one feature. I had started working with a lot of scripts and writing my own custom PowerShell modules. I needed to be able to see the file structure and switch and and forth between files quickly. VS Code had the file explorer pane that ISE does not (for some reason). I’ve never looked back.
Yes it’s something new to figure out. You’ll pick it up quickly. It is just another file editor. Like a Microsoft branded Notepad++. But it is so much more.
Like ISE I like that it also hosts a PowerShell console. It can host multiple PS consoles that you can switch between. That’s nice. It can run some of those consoles in Windows PowerShell 5.1 and PowerShell 7 at the same time. Pretty cool.
First thing add the PowerShell extension. Don’t get turned off if it feels “developery” to you. All these extensions is what makes it so helpful. Plus with stuff like Infrastructure-as-code and ARM templates and Terraform files, our jobs are looking more like a developer anyway. And extensions make all those things easy. Figure out how to setup Git and commit and push files to a remote repository of your Azure ARM templates? Bah humbug. Install the extensions and Code takes care of it for you.
But I leave you with two words: File explorer
2
u/DarrenDK Mar 31 '22
If I could press tab to fix variables in VS Code I’d stop using ISE.
If ISE formatted my code, supported Ctrl+click definition navigation and supported Ctrl+F2 variable renames, I’d stop using VS Code
2
u/SpacezCowboy Mar 31 '22
Change these settings if you want tab completion instead of snippets.
"editor.snippetSuggestions": "none",
"editor.suggest.showSnippets": false,
"editor.tabCompletion": "on",
→ More replies (2)
2
Mar 31 '22
I will definitely miss ISE. I can't install VSC in my environment and all the scripts I send out have to be edited by non-tech people before use. That means walking them through edits on the phone. It's rough but at least intellesense makes it possible for me to reduce typos when they're doing it.
2
2
u/ninjaRoundHouseKick Mar 31 '22
Doesn't Matter id it's an Beefy Thinkpad with i7 and 16GB RAM, an Surface Book i7 with Performance Base or my 64 Core Terminal Server where i am just the only loged in user. A small delay while typing. Debugging is okay, but i hate to use it to write something. So, newer computer can't be the thing.
2
2
u/AGFFATC Mar 31 '22
I worked for MS for 7 years. The product Teams do what they want in a bubble and announce it. The internal teams of support a very vocal about when this happens.
2
2
u/mafriese Apr 01 '22
"There are no plans to update the ISE with new features. In the latest versions of Windows 10 or Windows Server 2019 and higher, the ISE is now a user-uninstallable feature. There are no plans to permanently remove the ISE. The PowerShell Team and its partners are focused on improving the scripting experience in the PowerShell extension for Visual Studio Code."
2
u/Zer0kbps_779 Apr 01 '22
Ise with a black theme, life is grand, don’t know what ms are thinking. Posh is supposed to be a light touch powerful tool that’s easy to access and easily available. Having ise on a standard install makes life bliss. I’m no hardcore programmer but I’ve done some pretty cool stuff with posh and ise. It’s like a swiss army knife and vsc is like a hammer
2
u/Boilerplate4U Apr 06 '22
What I like about ISE is the ability to open multiple PS sessions, each with its own tabs. Is that even possible using VS Code?
6
u/tetrastructuralmind Mar 30 '22
ISE has nothing that VSCode can't do better.
10
u/shadofx Mar 30 '22
What about
$psise.PowerShellTabs.Add()?5
u/tetrastructuralmind Mar 30 '22
Lmfao if I had an award to give out, you'd have it.
2
u/shadofx Mar 30 '22
I have several labyrinthine scripts which scan across multiple servers, to detect issues on specific systems and then open new tabs for those specific servers and run Get-EventLog... Then I can quickly cross-check across those servers and perform follow up actions immediately without having to juggle PSSessions :D
→ More replies (5)3
u/psversiontable Mar 31 '22
I love Code as an editor, but it's still got flaws.
A very large one being that I have to install it and then goof around to get Powershell "working" (autocomplete still sucks in Code).
Sometimes, I just want a fancy terminal that's already installed on everything I have to touch and the ISE is great for that.
4
1
4
u/Cheftyler1980 Mar 30 '22
They stopped developing it ages ago. Embrace VSCode.
2
u/Fallingdamage Mar 30 '22
I wish MS would. I mean, if VS Code is the future, why are 3rd parties creating PS plugins for it in order to make it work right? Shouldnt VSC support Powershell natively?.. you know.. since thats the answer?
→ More replies (1)
3
Mar 30 '22
People still actually use ISE‽
I'll grant it's got better than the early days when it was just unusably slow. But it's still nowhere near VS Code.
2
2
Mar 30 '22
The ISE ended its life as a very useful tool so I can see why some people still use it.
But the fact is VS Code is significantly better in just about every metric.
There's no reason not to use VS Code.
→ More replies (1)1
2
u/Adeel_ Mar 30 '22
VScode is still buggy, mine crash dozen of times and its not stable at all…
5
u/drwtsn32 Mar 30 '22
Have you installed a lot of extensions or something? It's always been rock solid for me. I don't install many extensions.
→ More replies (4)
2
1
u/2021redditusername Mar 30 '22
People still use PowerShell ISE? lol
7
u/Tymanthius Mar 30 '22
For my servers it's great b/c I can easily copy/paste my tested code into editor portion and then do either F5 or F8 if it's different chunks.
And I don't have to install anything else, it's just there.
→ More replies (8)8
u/GaveYouBass Mar 30 '22
Exactly this. And no buggy bloated interface, or compliance issues, cos ISE doesn’t get flagged by cyber security (which i do find weird)
2
Mar 30 '22
You wouldn’t believe the unwillingness of people to adapt even if there were better alternatives
1
u/krispras029 Mar 30 '22
This is not true. There is no such plan to get rid of ISE. This link clearly states the support policy. https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/ise/introducing-the-windows-powershell-ise?view=powershell-7.2
"The PowerShell ISE is no longer in active feature development. As a shipping component of Windows, it continues to be officially supported for security and high-priority servicing fixes. We currently have no plans to remove the ISE from Windows.
There is no support for the ISE in PowerShell v6 and beyond. Users looking for replacement for the ISE should use Visual Studio Code with the PowerShell Extension"
1
u/elduderino197 Mar 31 '22
I’m just learning about writing scripts. Python Is far better from what I see so far
1
Mar 30 '22
ISE integrates with Windows Powershell (aka version 5.1, the non-cross platform one) and VS code uses the version 7+ (cross-platform). I’m not saying that’s a reason for removing it, I still use the ISE because VS Code gets cluttered with extensions, but a lot of new modules aren’t compatible with version 5.1. I also doubt they will “get rid of it”, maybe they will stop releasing modules for 5.1 or just release a new ISE that is independent of VS Code and integrates with 7+ (that’s my hope). You also have to consider Powershell being a great attack vector for hackers so wanting to remove one version and remove the chance of somebody exploiting an old, outdated module on PS 5 is a viable reason. All that to say, if they remove the ISE, yes they will piss a lot people off.
2
u/RootHouston Mar 30 '22
a lot of new modules aren’t compatible with version 5.1
If someone is making a new module today, and it isn't compatible with PowerShell 7+, then they are wasting their time for the most part.
→ More replies (1)2
u/zoredache Mar 31 '22
I still use the ISE because VS Code gets cluttered with extensions,
If you have lots of extension for lots of languages and so on you can disable globally, and enable them per workspace.
→ More replies (1)
1
u/Cloud_Strifeeee Mar 30 '22
everything is going to be automated managed in pre configured iso image in the cloud etc kubernetes and all that with containers real old sysadmin task are becoming obsolete by the day more and more etc I wonder even if scripting will be reduced too... will be useful the 1st time you configure your stuffs after everything can be pushed tru IAC with dev etc
1
1
u/badbob001 Mar 31 '22
As far as I'm concerned, they left ISE broken with the last update: pressing F8 to run selected code will shift the input focus to the output pane, meaning you have to use the mouse to click back to the code pane to return keyboard focus to their. This makes it hard to run code one line at a time (F8, down arrow, F8, down arrow, etc).
I tried VS Code but was turned off when I couldn't figure out how to change the column selection to match ISE or even Notepad++ (ALT+SHIFT + arrow keys). In VS COde, it's ALT+SHIFT + MOUSE! Who edits code with a mouse?
1
1
1
1
u/AlexMelillo Mar 31 '22
Everyone here is taking about VS code. The stories are true brother. Give it a try and you’ll never go back
2
u/jerrymac12 Mar 31 '22
As someone who's gone back to ISE about a dozen times after trying VSCode....tell me what I'm missing?
I have found tab completion doesn't work as well, had typing delays, color schemes make things harder to see sometimes, fonts are less clear, terminal window crashes on me. I want to vscode but keep going back to ISE at the end of the day.
1
u/dragzo0o0 Mar 31 '22
yeah, did a PS course about 5 years ago and the MS guy running it said that was the long term plan.
1
1
u/bacon-wrapped-steak Mar 31 '22
Why would you use ISE for PowerShell? I literally cannot remember the last time I even launched that program, and I even use Windows 11 Insider Preview on my workstation.
Get with the times. Use VSCode.
1
u/h4ppyninja Mar 31 '22
yeah new Powershell is available in the store. Do you really need an ISE though? When theres VSCode, Notepad++, Sublime text and Atom text.
1
u/xxhappyhandsxx Mar 31 '22
I moved from ISE to VSC about a year ago. I found there was a quick learning curve but it was worth shifting in the end. Really like how well it integrates with versioning.
1
u/nostradamefrus Mar 31 '22
Felt the same way when I was testing out Win11 and saw it wasn’t available. Installed VSCode and fell in love. Still using VSC over ISE after reimaging my laptop back to Win10
1
u/Trini_Vix7 Mar 31 '22
My lead feels the same way about Active Directory Admin Center. He said WHY and a bunch of others expletives lol
1
u/x3n3tix Mar 31 '22
Honestly I loved ISE and even while using VSCode for some time for other work, I kept going back to ISE for building and testing my PS scripts. However these days VSCode has be come so robust and the Intellisense engine is much better now that I don't even need to use the function browser in ISE anymore, I have only used ISE once in a while to quickly open it as Admin for certain scripts I want to quickly test and then close it, otherwise it's been collecting dust.
PowerShell for VSCode does have a function to change the layout a little to enable ISE-like features (although the command explorer is not as good as proper ISE as it doesn't have the gui for showing all options, it does at least have a nice quick search feature like VSCode's file explorer search and it does have a button to show you the PSHelp output for hte command in the console).
1
u/BytchYouThought Apr 02 '22
It's due to VScode. Easier to maintain one app vs two. You can download ISE modules and honestly if you have ever messed around with more than just powerhshell as a language It's honestly a pretty decent tool. Easy to download across multiple OS'es anf if you're doing sysadmin tasks I recommend learning python and Json at minimum as a ton of tool utilize and will be utilizing into the future.
VScode is honestly way more flexible and isn't a bad product. They could work on the intellisense a bit better, but between writing scripts, making more advanced tools, and error handling/debugging etc. it makes it alot easier to manage and it's still free. You can also utilize scripts and code in your github so it's easy to pull things down. I actually prefer it for most things outside of powershell, but don't mind it for pwshell either overall.
1
u/dextersgenius Apr 03 '22
Unfortunately it's not built into the OS unlike ISE, which makes it difficult, if not impossible, to justify installing it on certain secure environments like ours. We're an MSP and manage several isolated and secure client environments, and installing ISE across all of them will be a uphill task as it'll require six levels of approvals, which is a PITA (not to mention the hassle of manually packaging and pushing out updates for it).
→ More replies (1)
0
u/panzerbjrn Mar 30 '22
PowerShell ISE was always awful. Notepad++ was always better...
11
u/Hrambert Mar 30 '22
As an editor maybe yes. But ISE is great to look up commandlets and their parameters.
9
1
u/BigRedditPlays Mar 30 '22
VsCode takes a good 60 seconds (not exaggeration) to open for me, not sure why. ISE opens in 1 second.
13
u/anditails Mar 30 '22
Strange. I have the opposite. ISE seems to stick on that ancient looking splash screen for ages, whereas VSCode just opens...
→ More replies (2)2
Mar 30 '22
2 seconds here for vs code. Check that you aren't loading a bunch of things
→ More replies (4)2
u/Tymanthius Mar 30 '22
Yes, VSCode is super slow to give me a working PS prompt. Annoying, but not terrible.
1
1
0
u/F0rkbombz Mar 30 '22
Probably b/c the ISE is inferior to VS Code.
2
u/Fallingdamage Mar 30 '22
It does have a superiority. Its part of windows. Too bad ms cant figure out how to do that with a modern editor. I know some things are highly complex and they struggle to even keep Teams from crashing but...
2
u/FlattusBlastus Mar 30 '22
Did they say what they were replacing it with?