Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerTip: Get the Notes field when accessing users or groups in Active Directory

Summary: Use the Active Directory Module to get the information from the “Notes” field. (image)  I’m trying to find the Active Directory property to use to access the Notes field when I’m viewing a user or a group. Could you lend me a hand? (image) No problem at all. The property you are looking for is and can be added when you use...

PowerTip: Get a list of local Users in Windows 10 / Windows Server 2016

Summary: Use the cmdlets provided in PowerShell 5.1 to manage local user accounts on a system. (image) I remember having to use the Active Directory Service Interfaces (ADSI) accelerator to access a list of local users in PowerShell. Is there a cmdlet that could do this now? (image) Yes.  In the most recent version of Windows 10 / Windows ...