Mark Roloff

Explore articles and content from this author

Mark Roloff

35 articles published

2 min read

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

3 min read

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.5 million of them on a file share, you could use Get-ChildItem to feed files and folders to Get-Acl. But then what? Export-Clixml is a generally great way to convert a PowerShell object to XML and save it to file.