Use Directory Utility in Snow Leopard

In 10.6, Apple moved Directory Utility to the /System » Library » CoreServices folder; you can launch it directly from there, if you wish.However, the “official” way to get to Directory Utility now is through System Preferences » Accounts » Login Options. At the bottom of the panel you’ll see Network Account Server; click on … Read more

Integrating Mac OS X with Active Directory

http://www.google.ca/url?sa=t&rct=j&q=integrating%20mac%20os%20x%20with%20active%20directory&source=web&cd=1&sqi=2&ved=0CFMQFjAA&url=http%3A%2F%2Fwww.seminars.apple.com%2Fcontactme%2Fpdf%2FL334436B_ActiveDirect_WP.pdf&ei=yXHFT-JAwY7qAZKMoakG&usg=AFQjCNF6ltaL3K8PRoGjD7PJ3m3qp4SIOg&sig2=RU8qxRDyZNHQd_3KQtBX9g&cad=rja  

Force Spotlight to re-index your hard disk in Mac OS X Lion

Here’s how you can force Spotlight to re-index your hard disk to fix search errors. 1. Open the Terminal application. 2. Type in this command: sudo mdutil -E / 3. Type in your administrator’s password when prompted. sudo mdutil -s / To turn indexing on for all volumes, you enter: sudo mdutil -i on / … Read more

Installshield examples for installing/UNinstalling software remotely

Examples : Record the UNinstall and run the iss file: setup.exe /r /f1c:\me\killit.iss setup.exe /s /f1c:\me\killit.iss /f2c:\me\killit.log Record the install and run the iss file: setup.exe /r /f1c:\me\installit.iss setup.exe /s /f1c:\me\installit.iss /f2c:\me\installit.log psexec \\xp-test -i 1 %logonserver%\netlogon\me\killit.cmd   http://unattended.sourceforge.net/installers.php MSI packages Microsoft’s own Windows Installer Service is the nominal standard, and if everybody used it, there would … Read more

Active Directory Domain Services Windows 2008 R2 cmdlets – Search-ADAccount

  You have to run Search-ADAccount in the  Active Directory Modile for Windows Powershell! Here is an example for finding disabled accounts : Search-ADAccount -AccountDisabled -UsersOnly | Format-Table name, sid -AutoSize   PS S:\> Search-ADAccount -? NAME Search-ADAccount SYNOPSIS Gets Active Directory user, computer, or service accounts. SYNTAX Search-ADAccount -AccountDisabled <switch> [-AuthType {Negotiate | Basic}] [-ComputersOnly <switch>] [-Credential <PSCredential>] [-ResultPageSize <in t>] … Read more

Finding disabled user accounts in Active Directory Domain Services

http://technet.microsoft.com/en-us/library/ee176949.aspx#EEAA I f  Get-ExecutionPolicy returns restricted you are3 not able to run powershell scripts : PS C:\> c:\locatedisabledusers.ps1 File C:\locatedisabledusers.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please se e “get-help about_signing” for more details. At line:1 char:27 + c:\locatedisabledusers.ps1 <<<< + CategoryInfo : NotSpecified: (:) [], PSSecurityException + … Read more