A lot of log files need to be analyzed during an Active Directory migration. In case there is a log, you mostly have to write an email, update a database or do something like that. This is a simple example of a PowerShell log file monitoring script for a share:
Some PowerShell scripts have to build a temporary drive connection. For example to get a file from a share. I like to use the “New-PSDrive” commandlet for that. Unfortunately, this commandlet had a bug under Powershell 2.0. There are, however, alternative solutions.
During an Active Directory migration, all clients – as far as they won’t be reinstalled – have to be transferred into the target domain. For this process, Quest Migration Manager for AD offers the tool “Resource Updating Manager (RUM)”.
I was looking for a possibility of a fast LDAP search with PowerShell for a daily report. I wanted to create the following report automatically: How many users have been migrated until now? (all users with a certain property) I experimented with three possibilities and came up with the following:
Lately I could gather some new information and I would like to share it with you. QMMEX connection problems Part I, was about the circumstances that may hinder a successful synchronization of Exchange mailboxes with Quest Migration Manager for Exchange. Part II covers connection problems with Mail Source Agent (MSA) due to deactivated email protocols.
Dell/Quest Migration Manager for Exchange QMMEX is probably the leading tool for the migration of Active Directory objects and Exchange mailboxes. For the Exchange migration – mostly everything works automatically. However, a successful migration only works when your preparations are close to perfect. In my opinion, the most frequent occuring problems that hinder a successful […]
You can automate recurrings tasks with interactive PowerShell scripts. How to query input values? How to make PS scripts interactive? An introduction to Read-Host, Confirm, PromptForChoice and Prompt
You can edit Multi Value Attributes with the PowerShell. But if you use the usual techniques, existing content will be deleted. Some small changes in the script line are the solution.
The following example shows how to set up users in the Active Directory whose name is saved in a SQL-database with the help of PowerShell. The result of the bulk import will then be sent via mail. The script could for example create new AD-accounts from an HR database once per night.
The search-component of SharePoint 2010 is one of the central ones and needs individual adaption after installation. When not individualizing the search, all components of the “search topology” will be installed on one server. Microsoft recommends distributing these components across servers to guarantee a load sharing and reliability. With small to medium SharePoint farms the […]
- PowerShell: Find active computer objects
- Nesting groups in Active Directory
- Create home directory and grant permissions with PowerShell
- Creating an individual random password with PowerShell
- Retrieve Active Directory subnets with PowerShell
- Editing users of other domains – with PowerShell
- Azure Basics: Connecting with Azure (PowerShell)
- PowerShell Custom Objects
- Logon Script does not start on Windows Server 2012 R2 domain
- IsMember – Check group membership in Active Directory