Problem with Exchange 2010 scripts after installing PowerShell 4.0

Hi
After installing new updates for MS Exchange 2010 and PowerShell 4.0 I've got problems with PS scripts using buil-in
exchange commands.
I wrote interactive script for searching e-mails. Here is a pice of code where I get error after installing PS v4.
$SearchContent=Read-Host "Write sentence to find"
Get-Mailbox | Search-Mailbox -SearchQuery "$SearchContent" -TargetMailbox "Discovery Search Mailbox" -TargetFolder "Inner box" -LogOnly -Loglevel Full | Out-Null
After installing PowerShell 4.0 I get that bug and report in TargetMailbox is not genereated.
The property keyword isn't supported.
At C:\Administration\Scripts\T-SearchMail.ps1:122 char:1
+ Get-Mailbox | Search-Mailbox -SearchQuery "$SearchContent" -TargetMailbox "Disco ...
+ ~~~~~~~~~~~~~~~~~   
+ CategoryInfo          : InvalidArgument: (:) [], ParserException
    + FullyQualifiedErrorId : 35E6C841
Using PowerShell 2.0 everything was ok.
How to solve this problem?
Tomasz
Kind Regards Tomasz

But http://blogs.msdn.com/b/powershell/archive/2013/10/25/windows-management-framework-4-0-is-now-available.aspx is dated
October 2013, while the current Windows Management Framework 4.0 System Requirements section states:
Servers that are running the following applications can now run WMF 4.0. The versions listed are the minimum releases required to run WMF 4.0.
Microsoft Exchange Server 2013 Service Pack 1
Microsoft Exchange Server 2010 SP3 with Update Rollup 5
Since
Update Rollup 5 For Exchange 2010 SP3 (KB2917508) was published Febrary 2014, shouldn't Exchange 2010 now be compatible with PowerShell 4.0?

