Home » Posts tagged 'Adsi'
Manage mobile phone option is missing on users
  Manage mobile phone option gets you the ability to "Remove mobile phone partnership" and "perform a remote wipe to clear mobile phone data.” If this option is missing run ADSI edit, locate problematic user in user properties find msExchMobileMailboxFlags and set to 1 Read more
Rename all Domain Local Administrator Username Via Script
Use this PowerShell script to rename Local Administrator Account on a list of remote machines. #$erroractionpreference = "SilentlyContinue" $a = New-Object -comobject Excel.Application $a.visible = $True $b = $a.Workbooks.Add() $c = $b.Worksheets.Item(1) $c.Cells.Item(1,1) = "Machine Name" $c.Cells.Item(1,2) = "Account Renamed" $c.Cells.Item(1,3) = "Report Time Stamp" $d = $c.UsedRange $d.Interior.ColorIndex = 19 $d.Font.ColorIndex = 11 $d.Font.Bold = $True $intRow = 2 foreach ($strComputer in Read more
Find user group membership Powershell script
Use this script to check user group membership in Windows Domain Active Directory $root=([adsi]"").distinguishedName $ou=[adsi]("LDAP://ou=x,ou=y,ou=z,"+$root) # fill  with user  CN “Common Name” $user=$ou.psbase.children.find("cn=tartetCN ") $groups = $user.memberof foreach($group in $groups) { $strGroup = $group.split(',')[0] $strGroup = $strGroup.split('=')[1] $strGroup } Read more
MMC Shortcuts – Management Tools
adsiedit.msc ADSI Edit sidewalk.msc SID Security Manager certmgr.msc Certificates ciadv.msc Indexing Service compmgmt.msc Computer Management devmgmt.msc Device Manager dfrg.msc Disk Defragmenter diskmgmt.msc Disk Management eventvwr.msc Event Viewer fsmgmt.msc Shared Folders gpedit.msc Group Policy lusrmgr.msc Local Users and Groups ntmsmgr.msc Removable Storage ntmsoprq.msc Removable Storage Operator Requests perfmon.msc Performance rsop.msc Resultant Set of Policy secpol.msc Local Security Settings services.msc Read more
Add custom field to ADUC- Employee ID
How to add Employee ID to Active Directory Users and Computers 1. Open ADSI Edit 2. Expand the CN=Configuration node and go to CN=DisplaySpecifiers, CN=409. Select the 409 node in the left hand pane. 3.In the right-hand pane, select the CN=user-Display object. Right click and select Properties. 4.Select the adminContextMenu attribute and click Edit. 5. We now need to add the value that will be used to create the additional menu item and direct it to the employeeID.vbs script. The syntax is very important. Read more
Exchange 2003 Event log ID:8206 with 0×80150856 Error
It happens after SP 2 Installation. Users started to receive meetings directly to their calendars without accepting . I used Microsoft ExBPA in order to see if there is any problem and discovered that The site-wide public folder database for administrative group 'Group Name' has been deleted. . And followed MS Instruction on how to recreate folder back. Open an Active Directory editor, such as ADSI Edit. Locate the public folder information store you want to designate as the Site Folder Server, Read more