Profilephoto_large

Paul DeArment Jr

ADWS Default Limit

5k really is not that many Microsoft

A little hiccup that seems to keep coming up for people I talk to and work with is the default limit of 5000 objects returned by Active Directory Web Services for three key commands - Get-ADGroupMember, Get-ADPrincipalGroupMembership, and Get-ADAccountAuthorizationGroup. While an error is thrown - these commands are in fact not broken. . . .

Read More

August 17, 2018

Default Parameters

Save a few headaches

I was recently asked by a co-worker to review a script they were working on. The script involved updating and validating user accounts in Active Directory. The environment I work in has a multitude of AD servers which the cmdlets could run against, and I offered the suggestion that either each of the commands be ran against the same AD server . . .

Read More

May 05, 2018

Pass Objects To EXEs created with Sapien PowerShell Studio

A few years ago I was involved in a project my job at that time to create a support panel for the service desk. This panel needed to be able to perform certain tasks in the environment, and be able to work on PowerShell versions 3 through 5. The users who would be running these utilities also did not have administrative permissions on the . . .

Read More

Posted in: powershellsapien

May 01, 2018

Get-ACL and ListOnly Permissions

The following is more of a selfish post.It serves mostly as documentation of an issue encountered at work recently - one that I want to be able to just look up for a refresher and not have to google when my brain isn't working.
A coworker of mine was recently tasked with providing one of our client's a list of the ACLs on their . . .

Read More

May 02, 2016

Powershell Long File Paths

Unfortunately working in the tech world, you sometimes come across things that make you just scratch your head and go “huh?”. These head scratching moments typically are dumb restrictions in current operating systems which are a result of past decisions, and these limitations no longer have a reason to be present. But in the name of . . .

Read More

Posted in: powershell

April 07, 2016

Archive