This post shows two functions to draw member trees. The functions are almost identical, a variation on a theme. The first shows group membership by following memberOf, the second shows members of a group by following member.
In both cases the functions are demonstrative; output is written using Write-Host and cannot be redirected to a file without changing that.
The code below allows creation of .NET enumerations in PowerShell without using Add-Type.
This function adds members to an instance of ADSystemInfo in an attempt to simplify use.
There are a number of WhoIs scripts knocking around, this is my version. Something of a long development cycle since I started this last year, got busy, then finished it today.
A friend of mine found this enormously useful, one of the things PowerShell can do easily that is (apparently) helpful for people who want nothing to do with it otherwise (where it may be either PowerShell or Windows).
Sorting an array of IP addresses is one of those things that’s not quite as clean and simple as would be nice.
I’ve been extended and upgrading my library of network functions for some time now, I thought I’d post the functions that work directly with my original collection.
A quick PowerShell 2 function for a Monday evening. A function to return properties from the WinNT provider, most commonly used to enumerate local group membership.
It’s been a while since I’ve posted, and since it’s almost Christmas I thought I’d better get on with it.
Without further ado I want to post NetShell (I’m not very good at coming up with imaginative names). NetShell is a collection of 17 functions and a few supporting functions in a script module.
After fixing a couple of authentication bugs with Set-DnsRecord and New-DnsRecord I decided to make an attempt to finish off some of the zone and server CmdLets.
The module now contains these additional CmdLets.
- Refresh-DnsZone – Implements the ForceRefresh method for Secondary Zones
- Reload-ADDnsZone – Implements the UpdateFromDS method for AD Integrated Zones
- Reset-DnsZoneType – Implements the ChangeZoneType method
- Set-DnsZoneTransfer – Implements the ResetSecondaries method
- Suspend-DnsZone – Implements the Pause method
As usual, the module can be downloaded from code.msdn.microsoft.com/dnsshell.