SS Technology Forum

SS Technology Forum

Computer Migration - Things to Consider

Here are a few points which you can consider while doing computer migration. These points are applicable to all migrations irrespective of the migration tool (ADMT, NetIQ, Quest etc)

Active Directory User Migration

Here is a graphical representation of the high level steps involved in an Active Directory migration using ADMT

User Migration and Merging Using Quest Migration Manager

Pre-creating user account in the target domain is a common scenario these days due to single-sign-on solution, HR management procedure etc

Microsoft Right Management Service (RMS)

Rights Management Service (RMS) is an add-on to many RMS aware applications. In this article my main focus is to explain how we can utilize RMS technology with Exchange 2003 and how we can take advantage of RMS technology to increase the email security

Microsoft ISA Server

I am sure we have all either encountered or heard of this "problem" one time or another if the ISA Server is part of the Active Directory Domain. Is it a problem?

Tuesday, October 21, 2014

Azure Active Directory Sync – Object Selection and Synchronization Schedule

Finally I got some time to play with the new Azure Active Directory Sync tool and configuration.   You can see the new features of this tool in Alex Simons’  blog - http://blogs.technet.com/b/ad/archive/2014/04/21/new-sync-capabilities-in-preview-password-write-back-new-aad-sync-and-multi-forest-support.aspx.

Installation

The installation was very straight forward.  The step-by-step instruction are provided in the http://msdn.microsoft.com/en-us/library/azure/dn757602.aspx article.  The administration tools and scripts are located in difference places which was little confusing in the beginning. 

Synchronization Service Manager

This is where you administer or customize your synchronization options.  It is an MIIS client. In the backend it creates Management Agent (MA) for your directory and Azure. 

1

The default location of this file (missclient.exe) is in C:\Program Files\Microsoft Azure AD Sync\UIShell

Schedule

By default, the Azure AD sync schedule to run every 3 hours.    It is Windows scheduled task as shown in the following screenshot:

2

You can manually force the replication from here if needed.   In the backend it calls the DirectorySycnClientCmd.exe file which is located in C:\Program Files\Microsoft Azure AD Sync\Bin\ folder.

3

Object Filter and Customization

Object selection and customization can be performed using the Synchronization Service Manager tool.

4

Tuesday, October 14, 2014

Windows Server 2012 R2 – Couldn’t Create A New Partition

I have spent a couple hours this weekend to troubleshoot a partition creation issue during the Windows Server 2012 R2 installation.  I was getting the infamous “We couldn’t create a new partition or locate an existing one.  Fore more information, see the Setup log files” error message.

image

I have tried all the DISKPART recommendations on the following TechNet blogs:

http://blogs.technet.com/b/mempson/archive/2012/12/13/windows-8-and-the-dreaded-couldn-t-create-a-new-partition.aspx

http://blogs.technet.com/b/asiasupp/archive/2012/03/06/error-quot-we-couldn-t-create-a-new-partition-or-locate-an-existing-one-for-more-information-see-the-setup-log-files-quot-when-you-try-to-install-windows-8-cp.aspx

In my case, the issue was related to the boot order or sequence in the BIOS.   I was trying to install OS on to an SSD drive.  It was the first boot device configured in the BIOS.  Once I change the SSD drive to the 2nd place, everything start working! 

Monday, October 13, 2014

Active Directory Migration Service (ADMS) From Microsoft

Active Directory Migration Service (ADMS) is a could based Active Directory migration service (not a solution) from Microsoft.  Behind the scene they are using ADMT and FIM.  Directory synchronization was a big drawback of ADMT.  The combination of ADMT and FIM can overcome all these challenges.

Also, the self migration portal provides an end user driver migration option. 

image

You can see a demo on the Channel9 site - http://channel9.msdn.com/Blogs/Taste-of-Premier/Taste-of-Premier-Directory-Consolidation-with-Windows-Azure-Active-Directory-Migration-Services

Thursday, August 7, 2014

PowerShell TTUC #16 – Adding Comment using # and <# #>

PowerShell TTUC (Tips, Trick, and Useful Commands) – Adding Comment using # and <# #>

In all versions of PowerShell you can use # to a text after it a comment. 

Example:

# This a PowerShell comment

In PoweShell V2 and above you can <# #> to make a block of lines comments

Example:

<# First link

