New-TestCasConnectivityUser.ps1 does not run

Attempting to create the test user so I can diagnose an exchange server 2013 that is part of a two node plus witness DAG. The command errors at first and the help is to use ".\new-TestCasConnectivityUser.ps1" to get it to run. That command produces
nothing but a command prompt with no input for password or anything else. Checking under the users folders, there is no test user created. Need some help. Tried using the & in front of the command but that produces nothing but an error stating it is invalid.
Ron

Thank you for your help. I think you are correct in that the script needs modification. you are correct, the OU in AD is slightly different. Attempted to alter that and run it. Getting errors that frankly I am not sure how to correct as I am not seeing the
error in the code. I am not a scripter so this is a struggle. Here is what I am seeing.
Import-LocalizedData : The following error occurred while Windows PowerShell was loading the 'C:\program
files\Microsoft\Exchange Server\V15\Scripts\en\new-TestCasConnectivityUser.strings.psd1' script data file:
At line:2 char:1
+ ConvertFrom-StringData @'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
Executable script code found in signature block.
At C:\program files\Microsoft\Exchange Server\V15\Scripts\new-TestCasConnectivityUser.ps1:166 char:1
+ Import-LocalizedData -BindingVariable new_testcasuser_LocalizedStrings -FileName ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Import-LocalizedData], PSInvalidOperationException
    + FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.ImportLocalizedData
read-host : name cannot be null or empty.
At C:\program files\Microsoft\Exchange Server\V15\Scripts\new-TestCasConnectivityUser.ps1:238 char:24
+     $securePassword = (read-host -asSecureString $new_testcasuser_LocalizedStrin ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Read-Host], PSArgumentException
    + FullyQualifiedErrorId : Argument,Microsoft.PowerShell.Commands.ReadHostCommand
 EX01.domain.local
read-host : name cannot be null or empty.
At C:\program files\Microsoft\Exchange Server\V15\Scripts\new-TestCasConnectivityUser.ps1:46 char:11
+           read-host $new_testcasuser_LocalizedStrings.res_PromptToQuitOrContinue
+           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Read-Host], PSArgumentException
    + FullyQualifiedErrorId : Argument,Microsoft.PowerShell.Commands.ReadHostCommand
CreateTestUser : Mailbox could not be created. Verify that OU ( domain.local/users ) exists and that password meets
complexity requirements.
At C:\program files\Microsoft\Exchange Server\V15\Scripts\new-TestCasConnectivityUser.ps1:255 char:13
+   $result = CreateTestUser $exchangeServer $mailboxServer $securePassword $Organ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,CreateTestUser
 EX02.domain.local
read-host : name cannot be null or empty.
At C:\program files\Microsoft\Exchange Server\V15\Scripts\new-TestCasConnectivityUser.ps1:46 char:11
+           read-host $new_testcasuser_LocalizedStrings.res_PromptToQuitOrContinue
+           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Read-Host], PSArgumentException
    + FullyQualifiedErrorId : Argument,Microsoft.PowerShell.Commands.ReadHostCommand
CreateTestUser : Mailbox could not be created. Verify that OU ( domain.local/users ) exists and that password meets
complexity requirements.
At C:\program files\Microsoft\Exchange Server\V15\Scripts\new-TestCasConnectivityUser.ps1:255 char:13
+   $result = CreateTestUser $exchangeServer $mailboxServer $securePassword $Organ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,CreateTestUser
Not sure if this is too vague. But perhaps I can get a little bit more help with this error. In some ways it seems that Microsoft would have been better off just allowing a test user to be created in the same way as any other user. But what do I know.
Thanks
Ron

