Tag Archives: Active Directory

Default Powershell Execution Policy

You can use a GPO to set the ExecutionPolicy to a static value on all machines. But what if you want to default it to something and then let the users have the ability to change it? Group Policy Preferences … Continue reading

Posted in PowerShell, Snowland.se | Tagged , , , | Comments Off on Default Powershell Execution Policy

Bitlocker Info

I’m playing around with pipelining information to functions… and since I needed a function to read Bitlocker information from Active Directory, why not create one. 🙂

Posted in PowerShell | Tagged , , | Comments Off on Bitlocker Info

User pictures in AD

Adding pictures to Active Directory is kind of nice, it gives you pictures in Outlook, Lync and few other products… To add it you need to load a picture as binary and put it in to the attribute thumbnailPhoto on … Continue reading

Posted in PowerShell | Tagged , , | Comments Off on User pictures in AD

Logon Scripts in Powershell – Part2: LDAP-Queries

Next up… running LDAP in pure Powershell. It would of course be nice to use ActiveDirectory cmdlets in the logonscript… but you probably don’t deploy those to all machines. So, running LDAP queries can be done using a ADSI Searcher. … Continue reading

Posted in PowerShell, Series | Tagged , , , | Comments Off on Logon Scripts in Powershell – Part2: LDAP-Queries

Logon Scripts in Powershell – Part1: Network Locations

Long time no blog… Since I have written the logonscript we use (of course in Powershell).. why not share some snippets. 🙂 Starting out with the most common ones that “everyone” use. Map shares on file servers… I prefer to … Continue reading

Posted in PowerShell, Series | Tagged , | Comments Off on Logon Scripts in Powershell – Part1: Network Locations

Keep a list of user/computer groups in registry

In the migration to ConfigMgr 2012 we are aiming at just keeping one collection for software distribution and instead rely on global conditions. We do want to keep the option to add a user to a group and with that … Continue reading

Posted in ConfigMgr, PowerShell | Tagged , , , , , | Comments Off on Keep a list of user/computer groups in registry

Create GPOs with Powershell

We are in the process of migrating to a brand spankin new Active Directory … and since it’s new there are no GPOs yet. To automate and keep a strict naming convention we will use a self service portal to … Continue reading

Posted in GPO | Tagged , , | Comments Off on Create GPOs with Powershell

AD Topology Diagrammer

Looks like a cool tool… haven’t had the time to test it… yet. The Microsoft Active Directory Topology Diagrammer reads an Active Directory configuration using ActiveX Data Objects (ADO), and then automatically generates a Visio diagram of your Active Directory … Continue reading

Posted in Good-to-have | Tagged | Comments Off on AD Topology Diagrammer

Klurigheter med AD MP…

Stötte precis på ett litet bekymmer med AD MP’t. Om man inte vill övervaka samtliga AD-servrar i ett AD (alltså inte ha agenter på alla servrar) så får man lite felmeddelanden om att replikeringen inte fungerar. Varför? Jo, efter “lite” … Continue reading

Posted in MOM2005 | Tagged | Comments Off on Klurigheter med AD MP…