Tagged PowerShell

List AD group members when the group contains foreign security principals



This post describes how to get an Active Directory group's members when some of those members are foreign security principals -- in a different domain. Unfortunately, the standard Get-ADGroupMember cmdlet will fail under these circumstances. Fortunately, we can work around that with a little PowerShell magic.

Tagged as Windows PowerShell

Powercli Script to Unmount and Detach Datastores



A PowerShell/PowerCLI script to unmount and detach groups of datastores in VMware vCenter.

Tagged as VMware PowerCLI PowerShell

Automatically Load Custom PowerShell Functions



Want to automatically load your custom PowerShell functions when you open PowerShell? Using this system you can easily, and automatically, load your functions.

Tagged as PowerShell Functions Scripting Profile

Changing NTFS Security Permissions using PowerShell



Changing NTFS permissions with powershell saves a lot of time when you need to make changes to a large group of files or when it is required as part of a larger automation project. This article should help you understand everything you need to know to manipulate security permissions with PowerShell.

Tagged as PowerShell Windows Security NTFS