Bulk-create external contacts in Exchange Online

Do you have lots of existing business contacts that you want to include in the shared address book in Exchange Online? Or add your contacts as members of distribution groups, just like you can with users inside your company? If so, you can use Windows PowerShell and a CSV (Comma Separated Value) file to bulk import external contacts into Exchange Online. It’s a three-step process:

  1. Create a CSV file that contains information about the external contacts.
  2. Create the external contacts with PowerShell.
  3. Add information to the properties of each external contact with PowerShell.

Step1: Create a CSV file

Download the sample CSV file posted on the Downloads forum on the Office 365 community site. The sample file is actually a .txt file. So open it in Microsoft Excel, and save it as a CSV file. Use commas as the delimiters.

It includes sample data, which you can delete. But don’t delete the first row. It contains all of the properties for the external contacts. Create a row for each contact that you want to import to Exchange Online. Populate as many of the cells as possible. This information will be displayed in the shared address book for each contact.

However, the following parameters (which are the first four columns in the sample CSV file) are required to create an external contact and must be populated:

  • ExternalEmailAddress
  • Name
  • FirstName
  • LastName

When you’re finished preparing the CSV file, copy it to your desktop. Name it ExternalContacts.csv.

Step 2: Create the external contacts

In this step (and the next one), you have to use Windows PowerShell. To connect PowerShell to your Exchange Online organization, see Use Windows PowerShell in Exchange Online.

After you connect PowerShell to your cloud-based organization, run the following command to create the external contacts:

Import-Csv .\ExternalContacts.csv|%{New-MailContact -Name $_.Name -DisplayName $_.Name -ExternalEmailAddress $_.ExternalEmailAddress -FirstName $_.FirstName -LastName $_.LastName}

Note: This command assumes that you are in the desktop directory in PowerShell. For example, C:\Users\Administrator\desktop.

To view the new external contacts, in the Exchange Control Panel, click Users & Groups > External Contacts > Refresh. They also appear in the shared address book in Outlook and Outlook Web App.

Step 3: Add information to the properties of the external contacts

After you run the command in step 2, the external contacts are created, but they don’t contain any of the contact or organization information, which is the information from the most of the cells in the CSV file).

Run the following commands to add the other properties from the CSV file to the external contacts you created:

$Contacts = Import-CSV .\externalcontacts.csv

$contacts | ForEach {Set-Contact $_.Name -StreetAddress $_.StreetAddress -City $_.City -StateorProvince $_.StateorProvince -PostalCode $_.PostalCode -Phone $_.Phone -MobilePhone $_.MobilePhone -Pager $_.Pager -HomePhone $_.HomePhone -Company $_.Company -Title $_.Title -OtherTelephone $_.OtherTelephone -Department $_.Department -Fax $_.Fax -Initials $_.Initials -Notes $_.Notes -Office $_.Office -Manager $_.Manager}

Don’t worry if you don’t have all the information populated in the CSV file. If it’s not there, it won’t be added.

Note: The Manager parameter can be problematic. If the cell is blank in the CSV file, you will get an error and none of the property information will be added to the contact. If you don’t need to specify a manager, then just delete –Manager $_.Manager from the previous PowerShell command.

That’s it. You can view the contact properties in the Exchange Control Panel. Users can see the contacts in the address book Outlook and Outlook Web App.

Adding more external contacts

You can repeats steps 1 through 3 to add new external contacts in Exchange Online. You or users in your company can just add a new row in the CSV file for the new contact. Then you can run the PowerShell commands from steps 2 and 3 to create and add information to the properties of the new contacts.

Note: When you run the command to create new contacts, you will get errors saying that the contacts that were created earlier already exist. But any new contact added to the CSV file is created.

Hide external contacts from the shared address book

Some companies may use external contacts only so they can be added as members of distribution groups. In this scenario, they may want to hide external contacts from the shared address book. Here’s how:

Hide a single external contact

Set-MailContact <external contact> -HiddenFromAddressListsEnabled $true

For example, to hide Franz Kohl from the shared address book:

Set-MailContact “Franz Kohl” -HiddenFromAddressListsEnabled $true

Hide all external contacts

Run the following command to hide all external contacts from the shared address book:

Get-Contact -ResultSize unlimited -Filter {(RecipientTypeDetails -eq ‘MailContact’)} | Set-MailContact -HiddenFromAddressListsEnabled $true

After you hide them, external contacts aren’t displayed in the shared address book, but you can still add them as members of a distribution group.

For more information about external contacts in Exchange Online, see:

Enabling Telnet on Vista or Windows 7

One thing I almost immediately noticed when Vista (and more recently Win7)  came out was that if I open a a command prompt and try to use telnet, I get informed that ‘telnet’ is not recognized as an internal or external command, operable program or batch file. Telnet is one of the first tools I use to troubleshoot a problem … telnet server port to see if it’s even listening and I can connect. Telnet is now an optional feature which you can enable in the control panel:
  1. Start> Control Panel
  2. Programs and Features
  3. Click “Turn Windows features on or off” on left.
  4. Scroll down and check “Telnet Client”

Sharepoint Online – Basic Laws and Restrictions

The SharePoint Online service administrator can set the storage limits for site collections and sites created by users. The minimum storage allocated to a new site collection is 24 megabytes (MB). The maximum storage available for any site collection is up to 100 gigabytes (GB).

The maximum SharePoint Online storage available to a single company’s tenancy is up to 5 terabytes (TB).

File upload limit: 250 megabytes (MB) per file.

If your files are over 100G, you cannot upload the files to a single site collection.

Be aware that, the Workspace’s max size is 2GB and the total number of files you can store across all your SharePoint workspaces is approximately 10,000.

Please refer to the links below:

http://support.microsoft.com/kb/916412

http://office.microsoft.com/en-us/sharepoint-foundation-help/synchronize-sharepoint-content-with-sharepoint-workspace-HA101854201.aspx?CTT=1

Except using SharePoint Workspace, you can choose your document library in your team site, then in the ribbon, under “Library ”area, click “Open with Explorer”. A explorer windows will pop up. Thus, you can drag your files to the explorer windows.

Backup Exchange 2003 with NTBACKUP

Windows 2000 Server and Windows Server 2003 already have the NTBACKUP software installed by default. However, installing Exchange 2000 Server or Exchange Server 2003 on these machines will upgrade NTBACKUP and allow it to be used to backup the Exchange databases (also known as Stores).

Note: You can also Backup Exchange 2000/2003 from a Non-Exchange Server.

To perform an Online backup of Exchange Server 2003 follow these steps (note that 99% of the steps outlined here also work for Exchange 2000, although the screenshots were taken on Exchange Server 2003):

  1. Click Start, point to Run, type NTBACKUP and click Ok (or press Enter).
  2. If the Backup or Restore Wizard appears, on the Welcome to the Backup or Restore Wizard page, click Advanced Mode.

  1. Click on the Backup tab.
  2. On the Backup tab expand Microsoft Exchange Server, expand servername (you should see your own server name of course… duh), expand Microsoft Information Store, select the correct Storage Group’s check-box or the entire Information Store check-box.

Note: It is always best to backup an entire Storage Group rather than individual Stores, and if possible, try to backup the entire IS in one job, although lack of time or storage might force you to selectively backup just parts of the IS at a time.

  1. On the Backup Destination choose the right tape device (if you have one, and you should), or, like in the above screenshot, a local File.
  2. In the Backup Media or Filename make sure you enter a descriptive name for the backup job.
  3. Click on the Start Backup button.
  4. In the Backup Job Information window make sure you have your settings right. If you already have a backup job on the destination tape or file, make sure you select Append to make the file bigger and hold both jobs, or Replace to delete the old file and re-create it with the new job.

You can also press the Advanced button and select the Backup Type. For this demonstration I’ve chosen Normal. I’ll discuss the differences between the backup types in a different article.

Another thing you can do is schedule the job to automatically run by pressing the Schedule button. This too will be discussed in a different article.