Similar Messages

  • Premiere elements 12, new installation, serial no. accepted, installation completed and new started, but does not run. I get following msg-box: "LoadLibrary failed with error 126: Das angegebene Modul wurde nicht gefunden."

    premiere elements 12, new installation, serial no. accepted, installation completed and new started, but does not run. I get following msg-box: "LoadLibrary failed with error 126: Das angegebene Modul wurde nicht gefunden."   Installation in German Language on WIN7 professional 64bit, Samsung SSD. What can I do to run that program?

    Jurgen Freund
    Premiere Elements 12 on Window 7 64 bit. What video card/graphics card does your computer use - AMD Radeon?
    I have found this YouTube video on the subject of Error 126 with details for resolving the problem.
    How to fix the ERROR 126 when you open OpenGL programs - YouTube
    The link was contributed in an old 2013 thread here by the ID danneomarre (see post 6 of the following thread)
    LoadLibrary failed with error 126: cant find the required
    Please let us know if that worked for you.
    Thank you.
    ATR
    Add On...When all is OK and working, please update 12 to 12.1 Update using an opened project's Help Menu/Update.

  • TPC 2215, new touch panel does not run normal labview programs?

    We recently bought a PC (PPC-2115, normal win-XP) from NI for an industrial application. Now we heard that that unit is discontinued soon, so repair service will be very limited. We want to change to another iPC. NI suggests TPC-2215 touch panel with windows-7 embedded. But then they say that we need a special Touch Panel license to make exe-files for this PC.
    If this is true it makes the TPC 2215 a very bad choice for us. Both that we have to pay a new licence, but most that new introduce a new taget. The exe-file we make for the TPC-2215 cannot be run on any normal PC (during tests, as backup if the TPC needs service etc.). Since we already have a bunch of normal iPC (different brands, including NI) we have to compile every program twice, one for touch panel, and one for normal labview runtime.
    So is it really true that a normal labview program "hello-world.exe" will not run on the new TPC-2215?
    (sampe question would apply to TPC-2206 and TPC-2212)

    I can now confirm that I can use our normal license to make normal windows executable files. So I am happy!
    Only the disk is a little too small, but I heard that should be changed soon.

  • New Google Earth does not run on my 24" iMac

    This morning I downloaded and installed the new Google Earth 4.0.2 beta on my 24" iMac. GE loads but crashes as soon as I attempt to navigate to any where. Now I am trying to download the previous version 3 from Google but it just downloads the newest beta and because I told the new version to replace my old version I have no version. Any body else having the same problem? I have 2.16, 2gig, 7600, 500MB iMac.
    24" iMac   Mac OS X (10.4.8)  

    It runs fine here. Since you are having the same problem on the new machine, and the machine you migrated from (sounds like you migrated your Home folder) why don't you try this:
    1. Quit Google Earth
    2. Navigate to ~/Library/Preferences (Note: "~" is the Short Name for your user account, which can be viewed in System Preferences --> Accounts)
    3. Move the file 'com.Google.GoogleEarthPlus.plist' to your Desktop.
    4. Relaunch Google Earth and see if the problem persists.

  • After installation the new version 2.0.1.4120 Firefox does not run any more; does not accept any key, but is waiting for a confirmation!

    Laptop Dell D630
    Windows XP professional, Version 5.1 (Build 2600.xpsp_sp3_gdr.101209-16747: Service Pack 3)
    The older versions all worked perfectly! Only after installing the new version, program does not react!
    I can send a screen-shot if that helps.
    Can you make the older version available again?
    Best regards
    Paul Schneider

    On Sun, 27 Apr 2014 10:25:17 +0000, Luis Olias wrote:
    I get it. It is something related to my ISA Server firewall. Even though I allow all the traffic back and forth between my LAN and my DMZ , the issue remains.
    Why do I know it is a ISA Server issue?, because I moved this pc client from the DMZ to the LAN (where the CA is) and it got a certificate right away, without any issue. As soon as I put it back on the DMZ, the problem begins.
    I suppose I have to move this thread, therefore, to the ISA Server forum.
    You need to disable the Strict RPC policy on your ISA server:
    http://technet.microsoft.com/en-us/library/bb838943.aspx
    Paul Adare - FIM CM MVP
    cthread. cthread_fork(). Fork, thread, fork!
    So I read on my research, but nothing doing. I will do it again, and I will post back in a few minutes, thanks!
    Luis Olías Técnico/Admon Sistemas . Sevilla (España - Spain)

  • Add does not run with sql server 2008

    Hi all,
    My add on in the development environment does not run with SQL SERVER 2008. It ran well with SQL Server 2005 and sap b1 2207 B.
    On executing the project file system throws an error "YOU ARE NOT CONNECTED TO THE COMPANY"
    we are trying this scenario on a test machine where SAP B1 2007B with temporary license for one month and SQL server 2008
    is installed.
    Help needed.
    Thanking you
    Pradnya

    Hi Use this
    Dim i as integer
    i=oCompany.Connect()
    if i<> 0 Then
    msgbox(ocompany.GetLastErrorDescription ())
    end if
    the you will get the error description also use try catch wherever necessary
    Alternatively you can use
    Dim SboGuiApi As SAPbouiCOM.SboGuiApi
    Dim sConnectionString As String
    Set SboGuiApi = New SAPbouiCOM.SboGuiApi
    sConnectionString = Command
    SboGuiApi.Connect sConnectionString
    Set SBO_Application = SboGuiApi.GetApplication()
    Set ocompany = New SAPbobsCOM.Company 'initialate DI company object
      ocompany = SBO_Application.Company.GetDICompany
    HTH,
    Atul

  • Finder does not run properly after starting up [Mountain Lion]

    I've installed MountainLion from Snow Leopard 10.6.8
    My Mac is Macbook7,1 (Macbook White) Intel Core 2 Duo
    When the installation finish, it seems like Finder does not run. I have to click on the Finder icon on the Dock to make it run.
    And then I got some of problem after that
    1. When I Click "About This Mac", nothings happen.
    2. When I Click "Restart...", "Shutdown..." or "Sleep", nothings happen. So, I have to Shutdown or Restart my Macbook from "Login Window..." only.
    3. Some of my settings in "System Preferences" do not be saved. Such as Trackpad settings (I can't "Tap to Click" in every time I start up my Macbook, I have to use physical click instead.) and Spotlight Hotkey settings (When I switch the Language, the Spotlight is popping up.)
    I'm not sure what is the cause of these problem.
    Could anyone help me please.
    Thank You.

    I forgot to mention (and add a new level of strangeness) that Mail is retreiving all of my messages from my personal (AT&T) account without issue.
    And I just discovered an even bigger problem: all of my emails from my Sent and other folders from my work account are completely gone!
    I may have no choice but to revert to my Lion system as of yesteday, before I installed ML.

  • OS X Mavericks 10.9.3 Does Not Run Smoothly

    Hi,
    I just upgraded my iMac and MBP from the Mac OS X ML 10.8.5 to the latest OS X Mavericks 10.9.3.
    The new system does not run smoothly.
    No matter it's the iMac or the MBP, the screen freezes for a very short of time whenever I try to switch to a different running program(especially when I try to switch to other programs from the Safari).
    So what's causing the problem? What should I do about it?
    Thanks.
    Ed

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
    SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
    View ▹ Show Log List
    from the menu bar at the top of the screen.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Labview 2011 executable does not run on AMD Quad Core

    I have recently bought a brand new Toshiba Satellite with AMD Quad Core- A8-4500M 1.9GHz processor and Windows 7 OS. It does not run any labview executables. It runs on all my Intel machines without any problem. This is the first AMD ever bought (and the last). I need help in resolving this problem.
    When I run an exe on the AMD, under Task Manager\Processes, I do see *.exe process running, but the Memory usage goes up and tops off at 100% and then it returns to 0. It's like a saw tooth waveform of memory usage, as if it's looking for some missing files. I have cleaned up the computer twice now and even a simple Add Two Numbers.exe does not work on this AMD.
    Any clue, anyone? please?

    I believe you are running into the problem described in this KB.
    http://digital.ni.com/public.nsf/allkb/4734A6405B123FA58625799900813593
    Regards,
    Jon S.
    National Instruments
    LabVIEW R&D

  • Applescript run from Mail rule does not run

    I am attempting to run an Applescript from a Mail rule. Basically, the Applescript does not run.
    Stripped to the bare essentials, the following script runs fine when Applying a rule in Mail:
    say "Hello"
    as well as this one:
    say "Hello"
    using terms from application "Mail"
    on perform mail action with messages theMessages for rule theRule
    tell application "Mail"
    -- statements to process each message in theMessages
    end tell
    end perform mail action with messages
    end using terms from
    But, when I remove the comments from the block lifted verbatim from the Applescript manual:
    say "Hello"
    using terms from application "Mail"
    on perform mail action with messages theMessages for rule theRule
    tell application "Mail"
    -- statements to process each message in theMessages
    end tell
    end perform mail action with messages
    end using terms from
    the script does not even say Hello.
    I am trying to go as far as having the Applescript create a new ToDo based on specific incoming emails, but I can't get any but the simplest Applescript to run.
    Can anyone help me?
    Tom

    The script works just fine - at least, as designed if not as expected.
    When the script runs, Mail and/or AppleScript looks for a perform mail action handler. If that is found, the commands within are executed.
    If there is no perform mail action handler then the script is run as-is (i.e. as if you clicked 'Run' in AppleScript Editor).
    And that's exactly what's happening here. In the first case (that works) the script is running because there's no (visible) perform mail action handler.
    In the second case where it apparently doesn't work, there is a handler, so that handler is being executed. Any code outside that handler is ignored (unless it's called from within the perform mail action handler.
    Since your 'say' command is outside the handler, it is ignored. However, if you move it inside the perform mail action handler you'll hear your speech.

  • Disc does not run down on power save iMac 27 Lion

    My hard disc does not run down when the computer goes into sleep on power save.  It does run down when I put it into sleeo manually.Is there a cure? Its a brand new 27 inch Mac with Lion

    Do you still have the problem? I experience the same issue but not every time I shut down. I hope for a fix with the next release...

  • [ethernet] eth0 connection does not run

    My ethernet connection does not run! This is the reply from ifconfig:
    $ ifconfig eth0
    eth0 Link encap:Ethernet HWaddr 00:23:8B:FD:F5:48
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:47244640245 errors:283467841470 dropped:94489280490 overruns:47244640245 frame:236223201225
    TX packets:47244640245 errors:188978560980 dropped:0 overruns:47244640245 carrier:94489280491
    collisions:236223201225 txqueuelen:1000
    RX bytes:47244640245 (45055.9 Mb) TX bytes:47244640245 (45055.9 Mb)
    Interrupt:27
    So my computer is connected, but all messages are dropped or in error.
    Does somebody knows how to solve that problem, please.
    Last edited by rafmav (2009-12-14 08:16:20)

    Thanks for these replies! and fast!
    I am not connected with a hub or a switch: it is a MODEM/ROUTER TrendNet TEW435BRM which goes well for DSL.
    I cannot run dmesg for know... I will look in it later.
    The computer is a new laptop (netbook type): Acer Aspire 1410 722G25n, Intel Celeron Mobile processor 723 (1.2 GHz, 800 MHz FSB, 1 Core, 64 Bits, 1M cache..., 10Watts max...), VGA: Intel GMA 4500MHD UP to 732 MB DVMT, 11.6" HD LED LCD
    RAM: 2 GB memory, STORAGE: 250 GB HDD, WLAN: Acer Nplify 802.11b/g/Draft-N,
    BATTERY: 6-cell 4400mAh Li-ion, SE: Windows Vista Home Premium OEM (EULA refuse by myself and deleted so not tested with it!).
    $ lspci
    01:00.0 Ethernet controller: Attansic Technology Corp. Device 1063 [1969:1063]
    On the internet, some said that it is known as an Atheros AR8131 PCI-E Gigabit under Windows... and that the useful linux package is AR81Family-v1.0.0.10.tar.gz for them, but impossible to find on the internet (official site is down, the archive found elsewhere do not uncompress, etc...)
    Linux is archlinux x86_64. The kernel driver in use is "atl1c" (on my ASUS eeepc beside, it is atl2 and runs well).
    Ok, so:
    - 1 read dmesg
    - 2 try with another cable (the wire I used is old).
    - 3 try with another kernel driver (have to find it)
    - 4 send back the computer to be repaired!
    Bye
    Last edited by rafmav (2009-12-14 13:17:21)

  • Javascript does not run properly in Firefox

    Firefox does not run javascript properly.
    For example:
    http://vk.com/app2622342_40916334#NEW/comp1427
    Comment form does not run at all in Firefox ( the last version = 20.0.1)
    but runs OK in Opera.
    WHY?
    Mozilla still is HALF-DONE SOFTWARE!!!!!!!
    WHEN YOU DO IT IN A GOOD WAY?

    I have javazcript-enabled = TRUE in my about:config. So your comment did not solve my problem. I noticed that javascript does not run properly in some websites (forms in vk.com) but those forms run OK in OPERA - how can you explain this!?
    And I have no errors in the Web Console (Firefox/Tools > Web Developer).
    I wrote you a link to the page where javascript does not work.
    ( you need to login to vk.com to see that page
    http://vk.com/app2622342_40916334#NEW/comp1427
    )

  • New IPad mini does not share photos using Photo stream

    New IPad mini does not share photos using Photo stream. Turned on sharing on both devices and also setup bluetooth both devices and they are connected. have photos on my mini put does not send to my Mac using photo stream
    Gary

    Photo stream doesn't use bluetooth; only wifi.  Photos added to the camera roll on your device are automatically added to photo stream when the camera app is closed, your device is connected to wifi, and it has at least 20 % battery life remaining.  Also, only photos added to the camera roll after enabling photo stream are uploaded, not photos prior to enabling photo stream.  If the photos appear in your my photo stream album on your iPad Mini, then they were successfully added to your photo stream.
    To share them with your Mac, your Mac must be running OS X Lion (10.7.4) or higher, and you must have either iPhoto 9.2 or higher or Aperture 9.2 or higher.  If you do, you must sign into your iCloud account in System Preferences>iCloud and check Photo Stream in order for the photos to automatically be added to iPhoto (or Aperture).  This is explained here: http://www.apple.com/icloud/setup/mac.html.

  • My new ipod nano does not sync the ipod name cannot be synced the required disk cannot be found

    my new ipod nano does not sync the ipod name cannot be synced the required disk cannot be found

    Wow .... so you are syncing via WiFi when you sync .... would that be correct?
    I would still quit iTunes and then restart and see what happens. The iPad and iTunes must be playing some weird games.
    If you do sync via WiFi (I do), I think you are better off closing iTunes when you are done - unless of course you are using iTunes for Home Sharing or something like that. My experience is that if you leave iTunes running, the iPad and iTunes just start sending weird signals back and forth.
    Since I started Wifi syncing, I have seen messages in iTunes that made absolutely no sense at all. Anyway, that's my take on it. If you do not WiFi sync, then I have no clue why you are getting these messages.

Maybe you are looking for