EMC initialization failure: 'ConsoleInitialize.ps1' not recognized

Posted on 2011-10-18
Last Modified: 2012-05-12
When trying to launch the EMC, we're getting the following error:

Initialization failed
The following error occurred while configuring Help links:

The tern 'ConsoleInitialization.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

I've looked at many of the EMC failure items listed but none of them address this error. The script exists on the server in the Exchange/Remote Scripts folder but PowerShell is not recognizing it. Anyone have any suggestions as to how we troubleshoot this? Thanks!
Question by:MehtaJasmin
    LVL 4

    Expert Comment

    Did you type: .\ConsoleInitialization.ps1

    Author Comment

    I tried doing that at a powershell prompt and nothing happens. It doesn't return an error but it doesn't appear to do anything.
    LVL 12

    Expert Comment

    by:Deepu Chowdary
    Check this once.

    Author Comment

    Thanks for the link but those are all different errors than the one I'm seeing. The exact text of the error I'm getting is above.
    LVL 12

    Expert Comment

    by:Deepu Chowdary
    Check this discussion once..

    Author Comment

    been there, done that
    LVL 8

    Accepted Solution

    My concern is that have u set the correct path for the scripts files if not look at this article :

    Running a Script Inside the Exchange Management Shell

    Those familiar with the Cmd.exe environment know how to run command shell scripts. These scripts are simply text files that have the .bat file name extension. Like batch files, you can create the Shell script files by using a text editor, such as Notepad. You can also use the Windows PowerShell Integrated Scripting Environment (ISE) to write scripts. The Windows PowerShell ISE provides a rich editing experience with debugging support, syntax coloring, selective execution, and more. The Shell script files use the .ps1 file name extension.

    The Shell uses a root directory for script files when they are called. By default, the root directory is the <root drive>:\Program Files\Microsoft\Exchange Server\V14\bin directory. You can also verify the current PSHome directory on any computer running the Shell by running $PSHome at a command prompt. Both of these directories are in the PATH environment variable.

    If a script file is saved to the root directory, you can call it by using the script name. If the script file is located somewhere other than the current location, the path and script name must be used. If the script file is located in the current location, the script name must be prefixed by the period backslash (.\) characters.

    These examples show the command syntax requirements for calling three different scripts. These examples all use the Get-Date cmdlet, from three different locations.

    [PS] C:\>Get-Date-Script-A.ps1
    Friday, January 20, 2006 3:13:01 PM

    The script file Get-Date-Script-A.ps1 is located in the directory specified by $PSHhome and requires only the script name to run.

    [PS] C:\>c:\workingfolder\Get-Date-Script-B.ps1
    Friday, January 20, 2006 3:13:25 PM
    The script file Get-Date-Script-B.ps1 is located in the C:\workingfolder directory so the full path must be supplied to run.

    [PS] C:\>.\Get-Date-Script-C.ps1
    Friday, January 20, 2006 3:13:40 PM

    The script file Get-Date-Script-C.ps1 is located in the current location, C:\. Therefore, it must be prefixed with .\ to run

    Featured Post

    Promote certifications in your email signature

    Has your company recently won an award or achieved a certification? They'll no doubt want to show it off. Email signature images used to promote certifications & awards can instantly establish credibility with a recipient and provide you with numerous benefits.

    Join & Write a Comment

    "Migrate" an SMTP relay receive connector to a new server using info from an old server.
    Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
    In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
    In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now