When you’re done press the Begin Backup button. The backup job should begin:

  1. When the backup is finished, in the Backup Progress dialog box, click Report.

  1. In the backup01.log window, verify that no errors are listed in the report. If no errors are listed, the backup was successful. Close backup01.log.
  2. In the Backup Progress dialog box, click Close.

To verify that Exchange recognizes that an online backup was performed follow these steps:

  1. In Exchange System Manager, browse to Administrative Groups\First Administrative Group\Servers\servername\First Storage Group\Mailbox Store (servername) (as always, use your own path…)
  2. In the console tree, right-click either the Mailbox Store or the Public Store, and then click Properties.
  3. In the store properties dialog box, click the Database tab.
  4. On the Database tab, in the Time of last full backup box, verify that the time of the backup you just performed is recorded, and then click OK.

Note regarding the backing-up of the System State AND the Information Store in one backup job: In Windows Server 2003 and Exchange Server 2003 you cannot perform a backup of the System State AND the Exchange IS in one job, due to limitations in the Volume Shadow Copy service (VSS). These limitations are described in the following KB Article:

Get Rid of your Social Media Accounts Easily

Get Rid of your Social Media Accounts Easily

Do you care about your personal data? AccountKiller provide instructions to remove your account or public profile on most popular websites, including SkypeFacebookWindows LiveHotmail / LiveTwitterMSN / MessengerGoogle and many more. Want to create an account somewhere? Check AccountKiller’s Blacklist first to see if it’s even possible to remove your profile!

Large List of Downloadable Computer Repair CDs

Large List of Downloadable Computer Repair CDs

One of our Technibble forum members, PcTek9, and a handful of other Technibble members have compiled a large list of CDs for various computer repair tasks. In this list, the following types of CD are available for download: Antivirus Boot CDs, Recovery Disks, Hardware Diagnostic Boot CDs, Network Testing/Monitoring, Data Recovery Boot CDs and Special Purpose CDs.

Some of these are free to download, some are not. Be sure to read the EULA for the CD’s you download and the applications you use to make sure you are allowed to use them in the manner you plan to use them in. Many of the CDs contain a variety of different programs and some of the applications are free to use as you please, but some of them disallow commercial use. So be sure to read and abide by the EULA for whatever you use.

Also, some of these CD’s may set off an antivirus false positive due to their virus removal, password cracking, system file changing nature. Konboot is one such CD that will set off antivirus software. Its best to scan the CDs that are setting off your antivirus using a site like Virustotal.com and make your own decisions.

IPSEC service Issue prevents Internet and Domain Access

Consider the following scenario. A Microsoft Windows XP-based client computer is joined to a Microsoft Windows Server 2003 domain. Additionally, Windows Server 2003 Service Pack 1 (SP1) is installed on the authenticating domain controller. In this scenario, you experience the following symptoms:

You cannot connect to the Internet.
You cannot join or log on to the domain. Therefore, the domain controller is in IPsec Block mode.
When you start the IPSEC Services component on the domain controller, you may receive an error message that is similar to the following:

The system cannot find the file specified.

To temporarily work around this problem, disable the IPSEC Services component, and then restart the domain controller.

This problem can occur if the IPSec\Policy\Local registry key is deleted or when there is a corrupted file in the policy store. The file may become corrupted if an interruption occurs when the policy is being written to the disk.

ImportantThis section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:322756(http://support.microsoft.com/kb/322756/ )

How to back up and restore the registry in Windows

To resolve this issue, follow these steps:
Delete the local policy registry subkey. To do this, follow these steps:
Click Start, click Run, type regedit in the Open box, and then click OK.
In Registry Editor, locate and then click the following subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\IPSec\Policy\Local
On the Edit menu, click Delete.
Click Yes to confirm that you want to delete the subkey.
Quit Registry Editor
Rebuild a new local policy store. To do this, Click Start, click Run, type regsvr32 polstore.dll in the Open box, and then click OK.
Verify that the IPSEC Services component is set to automatic, and then restart the domain controller.

 

http://support.microsoft.com/kb/912023