Report all domain controllers in current domain and trusted domains with powershell

I recently had need to come up with a way to document large chunks of our active directory environment. i came up with the below script. It gets all direct trusts then gets domain controller information for each DC in the trusted domains.

If a domain doesn’t have web services enabled or isn’t reachable, it just records the domain name with empty values.

Right now it’s gathering Domain, server name, global catalog status, IPV4 address, IPV6 address, site, OS, and service pack for all reachable DCs.

 

 

Gnome 3 on Debian 8: How to change show hidden files setting to default to hiding hidden files

I recently started playing around with Debian 8 with gnome 3 as a desktop at work and ran into an annoyance. Somehow, either by default or by some unrealized action on my part, “show hidden files” in the file manager was set to always show hidden files by default. To change the default behavior do the following.

  1. Open dconf Editor
  2. Navigate to: org.gtk.Settings.FileChooser
  3. Change “show-hidden” desired value
  4. Click “Set to Default”

I unchecked the setting and now my file manager hides all the clutter I don’t need to see under normal circumstances.

List all SharePoint Farm servers and IPs

Not much to see here. I just had need of simply listing all the server names and IPs for all servers in a farm.

The script gets all SharePoint application servers in the farm. Then iterates through them and tests if they are live. The test-connection is simply to get the IP address of the server. The name of the server and the IP address are thrown into a custom object. Then the report is called.

 

Project: Exchange Upgrade Assistant

So a while back i started familiarizing myself with C#. I needed something relatively easy to do to get back into it. So I decided on an application that checks the status of exchange and the installed version. I thought it might be kinda nice to have something like that for Exchange patching so I know when a server is responding again after a reboot and if it’s reporting the correct version.

Yeah I know you can do the same thing with powershell and a ping command, but this was a learning experience for me.

The application is pretty simple. You run it on any domain joined machine in the same forest where exchange is installed. You can either click the Get Installed Version or Check status buttons to get all the exchange servers and their installed versions or also get the status respectively.

You don’t need to tell the app anything since it gets its server name and version information directly from the AD configuration.

ExchangeUpgradeAssistant

Since this was a learning experience I posted this to github in case anyone wants to take a look at the code. Keep in mind I’m a noob. :)

https://github.com/tupcakes/ExchangeUpgradeAssistant.git

Or you can download the exe directly from the releases.

 

 

SharePoint, Exchange and other things.

%d bloggers like this: