JSON, feedback, empty folders, Group Policies, max functions
Events
- PSConf.eu miniconf in London October 4th, details can be found here.
Snippets
PowerShell Feedback Adapter Provider
The PowerShell engineering team at Microsoft recently released an update on this pice. If you need to convert native commands (bash/zsh) output to PowerShell JSON objects – read here for more.
Search and delete empty folders on the filesystem
Patricks little onliners seem to get legendary. Always between – „wow such a short blog“ and „pretty useful“, this time his code does exactly what the headline says. Read more here. (ATTENTION, empty folders will be deleted finally if you try this out.)
Find enabled local group policy settings
When group policies where introduced with Active Directory, people quickly figured out they where curse and blessing at the same time. Wolfgang Sommergut wrote a blog about finding local settings with rsop.msc and PowerShell, to get more light into the darkness of the real effect on the local machine.
Error: Function cannot be created because function capacity 4096 has been exceeded
This error message sounds weird, and it is a rare one. Przemyslaw Klys experienced this error message and did a deeper dive on it in this blogpost. Read this if you operate with long-running scripts and have a lot of functions and variables.
PS: This seems to be a Windows PowerShell problem only, on PowerShell Core a lot of thise limitations are gone.
Have a nice September / R.
Thanks to Tijs van Leur on Unsplash for the picture