Get-CMApplication cmdlet slow

Hi,
I have a SCCM 2012 R2 CU2 installation where I modify applications with PowerShell.
I have 207 applications created in SCCM and when I use the command "Get-CMApplication" to get a list of all the applications. It takes more than 20 seconds to return the list of
applications.
Why does it take so long time? Is it normal that it takes so long time to return a list of all applications? I would have expected it to return the list within a few seconds.
Thomas Forsmark Soerensen

I have 207 applications created in SCCM and when I use the command "Get-CMApplication" to get a list of all the applications. It takes more than 20 seconds to return
the list of applications.
Because that cmdlet gets all information for each application (see smsprov.log while the command is running). 
Torsten Meringer | http://www.mssccmfaq.de

Similar Messages

  • Speeding up the Get-MailboxStatistics cmdlet for ~19K mailboxes.

    Greetings,
    While this is partially a PowerShell scripting question, I am posting it in the Exchange 2010 forum because the issues I believe center around the Get-MailboxStatistics itself, and the speed of my scripts in Exchange 2010 (possibly
    due to the additional overhead in remote PowerShelling).
    In my Exchange 2010 system we have ~19,000 mailboxes spread accross multiple DAG nodes, and ever since we upgraded from Exchange 2007 to Exchange 2010, gathering all of the mailboxes and then gathering their statistics takes almost
    twice as long. For example a script that used to take ~45 minutes in Exchange 2007, takes about an hour and a ½.
    The issue I am running into when clocking core aspects of a mailbox data gathering scripts is that the Get-MailboxStatistics seems to be taking an excessively long period of time, and I am hoping someone can help me figure out a
    way to speed up the process.
    For example this is a boiled down script I created, where I ripped out a ton of other things and just focused on the Get-Mailbox and Get-MailboxStatistics commands:
    $BaseOU
    =
    "Customers"
    # Capture the date and time in a variable using the "Fri 11/01/2010 6:00 AM" format.
    $DateTime
    =
    Get-Date
    -Format
    "ddd MM/dd/yyyy h:mm tt"
    # Select a single domain controller to use for all the queries (to avoid mid AD replication inconsistencies)
    from the environment variable LOGONSERVER - this ensures the variable will always be dynamically updated.
    $DomainController
    = ($Env:LogonServer).Substring(2)
    # Set the loop count to 0 so it can be used to track the percentage of completion.
    $LoopCount
    = 0
    # Start tracking the time this script takes to run.
    $StopWatch1
    =
    New-Object
    System.Diagnostics.Stopwatch
    $StopWatch1.Start()
    # Get the mailbox info for all IHS customer mailboxes.the storage limit is Prohibit send or mailbox disabled
    Write-Host
    -ForegroundColor
    Green
    "Beginning mailbox gathering. In a short while a progress bar will appear."
    $GatheredMailboxes
    =
    Get-Mailbox
    -ResultSize:Unlimited
    -OrganizationalUnit
    "ADDomain.com/$BaseOU"
    -DomainController
    $DomainController |
    Select Identity,DisplayName,ProhibitSendQuota
    Write-Host
    -ForegroundColor
    Green
    "Mailbox data gathering is complete."
    $StopWatch1.Stop()
    $StopWatch2
    =
    New-Object
    System.Diagnostics.Stopwatch
    $StopWatch2.Start()
    Foreach ($Mailbox
    in
    $GatheredMailboxes) {
    # Show a status bar for progress while the mailbox data is collected.
    $PercentComplete
    = [Math]::Round(($LoopCount++
    $GatheredMailboxes.Count
    * 100),1)
    $CurrentMBDisplay
    =
    $Mailbox.DisplayName
    Write-Progress
    -Activity
    "Mailbox Data Gathering in Progress"
    -PercentComplete
    $PercentComplete
    `
    -Status
    "$PercentComplete% Complete"
    -CurrentOperation
    "Current Mailbox: $CurrentMBDisplay"
    #Get the mailbox statistics for each mailbox gathered above.
    $MailboxStats
    =
    Get-MailboxStatistics
    $Mailbox.Identity |
    Select StorageLimitStatus,TotalItemSize
    # Proceed only if the the mailbox statistics show the storage limit is Prohibit Send or Mailbox Disabled.
    # Write-Host "Stats for"$Mailbox.DisplayName"are Limit ="$MailboxStats.StorageLimitStatus"and Size ="$MailboxStats.TotalItemSize.Value.ToMB()"MB."
    # Calculate the amount of time the script took to run and write the information to the screen.
    $StopWatch2.Stop()
    $ElapsedTime
    =
    $StopWatch1.Elapsed
    Write-Host
    "he mailbox gathering took"
    $ElapsedTime.Hours
    "hours,"
    $ElapsedTime.Minutes
    "minutes, and"
    $ElapsedTime.Seconds
    `
    "seconds to run."
    $ElapsedTime
    =
    $StopWatch2.Elapsed
    Write-Host
    "The foreach loop took"
    $ElapsedTime.Hours
    "hours,"
    $ElapsedTime.Minutes
    "minutes, and"
    $ElapsedTime.Seconds
    `
    "seconds to run."
    Using the two stop clocks, I was able to see that the Get-Mailbox of all mailboxes took ~9 minutes. That isn’t lightning fast, but it isn’t unreasonable.
    The issue comes in where the Foreach loop with the Get-MailboxStatistics took ~53 minutes, and I am sure some of the mailbox data was cached on the servers from my various tests so it would probably take even longer with a cold
    run.
    I did some digging around and I really couldn’t find anything on how to speed up the Get-MailboxStatistics, and the only thing I found was this link:
    http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/9ceefddd-7a59-44ec-8fc0-8de244acb58b
    However I am not clear on how moving the Get-MailboxStatistics into the Get-Mailbox syntax (which is odd to me in general) would speed things up if I still have to have a foreach loop to process the data a little bit and add the
    users to a datatable. That discussion also made think the foreach loop itself is slowing things down but unclear as to how/why if that is true. 
    Can someone help share some ideas on how to speed up this process? I think there are some other things I could try but I can’t think of them.
    Thank you in advance.

    I think it's impossible to speed up the Get-MailboxStatistics when it is being called for each and every mailbox individually.
    I read somewhere in other posts people were having better performance by calling the cmdlet against an entire database or server so I gave it a shot with this code:
    $DAGS = "EXCHDAG1"
    # Start tracking the time this script takes to run.
    $StopWatch = New-Object System.Diagnostics.Stopwatch
    $StopWatch.Start()
    $MailboxStatistics = New-Object System.Data.DataTable “MailboxStatistics”
    $MailboxStatistics.Columns.Add("TotalitemSize",[String]) | Out-Null
    $MailboxStatistics.Columns.Add("ItemCount",[String]) | Out-Null
    $MailboxStatistics.Columns.Add("LastLogonTime",[String]) | Out-Null
    $MailboxStatistics.Columns.Add("LastLogoffTime",[String]) | Out-Null
    $MailboxStatistics.Columns.Add("MailboxGUID",[String]) | Out-Null
    $MailboxStatistics.PrimaryKey = $MailboxStatistics.Columns["MailboxGUID"]
    ForEach ($DAGServer in (Get-DatabaseAvailabilityGroup $DAGS).Servers) {
    ForEach ($MailboxStats in (Get-MailboxStatistics -Server $DAGServer.Name | Where {$_.DisconnectDate -eq $Null})) {
    $NewMBXStatsDTRow = $MailboxStatistics.NewRow()
    $NewMBXStatsDTRow.TotalitemSize = $MailboxStats.TotalItemSize
    $NewMBXStatsDTRow.ItemCount = $MailboxStats.ItemCount
    $NewMBXStatsDTRow.LastLogonTime = $MailboxStats.LastLogonTime
    $NewMBXStatsDTRow.LastLogoffTime = $MailboxStats.LastLogoffTime
    $NewMBXStatsDTRow.MailboxGUID = $MailboxStats.MailboxGuid.ToString()
    $MailboxStatistics.Rows.Add($NewMBXStatsDTRow)
    $StopWatch.Stop()
    $ElapsedTime = $StopWatch.Elapsed
    Write-Host "The script took" $ElapsedTime.Hours "hours," $ElapsedTime.Minutes "minutes, and" $ElapsedTime.Seconds `
    "seconds to run."
    Here are the results in speed:
    The script took 0 hours, 3 minutes, and 13 seconds to run.
    So yeah... ~3 minutes versus ~1 hour, I would say that's an improvement.
    Now I will go back to my script and as I process each mailbox I will pull it's statistics information out of the DataTable using its GUID with:
    If ($MailboxStats = $MailboxStatistics.Rows.Find($Mailbox.MailboxGUID)) {
    # Insert mailbox statistics processing here using the $MailboxStats variable with "." extensions.
    } Else {
    # Mailbox statistics weren't found so go grab them individually as a backup mechanism for scenarios when a user's mailbox got moved out of the DAG to a non-DAG database for whatever reason.
    It's a little silly that I have to extract the information out of each DAG server and put it in an in-memory table just to speed this process up, but clearly there is overhead with the Get-MailboxStatistics cmdlet and grabbing more mailboxes at once helps
    negate this issue.
    I'm going to mark my own response as an answer because I don't think anyone else is going to come up with something better than what I put together.

  • DSC xWebsite doesn't work properly in Windows Server 2008 R2 SP1 because of Get-Website cmdlet

    I'm trying to use DSC to create a new web site using a configuration similar to
    http://gallery.technet.microsoft.com/scriptcenter/xWebAdministration-Module-3c8bb6be. What I found is if the web site doesn't exist the xWebsite resource fails because Get-Website cmdlet even if filtered by -Name seems to ignore the filter and return
    something. To fix this problem I had to customize the xWebsite resource and changed
    Get-Website $Name to Get-Item -Path "IIS:\Sites\$Name" at least in a couple of places (Test-TargetResource and Set-TargetResource).
    I hope this behavior is fixed in a next version of the Get-Website cmdlet or otherwise the workaround is implemented at the xWebsite resource.

    You are posting in the wrong place for this.  You should post in the DSC forum.
    If you have issues with CmdLets or MS software then post you issue in connect.
    https://connect.microsoft.com/
    ¯\_(ツ)_/¯

  • Excluding one or some columns in output of Get-process cmdlet doesn't work

    hello
    in PS 4.0 i need a command so that the output includes all columns except for, one or two columns ? 
    for example  get-process cmdlet shows seven columns. i need a cmdlet to show all columns except for handles & cpu columns.
    ( instead of running Get-process | select -object NPM,PM,WS,VM,CPU,ID )
    note: i tested the following command but it still shows handles & cpu columns in the output
    ( Get-process | select -excludeproperty  handles,cpu )
    thanks in advanced

    Bill should have also pointed out that you can change the "Types" files to adjust output permanently.  I am sure that this would save you much typing.
    PowerShell is very flexible. We can select properties with wild cards...
    get-process|select s*,c* -first 3|ft -auto
    You can adjust this as needed.
    ¯\_(ツ)_/¯
    hi jrv
    i didn't understand you first post at all:
     "have a better and more permanent solution.
    Print out put to very large wide E or F size plotter in landscape mode.... 
    Take scissors and cut out columns not needed.  Tape bits together.  NOw you have the results you like."
    but i undrestood your 2nd post, that nice. 
    thank you very much,
    i also found this workaround:
    Get-Process | Select-Object -Property * -ExcludeProperty cpu,handles | format-table -Autosize
    regards

  • How can I get better looking slow mo??

    Right now when I retime my vdieos in fcpX the movement gets blurred and looks like sh** its really annoying. How can i get my videos slowed down without losing the sharpness, and by getting rid of the motion blur?? CHEERS!!

    Getting good, or great results depends quite a lot on your source video.
    Use a tripod, not hand held. (or attached to your surf board)
    Use progressive.
    Shoot 60p fps and conform it to either 30 or 24 fps. (50% or 40%)
    Shoot with a high shutter speed, at least double your frame rate.
    Try not to pan, a moving subject with a moving background is more difficult to slow down.
    Optical flow can improve things, but that depends a lot on what you're trying to slow down. Products like Twixtor have much more control than FCP X's optical flow option, but I don't think they have a plug-in for FCP X.
    Some of the best examples you'll see on the web (really slow stuff like 10%) are typically shot with a DSLR, on a tripod, really high shutter speed and only one moving object. (person flying off a skate board)
    If you don't have the option to control what and how the video is shot, then you really won't get very good results. I would suggest only slowing it down 50%, or conform from 60 to 30. But if it's interlaced, then you really only have 30 frames to work with. (or 60 fields)

  • I am using ipod touch 4g 8 gb, with ios6 software. It is getting very very slow even after i reinstalled the software. Apps like temple run 2 and subway surfers are getting stuck and it is very very slow.My ipod has 2.6 gb free space.

    I am using ipod touch 4g 8 gb, with ios6 software. It is getting very very slow even after i reinstalled the software. Apps like temple run 2 and subway surfers are getting stuck and it is very very slow.My ipod has 2.6 gb free space. What is the problem. I am not getting to know. Even after i reinstalled these apps it is still getting stuck and it is very very slow. Is this what i get after paying so much money for ipod. Is this what i get very poor perfomance.

    Periodically double click the home button and close all the apps in the recently used dock. Then power off and then back on the iPod. This frees up memory. The 4G only has 256 MB of memory.
    Next
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
    - Restore to factory settings/new iOS device.             

  • Is there any way to make my iPod Touch 4G to run faster? When I bought it, it was turbocharged! But now it seems to get a bit slower... Thanks in advance for any help

    Is there any way to make my iPod Touch 4G to run faster? When I bought it, it was turbocharged! But now it seems to get a bit slower... Thanks in advance for any help

    Periodically delete all apps from the recently-used bar (double clickHome button) and power off and then back on the iPod. With iOS 5, the iPod uses more memory (do not confuse with storage) and periodically you have to reclaim memory for use.

  • Get-vmnetworkadapterextendedacl cmdlet in php script

    Hi friends,
    I need to call get-vmnetworkadapterextendedacl command from PHP page. so, with the help of http://theboywonder.co.uk/2012/07/29/executing-powershell-using-php-and-iis/ web page i wrote following 2 scripts.
    PHP page (index.php)
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Testing PowerShell</title>
    </head>
    <body>
    <?php
    // If there was no submit variable passed to the script (i.e. user has visited the page without clicking submit), display the form:
    if(!isset($_POST["submit"]))
    ?>
    <form name="testForm" id="testForm" action="index.php" method="post" />
    Your name: <input type="text" name="username" id="username" maxlength="20" /><br />
    <input type="submit" name="submit" id="submit" value="Do stuff" />
    </form>
    <?php
    // Else if submit was pressed, check if all of the required variables have a value:
    elseif((isset($_POST["submit"])) && (!empty($_POST["username"])))
    // Get the variables submitted by POST in order to pass them to the PowerShell script:
    $username = $_POST["username"];
    // Best practice tip: We run out POST data through a custom regex function to clean any unwanted characters, e.g.:
    // $username = cleanData($_POST["username"]);
    // Path to the PowerShell script. Remember double backslashes:
    $psScriptPath = "F:\\webbased\\TheSite\\get-list.ps1";
    // Execute the PowerShell script, passing the parameters:
    $query = shell_exec("powershell -command $psScriptPath -username '$username'< NUL");
    echo $query;
    // Else the user hit submit without all required fields being filled out:
    else
    echo "Sorry, you did not complete all required fields. Please go back and try again.";
    ?>
    </body>
    </html>
    Get-list.ps1 script
    param(
    [string]$username
    # Increase buffer width/height to avoid PowerShell from wrapping the text before
    # sending it back to PHP (this results in weird spaces).
    $pshost = Get-Host
    $pswindow = $pshost.ui.rawui
    $newsize = $pswindow.buffersize
    #$newsize.height = 30000
    #$newsize.width = 40000
    $pswindow.buffersize = $newsize
    Write-Output "Hello $username <br />"
    # Get a list of running existing ACL:
    $processes = get-vmnetworkadapterextendedacl
    # Write them out into a table with the columns you desire:
    Write-Output "<table>"
    Write-Output "<thead>"
    Write-Output " <tr>"
    Write-Output " <th>ParentAdapter</th>"
    Write-Output " <th>Direction</th>"
    Write-Output " <th>Action</th>"
    #Write-Output " <th>LocalIPAddress</th>"
    #Write-Output " <th>RemoteIPAddress</th>"
    #Write-Output " <th>LocalPort</th>"
    #Write-Output " <th>RemotePort</th>"
    #Write-Output " <th>Protocol</th>"
    #Write-Output " <th>Weight</th>"
    #Write-Output " <th>Stateful</th>"
    Write-Output " </tr>"
    Write-Output "</thead>"
    Write-Output "<tfoot>"
    Write-Output " <tr>"
    Write-Output " <td>&nbsp;</td>"
    Write-Output " <td>&nbsp;</td>"
    Write-Output " <td>&nbsp;</td>"
    #Write-Output " <td>&nbsp;</td>"
    #Write-Output " <td>&nbsp;</td>"
    #Write-Output " <td>&nbsp;</td>"
    #Write-Output " <td>&nbsp;</td>"
    #Write-Output " <td>&nbsp;</td>"
    #Write-Output " <td>&nbsp;</td>"
    #Write-Output " <td>&nbsp;</td>"
    Write-Output " </tr>"
    Write-Output "</tfoot>"
    Write-Output "<tbody>"
    foreach($process in $processes)
    Write-Output " <tr>"
    Write-Output " <td>$($process.ParentAdapter)</td>"
    Write-Output " <td>$($process.Direction)</td>"
    Write-Output " <td>$($process.Action)</td>"
    #Write-Output " <td>$($process.LocalIPAddress)</td>"
    #Write-Output " <td>$($process.RemoteIPAddress)</td>"
    #Write-Output " <td>$($process.LocalPort)</td>"
    #Write-Output " <td>$($process.RemotePort)</td>"
    #Write-Output " <td>$($process.Protocol)</td>"
    #Write-Output " <td>$($process.Weight)</td>"
    #Write-Output " <td>$($process.Stateful)</td>"
    Write-Output " </tr>"
    Write-Output "</tbody>"
    Write-Output "</table>"
    #*=============================================================================
    #* END SCRIPT BODY
    #*=============================================================================
    #*=============================================================================
    #* END OF SCRIPT
    #*=============================================================================
    if i execute this powershell script in powershell ISE, it will correctly gives the out put in html table but not in PHP page. most weird issue is if i replace different powershell cmdlet instead of get-vmnetworkadapterextendedacl (eg. Get-process) then the
    output is correctly displaying in php page. I used php 5.5 installed by MS WPI on windows server 2012 R2
    1. Where does i miss the point ?
    2. Do we need additional security config to execute get-vmnetworkadapterextendedacl cmdlet ?
    Its a big help experts...
    Regards
    Gayan
    Gayan attygala

    I don't know if this has anything to do with why the output isn't correct, but you can more easily convert the data to HTML like this:
    Write-Output (get-vmnetworkadapterextendedacl | select ParentAdapter,Direction,Action,LocalIPAddress,RemoteIPAddress,LocalPort,RemotePort,Protocol,Weight,Stateful | ConvertTo-HTML)
    Using that line will eliminate everything from $processes = to the end of the script.
    I hope this post has helped!

  • SCCM 2012 SP1 and Exchange 2013 Connector Get-Recipient cmdlet failed

    I have been trying to get my Exchange Connector working with SCCM 2012 SP1 for a week or so now. Every post tells me that the Get-Recipient cmdlet failed is a security permissions error. I have given the service account running the connector full Exchange
    Server Management rights including Recipient Management and Organization View-Only. I have even tested remote power shell to the CAS server and run the cmdlet with no issues.
    For some reason it just does not want to work for me. Has anyone been running into this issue?

    Now before you read the following error and say oh this is a permission issue I am telling you it is not. I have given the account full Exchange admin rights and I have even tested the Get-Recipient cmdlet remotely to the Exchange server and it works with
    no issues. I have also noticed multiple forum posts with the exact same issues.
    I have noticed one thing that stands outs "Cannot bind parameter 'Filter' to the target. Exception setting "Filter": "The value "$true" could not be converted to type System.Boolean"
    I believe this issue may be related to changes in the powershell commands with Exchange 2013, but I do not know where or how to edit the ps1 script.
    I am getting the error below:
    ERROR: [MANAGED] Invoking cmdlet Get-Recipient failed. Exception: System.Management.Automation.RemoteException: Cannot bind parameter 'Filter' to the target. Exception setting "Filter": "The value "$true" could not be converted to
    type System.Boolean."~~   at System.Management.Automation.PowerShell.CoreInvoke[TOutput](IEnumerable input, PSDataCollection`1 output, PSInvocationSettings settings)~~   at System.Management.Automation.PowerShell.Invoke(IEnumerable input, PSInvocationSettings
    settings)~~   at System.Management.Automation.PowerShell.Invoke()~~   at Microsoft.ConfigurationManager.ExchangeConnector.Connector.Invoke(PSCommand cmd)
    SMS_EXCHANGE_CONNECTOR 9/19/2013 12:00:01 AM
    4200 (0x1068)
    STATMSG: ID=8817 SEV=W LEV=M SOURCE="SMS Server" COMP="SMS_EXCHANGE_CONNECTOR" SYS=MySite SITE=MySiteID PID=xxx TID=xxx GMTDATE=Thu Sep 19 07:00:01.653 2013 ISTR0="Get-Recipient" ISTR1="ParameterBindingFailed,Microsoft.Exchange.Management.RecipientTasks.GetRecipient"
    ISTR2="Cannot bind parameter 'Filter' to the target. Exception setting "Filter": "The value "$true" could not be converted to type System.Boolean."" ISTR3="" ISTR4="" ISTR5="" ISTR6=""
    ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0
    SMS_EXCHANGE_CONNECTOR 9/19/2013 12:00:01 AM
    4200 (0x1068)
    ERROR: [MANAGED] Exception: Cannot bind parameter 'Filter' to the target. Exception setting "Filter": "The value "$true" could not be converted to type System.Boolean."
    SMS_EXCHANGE_CONNECTOR 9/19/2013 12:00:01 AM
    4200 (0x1068)

  • My computer gets old and slow, and i"ll must get a new one, can I download my PS CC version at my new one.? I have an PS CC account.. Which steps must I take?

    My computer gets old and slow, and i"ll must get a new one, can I download my PS CC version at my new one.? I have an PS CC account.. Which steps must I take?

    hello; i just erased the post i started with, because my status has changed. i searched in the firefox folder and found the uninstall folder, and this time, uninstall worked perfectly, and it gave me an option to save my personal info! YAY! i installed ff 3.6.24 without a hitch; FF is Baaaaaack!
    However, I did get a window saying my computer doesn't have enough resources for the latest version of 8, but that I should install the latest compatible version of firefox; which version would that be, I wonder? It takes me to the same page with the ff 3.6.24 downloads. I already have that now.
    I am going to mark this as solved; thank you cor-el for helping me with this problem and sticking with me as i whined and moaned, and tried to get the courage to "just do it!"

  • Get-DfsrBacklog cmdlet doesn't work from remote computer (pssession)

    Hi there!
    I try to manage our Server 2012 R2 boxes from a Windows 7 remote machine using PowerShell. For some reason the cmdlet "Get-DFSRbacklog" seems not working remotly. The same cmdlet work when logging in locally to the server(s) with the
    same credentials. UAC is turned off on the target machines and i have local admin permissions on this servers using my domain account.
    What i do is:
    Enter-PSSession <servername>
    Get-DfsrBacklog -SourceComputerName <servername> -DestinationComputerName <servername>
    Then i receive the following error:
    Get-DfsrBacklog : Could not retrieve the backlog information. Replication group: "*" Replicated folder: "*" Source
    computer: <servername> Destination computer: <servername> Confirm that you are running in an elevated Windows PowerShell
    session and are a member of the local Administrators group on the destination computer. The destination computer must
    also be accessible over the network, and have the DFSR service running. This cmdlet does not support WMI calls for the
    following or earlier operating systems: Windows Server 2012. Details: WinRM cannot process the request. The following
    error with errorcode 0x8009030e occurred while using Kerberos authentication: A specified logon session does not
    exist. It may already have been terminated.
     Possible causes are:
      -The user name or password specified are invalid.
      -Kerberos is used when no authentication method and no user name are specified.
      -Kerberos accepts domain user names, but not local user names.
      -The Service Principal Name (SPN) for the remote computer name and port does not exist.
      -The client and remote computers are in different domains and there is no trust between the two domains.
     After checking for the above issues, try the following:
      -Check the Event Viewer for events related to authentication.
      -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or
    use HTTPS transport.
     Note that computers in the TrustedHosts list might not be authenticated.
       -For more information about WinRM configuration, run the following command: winrm help config.
        + CategoryInfo          : ProtocolError: (zursf1003:String) [Get-DfsrBacklog], DfsrException
        + FullyQualifiedErrorId : Get-DfsrBacklog.CimException,Microsoft.DistributedFileSystemReplication.Commands.GetDfsr
       BacklogCommand
    Any ideas?

    This article
    suggests that you're logged into your Win7 management machine with local credentials. You should try the Get-DfsrBacklog command with domain credentials:
    Client is in a domain: Attempting to connect to a remote server by using implicit credentials that are the local administrator's credentials on the client. Instead, use domain credentials that are recognized by the domain of the target server, or right-click
    the server entry in the Servers tile, click Manage As, and then specify credentials of an administrator on the target server.
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • Why is getting patches so slow

    We have a patch proxy setup to speed up installation of patches.
    But it struck me that downloading a patch for the first time to cache it is surprisingly slow.
    So I looked into it and observed that patch 113886-34 which was downloading at the time had taken 40 minutes to download about 25 Megs (of the 45 meg patch size). A speed which worked out at about 10k per second.
    So as a comparison I manually downloaded the jar file from sunsolve and it came through at about 300k per second.
    So why is downloading patches through smpatch update and a local patch proxy 30 times slower than downloading them manually.?

    Well, which one should it be ?
    By default, I have:
    patchpro.patch.source https://getupdates1.sun.com/
    Once in a while it complains due to a connection reset (it's a slow link on our end as well at this point but still)
    Since I have several systems with the same hardware, I've tried to set up a patch server. That one points to:
    Patch source URL: https://getupdates1.sun.com/solaris/
    But I also pointed to (as the instructions mention) to getupdates.sun.com
    At that time, I pointed the clients to:
    patchpro.patch.source http://xxx.xxx.xxx:3816/solaris/
    Yesterday afternoon all I would get where connection resets. Now it starts to download a couple of patches but eventually it dies.
    But I also noticed that some have it set to:
    patchpro.patch.source - https://updateserver.sun.com/solaris/
    So, which one should it be, a) for a direct connection and b) for the patch server.
    All boxes are solaris 10, and the ones I've tested do have the latest (rev. 8) update manager patch.
    Note that we have a SunSpectrum silver contract, so I'm not sure if we should be pointing this to somewhere else instead...
    Even with our slow link, I never have problems downloading patches via RHN for our other servers... I thought after 1.5 years this would be 'useful'
    In any case, smpatch get output is:
    patchpro.backout.directory - ""
    patchpro.baseline.directory - /var/sadm/spool
    patchpro.download.directory - /var/sadm/spool
    patchpro.install.types - rebootafter:reconfigafter:standard
    patchpro.patch.source http://xxx.xxx.xxx:3816/solaris/ https://getupdates1.sun.com/
    patchpro.patchset - current
    patchpro.proxy.host - ""
    patchpro.proxy.passwd **** ****
    patchpro.proxy.port - 8080
    patchpro.proxy.user - ""

  • Snow Leapard, clean install, garageband, getting disk to slow 10005 error. What to do?

    I run a computer business. My customer gave me a white macbook core duo. I upgraded to 2gigs of memory from 512mb. I then purchased a full copy of snow leapard and did a clean install. I setup garageband for the first time. This is all I want to use the computer for. I don't deal with macs in my business. I only work on windows. So, I thought this computer would be nice just to use to setup a small recording studio. I did everything by the book and now when I record I am getting the disk to slow error 10005. This happened after I recorded about five songs. I checked the we and it seems like this error has been around for years with frustration and no resolution. My question is this. Should I just buy another computer or waste my time trying to fix this error. I don't mean that in a bad way. Since this error has been around for so long, I don't to spend all my time working on the computer when I could be recording. What would you do?

    error -10005 errAEReadDenied  or  telBadProcErr: bad msgProc specified
    Drive could be going.
    Backup off the machine what you have, c boot off the 10.6.3 disk and use Disk Uility to Erase the drive with Zero fill (Security option) and then reinstall OS X and try again, likely will clear up the issue.
    This will map off any bad sectors as I'm sure your familiar with the proceedure. Sometimes this works quite well.
    If this doesn't work, try a external drive with 10.6 installed on it, hold the option key down to boot from it.
    Revert the RAM back to factory too, right specs?
    Good Luck.

  • Spaces get confused and slow it all down

    Has anyone else had trouble with Spaces losing the plot? I've found Microsoft Office in particular sometimes opens a document but refuses to actually show it, so somehow the space isn't switching. Also found a reluctance to move to the finder when clicking on the desktop. It all seems to get a bit stuck. So after losing patience and deleting my spaces and all the app designations, I just realised how slow and sticky the machine has been. With Spaces deactivated Leopard is a pleasure to use and as snappy as, dare I say it, OS 9! Anyone got any tips on making spaces work better? Or does it just need some development?

    Just wanted to chime in and say that I've had a similar experience with Spaces. I often have 10 - 15 applications open at a time, so I thought this would be a nice way to unclutter things a bit. Unfortunately, it seemed that different actions took much longer to complete. Specifically when working and switching between Adobe CS3 programs. I still only have the 2GB of RAM that originally came with the machine, so maybe it's simply a matter of boosting the RAM.

  • Cannot Install Anti Spam Agents - get-transportserver cmdlet not found

    Getting the following error when trying to install antispam agents on hub transport server (single exchange server 2010 environment, no edge server):
    [PS] D:\Program Files\Microsoft\Exchange Server\V14\scripts>.\install-antispamagents.ps1
    get-transportserver : The term 'get-transportserver' 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.
    At D:\Program Files\Microsoft\Exchange Server\V14\scripts\install-AntispamAgents.ps1:19 char:20
    + $transportserver = get-transportserver -id $localservername
    +                    ~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (get-transportserver:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    Failed to find the Transport server: <myserver>
    Any help would be appreciated as to where I can find the missing cmdlets or download/reinstall them...thanks
    Sorry...moved this to the Exchange 2010 Forum

    Hi Ckuriger1,
    The thread is duplicated with :
    https://social.technet.microsoft.com/Forums/en-US/b7d62cf4-7f29-4d9b-91b6-06a0340a5b41/cannot-install-anti-spam-agents-gettransportserver-cmdlet-not-found?forum=exchange2010
    I will merge this thread to the above one. Thanks for the understanding.
    Regards,
    Simon Wu
    TechNet Community Support

Maybe you are looking for