Similar Messages

  • Problem with Rescue and Recovery after installing Norton Internet Security 2010

    Hi all.
    It's my first time in this forum.
    I have a problem, with Rescue and Recovery, after installing Norton Internet Security 2010 on my T43.
    The message I get it:
    "Rescue and Recovery is unable to back up the file 'C:\Documents and settings\all Users\Application Data\ Norton\ 00000082\00000109\000003c1\cltMLS1.bat' Because the file is either corrupted or being used by another application. Please close any application that could be using the file.
    I tried to close the Norton but I couldn't find how.
    Tanks
    Doron71

    Hi and welcome to the forum,
    the reason for this situation is, that the antivir files are protected from being modified.
    This is the reason, why this file cannot be backed up. I assume, that you would get much more such messages, as there are surelly multiple files files, that are protected like this.
    So the solution is to block folders from being archived. Please start RnR application and in the configuration set this folder as the excluded one.
    This will skip the backup of this file and will fix your situation.
    Please let me know, if you have covered this.
    Cheers

  • I'm having problems with my internet connection after installing OS X Lion. Is this a known problem or just a local problem?

    I'm having problems with my internet connection after installing OS X Lion. Is this a known problem or just a local problem?
    After +/- 10 to 15min my connection is gone.
    Does anyone have a sollution?

    Lots of people are having the same problem, you're not the only one, belieeeeve me.
    Just Googling the problem gets you tons of people complaining about the same thing, SOMETHING is up with Lion what wasn't happening with Snow Leopard. i just bought a new Imac and it CAME with Lion, so i started experiencing this internet dropout immediately.
    It's been going on for the most of a year it looks like (at least by the dates from the threads i've been reading)
    So your best bet is to fiddle with the System Preferences and read what other people have used to make theirs work. i'm doing that myself right now.  I already posted  a similar thread last night trying to figure out why my connection kept on dropping, i got a reply which linked me to a site. i followed the instructions there, so far so good, but i'm just being cautiously optimistic.
    i'm gonna call Apple today and see if they've found anything, though seeing as this is a problem right out of the box there may not be an immediate solution. Good luck hunting for a solution :3
    Site:
    http://osxdaily.com/2011/11/06/lion-wi-fi-problems-solution-mac/?utm_source=feed burner&utm_medium=feed&utm_campaign=Feed%3A+osxdaily+%28OS+X+Daily%29&utm_conten t=FaceBook

  • TS4532 Any idea on the timing of the software update to fix the IOS6.1 problems with Exchange 2010?

    Any idea on the timing of the SW update to fix the IOS 6.1 problem with Exchange 2010?
    victor

    In reply to Macca7275
    We moved from Blackberry to iPhone for 120 services in 2010.  We have just renewed the iPhone fleet.  Security was the issue for the business that employs me (lawyers).  When comparing the two, Blackberry performed without issue most of the time but we experienced a number of issues with the trackballs on individual phones. This was, however, the first of the Blackberry Bold models.  The expense behind the scenes was one of the major factors for the move. It was cheaper to run Exchange and iPhones than Blackberry services. Our lawyers on the whole adopted the iPhones and a number have become quite proficient at using them. We ensured that we had a means to securely wipe and lock business phones. We chose Mobile Iron for this purpose but you will find other products to do the same job. Cost is probably going to be the deciding factor here.  Our only negative factor was butterfingers resulting in smashed glass with the iPhones although I have had one user drown several phones.

  • Real-world experience with Exchange 2010 SP3 RU5+ and Powershell 4?

    The support-ability matrix for Exchange (http://technet.microsoft.com/en-us/library/ff728623(v=exchg.150).aspx) says Exchange
    2010 SP3 RU5+ and Powershell 4 are compatible.  But, there is very little actual discussion about how well that works. 
    I use Powershell extensively for mission critical and somewhat complex processes, with Exchange 2010 on 2008 R2 and AD access/reads/updates. 
    Can I get a summary of the caveats and benefits from someone who has actually done this in a
    real-world/production scenario (more than one server, managing from a separate non-Exchange server), and who has scripting experience with this configuration?  
    Also, how has this affected EMC operations?  
    As always thank you in advance!  

    I believe the matrix states that its supported to install Exchange into an environment where __ version of WMF is present.  Exchange 2010, launched from a Win 2012 server, reports version 2.0 when you call $host.  For example, calling the ActiveDirectory
    module from EMS on an Win 2012 server (ps 3.0) fails.
    I'll double check the extent of this scenario and get back to you.
    Mike Crowley | MVP
    My Blog --
    Planet Technologies

  • Problem with Exchange 2010, Q10 and attachment

    Q10 & Exchange 2010; unable to download and forward attachment
    Hi all,
    i have a problem with Q10 phone, sync with Exchange 2010 with activesync (not BES) all seem ok but unable to download attach.
    When press "download" didnt start. Unable also to forward same message but i think is a chainde problem.
    Same message from desktop (outlook) or OWA is ok and attach downloadable.
    This is the only Q10 present in company for test so i cannot compare to others BB.
    All other users connected to the exchaneg server have iphone & ipad no issue result. Email service seem ok also for desktop.
    Firmware was updateted about 10 day ago.
    Any idea for me?
    Thanks

    Hi marcottt,
    Could you provide more detail please so I can better assist?
    Do you have this issue with all attachment types? If not, what type of attachment are you having this issue with and what size is the attachment?
    What happens when you try to forward the message? Is any error received?
    Does removing and re-adding the email account make any difference?
    I look forward to your response.
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Problem with Exchange 2010 Public Folders after installing Exchange 2013 in my environment.

    I currently have an Exchange 2010 server with all the roles installed.  Before installing Exchange 2013, I was able to launch the Public Folder Management Console but now I get an error.  When I installed Exchange 2013, I got an error saying I
    had a instance of Exchange 2000 or Exchange 2003, but I didn't have any of these servers left.  There was still something in AD referencing my old server. I went into ADSIedit and deleted an old administrative group.  This deletion caused my access
    to my public folders to get messed up.  I followed this article, http://blog.bruteforcetech.com/archives/766, and I was able to gain access back in my outlook client but I still can't see the public folders in OWA.  I also get this error when
    trying to access either Default or System Public Folders.  "Cannot complete the operation because there isn't an available public folder database on server 'ExchangeServer'. It was running the command 'get-publicfolder - getchildren -identity '\'
    -server 'ExchangeServer' "
    My Public Folder Database exists and is mounted.  Any help is appreciated.

    Hi Belinda,
    Thank you for responding.  Yes you do understand my problem correctly.  One correction is that after deleting this entry in ADSIEdit, we couldn't access public folders at all either in Outlook or OWA.  I followed these steps in the below article:
     http://blog.bruteforcetech.com/archives/766
    After following these steps and recreating the entry on FolderHieachies in ADSI edit, I was able to gain access to the public folders again through Outlook, but still can't see them in OWA and can't access them in Public Folder Management Console.
    Here are the results to your requests:
    et-PublicFolder -Recurse | Format-List Name
    Name : IPM_SUBTREE
    Can't get the public folder database using legacy distinguished name '/O=HEROIX CORPORATION/OU=EXCHANGE ADMINISTRAT
    GROUP (FYDIBOHF23SPDLT)/CN=CONFIGURATION/CN=SERVERS/CN=EXCHANGE2010/CN=MICROSOFT PUBLIC MDB'.
        + CategoryInfo          : NotSpecified: (:) [Get-PublicFolder], TaskInvalidOperationException
        + FullyQualifiedErrorId : B546E0B0,Microsoft.Exchange.Management.MapiTasks.GetPublicFolder
    [PS] C:\Windows\system32>Get-PublicFolder -Identity \NON_IPM_SUBTREE -Recurse | Format-List Name
    Name : NON_IPM_SUBTREE
    Name : EFORMS REGISTRY
    Can't get the public folder database using legacy distinguished name '/O=HEROIX CORPORATION/OU=EXCHANGE ADMINISTRATIVE
    GROUP (FYDIBOHF23SPDLT)/CN=CONFIGURATION/CN=SERVERS/CN=EXCHANGE2010/CN=MICROSOFT PUBLIC MDB'.
        + CategoryInfo          : NotSpecified: (:) [Get-PublicFolder], TaskInvalidOperationException
        + FullyQualifiedErrorId : B546E0B0,Microsoft.Exchange.Management.MapiTasks.GetPublicFolder
    Also the msExchOwningPFTree attribute should be correct because this was edited with the correct value when I followed the instructions in the above article:
    CN=Public Folders,CN=Folder Hierarchies,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Heroix Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=hero,DC=net

  • Problem with Itunes and NAS after installing latest version of Itunes

    After installing the latest version of Itunes on my new PC (Windows 7 Ultimate) I have problems seeing the music off the Itunes server on my NAS.
    I see the name of the NAS under tab SHARED (GEDEELD in dutch), but when I click on it,  Itunes is making connection with the NAS but I see the music for less then a second.
    Then the display goes back to the tab LIBRARY.
    I've searched the web for this problem, checked on my firewall,... nothing to find.  On another windows 7 PC, it is still working fine but this is an older version of Itunes.
    So what can be the problem ?

    No, I had not uninstalled it, I didn't realize I had ever installed it.  I don't use it at all, never have.  I uninstalled the MobileMe Control Panel then restarted my computer for good measure, and that appears to have resolved the issue!  Thanks very much for your help!

  • Problem with getting PDF Options after installing Acrobat Pro 8.0

    Hello
    I have some problems after installing Acrobat Pro 8.0 on my MacBook Pro.
    In the past I worked with Acrobat Pro 7.0.8. Then when I choose the printer Adobe PDF 7.0 I had always a pulldown menu in the Printer Settings. to decided what kind of PDF I want (Best Quality, PDF/1, PDF/3, Low Quality, etc)
    After Intallion Acrobat Pro 8.0, I had both Adobe PDF 7.0 & 8.0 availible in the Printer Menu, but either the PDF Options is not availible for both (in some programs) or for both it is visible as "AdobePDFPDE70" but it has a line through it and I cann't select it.
    Then I delete Adobe 7.0 & 8.0 from the folder "/usr/libexec/cups/backend/" and started Adobe Acrobat Pro 8.0 again. It recognised that an Adobe PDF need to be installed but again it is not availible or AdobePDFPDE70 has a line through.
    I have still installed Adobe Pro 7.08 on my MacBook Pro because their is no PitStop Professional availible for Adobe Acrobat 8.0
    Who can help me to make my PDF Options Availible. I also looked at the Adobe Site for a Solutions but I found only 4 Threads for Acrobat 8 in combination with OS X and it was regarding other problems.
    I work with German OS X and german Versions of Acrobat and PitStop
    Regards
    Gerard
    MacBook Pro 17"   Mac OS X (10.4.8)  

    Hello
    I solved the problem. The files "AdobePDFPDE700.plugin" & "AdobePDFPDE800.plugin" conflict each other.
    I solved it in the following way
    - quit Adobe Acrobat
    - delete Adobe PDF 7.0 & 8.0 From the Printer Manager
    - remove the file "AdobePDFPDE700.plugin" & "AdobePDFPDE800.plugin" from /Library/Printers/PPD Plugins/
    - restart Adobe Acrobat Pro 8.0 and activate its self repair function from within the Help menu
    - quit Acrobat and re-boot your Mac
    - a Printer & "Adobe PDF 8.0" will be availible. Now the PDF Options are availible in all the Programs I working with!
    I experienced that the Acrobat Pro 7.08 is very unstabil after the Installation of 8.0, let's hope that PitStop will bring very soon a new Version compatible with Acrobat 8.0

  • Problems with ABAP Keyword Documentation after install Internet Explorer 7

    After install Internet Explorer 7 I see left frame with tree in ABAP Keyword Documentation, but don't see right frame.
    I find note 857216, but it not approach.
    Product Version SAP R/3 ENTERPRISE 47X200
    SAP GUI 620 Final Release 6206.6.62.970
    Internet Explorer 7.0.5730.11

    Once the page is opened, try to refresh the page a few times. I have seen this couple of times but just refreshing the same will solve the problem I believe.
    Regards
    Kathirvel

  • I have problem with my macbook pro after installing lion

    i have problem with macbook,after i install mountain lion its totaly go bad,its start to stack,get wery wery slow( i have macbook pro with i7 procesor) and its works like computer 20 years back.what shud i do? can i uninstall lion?? i want that my macbook be the same like before.pleas help me!

    You can do some basic diagnostics, first open Disk Utility and Repair Disk Permissions. If that does not help I woudl think you got a corrupt download of ML and need to re-download from the Mac App Store and reinstall. Hopefully you have been backing up and have a stable backup system.

  • Problems with /usr/local/lib after installing

    After I installed Leopard, I noticed that some of my files in usr/local/lib seemed to have disappeared. When I tried to open /usr/local/lib I got the following error: 'lib: Too many levels of symbolic links.' and it appeared that there was also a 'lib 1' directory in /usr/local which had all of my files in it. I managed to fix it using:
    sudo rm -rf /usr/local/lib
    sudo cp -R '/usr/local/lib 1' /usr/local/lib
    Just wanted to give a heads up since this was rather annoying to figure out. Other than this I have very few issues with leopard, so far limited to:
    -DivX playback doesn't appear to work
    -after login it appears to take a while for finder to start
    -a few problems mounting external devices, such as my USB drive and iPhone

    I’ve found this on my system as well! I had some trouble installing MacFuse under Leopard. The installer just said "Das Installations konnte einige Dateien nicht nach '/' kopieren. Wenden Sie sich an den Hersteller", which basically means that it couldn't write to the root directory.
    Then I found out about the /usr/local/lib symlink. This is very disturbing and clearly a major bug. I think it's a problem with the installation process of the developer tools. I’ve upgraded to Leopard two weeks ago. Everything worked. Then I’ve installed XCode 3.0 this and then the problem started. The circular symlink in /usr/local/lib has the timestamp of the XCode 3.0 installation…

  • POP3/IMAP problem with Exchange 2010

    Hi All,
    Iam running a  service which reads mails from mailbox via IMAP from exchange server 2003. But recently its been migrated to exchange 2010, and iam getting error from my service as "cannot connect to the server".It was working fine with exchange 2003.
    I have verified the IMAP connectivity from the following link: http://support.microsoft.com/kb/189326.IMAP connectitivity was successfull and then restarted the services but still no luck. Service writing logs in the eventviewer as "can not connect".
    Kindly help me on the same
    Thanks,
    Ram
    ram

    so, were you able to log into your mailbox on 2010 using telnet to port 143?

  • Problem with switchable graphic cards after installing windows 10

    Dear support, after installing windows 10 i lost option to switch my graphic cards. I already have installed new drivers for win10 64-bit. But it doesn't work. New drivers which i downloaded here: http://support.amd.com/en-us/download/desktop?os=Windows+10+-+64 doesn't support my graphic card. So i don't know what to do to get right drivers and be able to switch my graphic cards. Thanks for any help.

    Hi there 
    Welcome to the HP Support Forums! It is a great place to find the help you need, both from other users, HP experts and other support personnel. I understand that you installed Windows 10 and that switchable graphics is not working for you. I am happy to help. Unfortunately this is not something that AMD can help with, as it is a customized driver for your notebook. Did you do the Windows 10 installation as an upgrade and if so which operating system did you upgrade from? The existing HP drivers can be found here: HP Pavilion g6-1004ev Notebook PC but they are for Windows 7 or 8 depending on your choices. You could try those and install it using compatibility mode and see if that works. How to: Install and Update drivers in Windows 10 - answers.microsoft.com Let me know if that works for you.

  • Problems with Java 1.5+ after installing new "Software Updates".

    I downloaded the regular 'software updates', now my macbook pro won't open Vuze, instead coming up with the message " Cannot launch "Vuze Installer". No compatible version of Java 1.5  available." Then it won't let me "Open Java Preferences". What do I do???

    This is silly. Just because you don't know Vuze doesn't mean there's no problem with this update. My friends are having the same issue, of course we are looking at possible problem from Vuze's part but we cannot really say this update has 100% nothing to do with Vuze's launch failure, can we?
    P.S. Since Vuze is not banned by law, it's still legal to use it. It's up to people if they want to use it for good or bad.
    dogquake

Maybe you are looking for

  • XB3000 Docking Station Video Problem

    I got an XB3000 docking station and connected my DV8000.  The USB and sound works, but cannot get the external monitor to see a signal from the XB3000.  I have used the Fn + F4 button to turn on external video, but no response seen.  I have tried the

  • Contacts take forever to sync

    I just got an iPhone. I imported about 600 contacts from Now Up to Date & Contact. The contacts often have information in the Notes field (that NUDC uses), but otherwise seem unremarkable in terms of their content. Never-the-less, the iPhone never co

  • How a report will dynamically take a decision whether to display a column?

    Hi, I have a query in which there is a selection called "Uncategorized Expense". I want that column to be displayed only if it contains non zero entries i.e. dynamic decision should be made for display. How can I achieve this in query. I am working i

  • Error in uploading display profile

    Friends, I am trying to create a new Org in the Portal.So In the psconsole I downloaded the "enterprise sample" display profile and then I try to upload the display profile to my new org. It gives the error: Upload Display Profile Error Upload Displa

  • Won't print from rear tray

    I have a Pixma MG6220. No matter what I do it won't print from the rear tray from a source on the web. I go to both the quick setting and main tab and select "rear tray." Still prints from cassette. I took out the paper from the cassette. Won't print