Quantcast
Channel: Andreas - Talk nerdy to me
Browsing all 12 articles
Browse latest View live

DFS - What's that namespace?

I have on several occasions made an (albeit half-hearted) attempt to figure out how to check what DFS mode (2000 or 2008) a domain namespace (DFSN) is using. Last week I finally decided to get to the...

View Article



Domain Computers - Scheduled Reboot

Ever been assigned the task to set up nightly reboots of all your domain computers? I haven't. I have however been asked how to do this. Now, I'm pretty sure you can deploy this using for example SCCM,...

View Article

VBScript - Desktop Shortcut

A quick one today, if you ever have the need to create a desktop shortcut using VBScript. This can be deployed in a user logon script (GPO or AD) for example.Set objShell =...

View Article

Domain Computers - Local Administrators

With the addition of Group Policy Preferences (GPP) adding a domain group to the local Administrators group on client computers has become a real walk in the park. Here's how you do it, step by step....

View Article

PowerShell - Enable Exchange 2010 Mailbox from Active Directory

I installed Windows Live Writer the other day, so I figured I’d finally give it a shot. Step one was to load up with four cheese sandwiches, a cup of tea and a script! Earlier today when I pondered...

View Article


VBScript - WMI Ping

Sometimes it can come in handy to actually check, instead of just assume, that a destination is available before you let your script loose. One method you can use for this is ping. I recently wrote a...

View Article

PowerShell, Active Directory and Expiring Passwords

Have you ever wanted to find out how many days are left until your (or someone else’s) Active Directory user account password expires? This (and just about everything else) can be done using Windows...

View Article

The last VBScript you will ever need?

One of the first things people notice when writing their very first PowerShell scripts is that clicking the script file won’t run it, but instead open up Notepad. Which is nice, if you want to open up...

View Article


Shadow Groups in Active Directory

Shadow Groups (SG) is an interesting topic. It’s not an actual type of group in the sense of security, distribution, global, domain local or universal, but rather a concept. A shadow group is a global...

View Article


Install Windows Updates using a PowerShell script

or: How I stopped worrying and learned to live with Automatic MaintenanceAs many of you may already know Windows Server 2012 does not play nice with WSUS/Windows Update. It will accept the download and...

View Article

Testing IP address validity in PowerShell

There may come a time when you want to test if an IP-address is valid or not. Here's a simple PowerShell function that will do just that and return true or false.FunctionTest-IPAddress{...

View Article

Article 0

 AD FS claims and cross-forest domain local group membershipDomain Local security groups are by defualt omitted from AD FS claims. In a two-way forest trust scenario where users reside in Forest A but...

View Article
Browsing all 12 articles
Browse latest View live




Latest Images