PowerShell for Admins

PowerShell for Admins
Mark Roloff
PowerShell for Admins

PowerShell Summit: A First Time Experience

It’s been a few weeks since Summit and I feel like my mind has finally started to settle from all of the ideas that I came back with. Plus, being away from home for a week means I had a lot of domestic work and daddy time to catch up on. When Will asked for volunteers to write about their first time experience, I decided to see if I could offer my take on the matter considering gulf between what I expected to get and what I ended up getting.

Mark Roloff
PowerShell for Admins

ICYMI: PowerShell Week of 17-May-2019

Topics include working with the Graph API, Chocolatey, jazzing up your functions with pipeline support, and shrinking VMDKs. Special thanks to Robin Dadswell, Prasoon Karunan V, and Mark Roloff. How to shrink VMDK with a couple of PowerShell scripts? by Kevin Soltow on May 8th Not just a set of useful scripts for anyone still working in a space-constrained environment, but a great bit of interesting detail has also gone into this.

Mark Roloff
PowerShell for Admins

ICYMI: PowerShell Week of 10-May-2019

Topics include PowerShell Summit, finding account lockouts, certs, and learning PS via Pester. Content curated by Robin Dadswell, Prasoon Karunan, and Mark Roloff. Takeaways from the PowerShell + DevOps Global Summit 2019 by Matt Bobke on May 2nd If you couldn’t make it to Summit, fret not! While waiting for videos you can read about it from attendees, like Matt, whom participated in the OnRamp track. Execute a script block accepting pipeline input and show your progress by Yves Rosius on May 5th

pwshliquori
PowerShell for Admins

Find-Module, Find-Script – Don't Recreate the Wheel

The PowerShell Gallery is a collection of modules and scripts that is community driven to help us automate everyday tasks. Sometimes, we have an idea that could written into a function or script, however, most of the time, someone else had the same idea and published their work to the PowerShell Gallery. There is no need to recreate the wheel and re-write it, use the community to our advantage. We’ll take a look at multiple Cmdlets,

Mark Roloff
PowerShell for Admins

Phenomenal number of ACLs, itty-bitty living space

I recently had a need to backup file and folder ACLs for a client that would then need to restore them to their original objects following a hardware upgrade that would wipe them out. Easy enough, but the catch was that there was 1.5 million of them. Fortunately, getting ACLs in PowerShell is easy. `PS > Get-Acl -Path somefile.txt Directory: C: Path Owner Access somefile.txt BUILTIN\Administrators BUILTIN\Administrators Allow… `See? Now, if you needed multiple ACLs, say, all 1.