Second Line – This is a PowerShell Script

#>

Thursday, July 24, 2014

PowerShell TTUC #15 – File Name with Time Stamp

PoweShell TTUC (Tips, Tricks and Useful Commands) #16 - File Name with Time Stamp

File can be created with date / time suffix using the following syntax / commands:

New-item -type file -Name ("MyFile_$(Get-Date -f MM-dd-yyyy_hh-mm-ss).txt") –force

New-item cmdlet will create a new file.  Get-data cmdlet will append date and time in MM-dd-yyyy_hh-mm-ss format. 

Wednesday, July 23, 2014

PoweShell TTUC #14 – Move Files and Folders

PowerShell  TTUC (Tips, Tricks and Useful Command) #14 – Move Files and Folders

The entire content of the folder can be moved to different location or folder using the move-item cmdlet.

Syntax / command:

move-item “\\Server01\MyReports\*.*”  "\\Server02\Reports_Backup\" –Force

Tuesday, July 22, 2014

PowerShell TTUC #13 – Scheduled Jobs

PowerShell Tips, Tricks and Useful Commands (TTUC) #13 – Scheduled Jobs

PowerShell scripts can be run as a scheduled job using using Windows scheduler.  Create a batch file with the following syntax/commands:

 

Powershell.exe “c:\scripts\mytestscript.ps1”

Exit

Wednesday, April 9, 2014

PowerShell - Tips, Tricks and Useful Commands

Tip #4 –


 

#4

  
  
  
  
  


 

Tip #3 – Comparison Operators

Published date - May12, 2013

-eq


 

-ne


 

-gt


 

-ge   


 

-lt


 

-le


 

-Like


 

-NotLike


 

-Match


 

-NotMatch


 

-Contains


 

-NotContains


 

-In


 

-NotIn


 

-Replace


 





.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, "Courier New", courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }

 
 


 

More info - http://technet.microsoft.com/en-us/library/hh847759.aspx


 

#2 Logical Operators
Published date - April 11, 2013

 

-and         

Logical AND

-or         

Logical OR

-xor         

Logical XOR

-not         

Not equal to

!            

Not equal to


 

More info - http://technet.microsoft.com/en-us/library/hh847789.aspx

#1 Special Characters – Published Date - April 9, 2013

PoweShell supports the following special characters:

 

`0

Null

`a

Alert

`b

Backspace

`f

Form feed

`n

New line

`r

Carriage return

`t

Horizontal tab

`v

Vertical tab

--%

Stop parsing


 

More info - http://technet.microsoft.com/en-us/library/hh847835.aspx

http://www.amazon.com/dp/1849687447/?tag=packtpubli-20

Tuesday, March 18, 2014

Collect Computer Information From Active Directory– PowerShell Script

This PowerShell script can be used to collect computer information from Active Directory.   I am searching only Windows XP and Windows 7 machines.  You can update these values  by modifying $OS1 and $OS2 variables.

$OS1 =  "Windows 7*"
$OS2 = "Windows XP*"

This script is schedule to run everyday.  That is the reason I have include a backup file location and a file copy process.

 

$BKlocation = "E:\Scripts\Win7\Report_Backups"
$Verify = Test-path -PathType Container $BKlocation
If ($Verify -eq $false)
{$Verify = New-Item -ItemType Directory -Path $BKlocation }
move-item "E:\Scripts\Win7\win*.txt" $BKlocation –Force

I am currently collecting only the following information.  You can add more details based on your requirement.

$tName = $ItemProp.name
$tOS = $ItemProp.operatingsystem
$tSP = $ItemProp.operatingsystemservicepack
$tDes = $ItemProp.description
$tLoc = $ItemProp.distinguishedname
$tBuild = $ItemProp.operatingsystemversion

Script:

image 

 

In my case, I am using an input file which contains the Distinguished Name of the OU.  You don't have to use an input file, if you are searching an entire Domain.  

image

Thursday, March 13, 2014

Verify Service Status Remotely Using Local Account – PowerShell Script

I have modified one of my previously published script - Stop, Start, Disable Service Remotely–PowerShell Script (http://portal.sivarajan.com/2011/05/stop-start-disable-service.html) to use Local account (instead of a domain account) to verify the status of the service.

 

image

Input file contains computer names in the following format:

image

Popular Posts

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More