I’m a PLC-programmer (structured text language) for industrial machines and I have little experiance with C#.
And now I would like to wirte my first powershell-script.
What do I need? Is PowerShell ISE the developer enviroment that I have to use for this?
I would like have script doing following:
Checking folders and subfolders for any content/files and when they are empty, signe a diffrent folder-icon to it.
Why you ask? Because we use certain folder-structions for instance projects. And each project has diffren size and diffrent documents. but we would like to use always the same folder-struction.
This sounds like a perfect starter project for PowerShell. Since it sounds like you’re just starting out, I have a couple of recommendations for you.
First, I recommend checking out VSCode as your development environment. This gives you the capability to leverage PowerShell 7 instead of the older PowerShell 5 that comes with Windows, and will set you up for when you’re ready for more advanced capabilities.
Second is to install PowerShell 7 and use that, as it gives you the latest features.
And finally, this forum is a great place to ask your questions. Write something, give it a try, post your code. We are all happy to help you troubleshoot or make improvements.
How about spending some effort yourself and figure things out by yourself?
It would have taken you probably less than a minute to use your prefered internet search engine and see for yourself.