Why is the connectionUri different in WSManConnectionInfo object for exchange and windows?

For exchange the connection uri used is : 
'http://machineName/powershell'
The WSManConnectionInfo object is created in the following way:
 WSManConnectionInfo connectionInfo = new WSManConnectionInfo(new Uri("http://machineName/powershell"), "http://schemas.microsoft.com/powershell/Microsoft.Exchange", ExchangeCredential)
To connect to windows, the uri used is 
'http://machineName::5985/wsman '
The WSManConnectionInfo object is created in the following way:
 WSManConnectionInfo connectionInfo = new WSManConnectionInfo(new Uri("http://machineName:5985/wsman"), "http://schemas.microsoft.com/powershell/Microsoft.PowerShell", credential);
Why is there a difference in the connection uri for exchange and windows?

Hi Cmm user,
You can refer to WSManConnectionInfo Constructor (Uri, String, PSCredential) to understand.
uri: The URI that defines the connection endpoint where the remote runspace is opened.
shellUri: The URI of the shell that is launched when the connection is made.
credential: A
PSCredential object that contains the user account that has permission to make the connection.
For connection to Exchange server, please refer to this article to understand:
How to: Get a list of mail users by using the Exchange Management Shell in Exchange 2013:
http://msdn.microsoft.com/en-us/library/office/ff326159(v=exchg.150).aspx
For connection to Windows server, the uri is as the ConnectionURI, which Specifies the connection endpoint. The format of this string is:
<Transport>://<Server>:<Port>/<ApplicationName>
I hope this helps.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.

Similar Messages

  • Why is the time different on my iphone4 for messages and reminders to the actual time on my phone

    I have had to set the time zone on my phone manually as it is wrong. so now that shows correctly. However when i set a reminder and get messages. They show up as a different time zone altogether. So my reminders are coming through 12 hours too late. How can I fix this? I have tried resetting the time manually and automatically.

    On your iPhone ..
    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    Then tap Settings > General > Date & Time
    Switch:  Set Automatically ON
    No data is lost due to a reset.

  • Why does the hdmi adapter(purchased from apple for $40) no longer mirror my iPad 2?

    Why does the hdmi adapter(purchased form Apple for $40) no longer mirror my ipad 2?  If ios6 prevents this, will they return my money?

    Does this involve iPhoto in any way? I believe you need to post in a different forum - and since these are strictly uuser to user forums answers about what Apple does or will do are not likely nor reliaible - you need to contact Apple for Apple answers
    LN

  • What's the variable gpuAccelerate in stage object for?

    Hi!
    What's the variable gpuAccelerate in stage object for?
    It's per default false.
    I've tried to find an answer to this but I couldn't get one from tech docs.
    It also doesn't seem to change paints (looking at one of my animations in Canary's Inspector) if true.
    Thanks,
    Volker

    Hi Darrel, hi Elaine!
    @Darrel: I'm aware of the hardware (GPU) acceleration options in different browsers/systems. I'm just wondering _what_ the boolean in the script output of Edge actually does.
    @Elaine: But _when_ would it switch on GPU in the animations and _where_ (which browsers/platforms)? There's no documentation I've found so far about it and the var is included in every animation with default 'false'.
    And what are the possible pitfalls?
    After beautifying edge-1.5.0.min.js it seems that it just enables the translateZ trick for (some) Webkit based browsers.
    if (this.gpuAccelerate && f[0].style && (typeof n === "undefined" || n === "" || n === "none")) f[0].style.webkitTransform = "translateZ(0)";
    But Edge does anyways already use 3D transitions in its animations?
    Thanks,
    Volker
    Message was edited by: Volker_E

  • With "Do Not Disturb" active, why does the iPhone beep when plug in for recharge?

    With "Do Not Disturb" active, why does the iPhone beep when plug in for recharge?
    I usually go to bed after my wife. I have the Do Not Disturb set for 11 pm to 7 am, and I can see the moon symbol.
    So why when I go to bed at midnight and plug in my iPhone to recharge do I get a LOUD BEEP?
    My wife is banning my phone from being next to my bed and an alarm clock.
    To me it seems that the "Do Not Disturb" should turn this beep into a vibrate.

    section2i:
    If that is true, then you should file that as a bug using the link above:
    If I am reading what you are saying correctly, you are saying that when vibrate is 'off', and you turn on the phone and plug it in that a vibration occurs, and that it is not respecting the vibrate 'off'.
    That would be a slightly different issue from what I am asking about (Do Not Disturb), and would probably need a separate bug report.

  • Why is the same wirelles connection too slow for an iphone4 when it is quite fast to an iphone5?

    Why is the same wirelles connection too slow for an iphone4 when it is quite fast to an iphone5?

    You really have a question for iPhone support here, so I suggest that you post in the appropriate support area:
    Using iPhone
    The experts over there will likely suggest that you use the Apple Troubleshooting Guide for iOS devices, so you might want to work your way through that before you post in the iPhone support area.
    http://support.apple.com/kb/TS1398

  • Why are the graphics/page in facebook suddenly smaller font and images? Is not happening in IE and screen resolution is correct.

    Why are the graphics/page in facebook suddenly smaller font and images? Is not happening in IE and screen resolution is correct.

    I heard back from Nike+ support and they said that there will be newer pics soon and it also appears that this corrected itself for my runs, but not the user pic, I only get girly options, I wouldn't mind a picture of a guy on 'ROIDS!!! Just kidding, but something less feminine or cartoon like, I'm trying to be serious about this and the site should reflect that.

  • Why has the new ipod nano no connector for a speaker dock?  The white blank at the bottom looks as if one was intended, but then there were design problems?

    Why has the new ipod nano no connector for a speaker dock?  The white blank at the bottom looks as if one was intended, but then there were design problems?

    IKR! But u an order a connector that can plug nto any old speakers and then connect to your charger port and it will play music!

  • Why does the software update say that drivers for my printers are not available? I have the drivers installed from the CD but can't add the printer because it wants to go through software update.

    I have the latest operating system, but can't get my printers added. Why does the software update say that drivers for my printers are not available? I have the drivers installed from the CD but can't add the printer because it wants to go through software update.

    It's pretty difficult to offer suggestions when you say nothing about your Mac, the version of Mac OS it's running, or the models of printers you have. This forum, however, is intended for questions about old, pre-G3 hardware, so unless you are asking about an very old Mac, this is not the forum where you'll be most likely to get help with your problem. I'd suggest you ask this question in the forum for your model of Mac or version of Mac OS X it's running. You'll be more likely to get assistance there, assuming you provide sufficient detail for anyone to make a diagnosis of the problem.
    Regards.

  • Why doesnt the DVD version of iworks work, after uploading (and then deleting) the trial version?

    why doesnt the DVD version of iworks work, after uploading (and then deleting) the trial version?

    Check out this discussion in the iWork forum. Yvan's AppleScript (about 6 messages down) will solve your problem.

  • Why is the IOS 8 update not available for the Iphone 4?

    Why is the IOS 8 update not available for the Iphone 4? Will it ever be available? I cannont afford a new Iphone at this time so why am i being penalized for not having a new Iphone. Very upset

    Scottwick wrote:
    I think they want you to upgrade to the new Iphone  or get the Iphone c or s
    Well of course they would, but that's not why iPhone 4 can't have iOS8.  It is simply the fact iPhone 4 can't support the features of iOS8.  Le'ts be realistic in recognizing iPhone 4 is now over 4 years old.  In cell phone land, that is ancient........

  • Why has the download/buffering speed slowed down for videos?

    Why has the download/buffering speed slowed down for videos?
    What can be done about it?
    TIA,
    R. Ober

    The problem is with your router, your internet service provider or you have a marginal connection with your router.
    Locate your iPad close to your wifi router and see if the problem persists.
     Cheers, Tom

  • Any reason why my MacBook Pro keeps dropping the WiFi signal - will be fine for ages and then just drops it!, Any reason why my MacBook Pro keeps dropping the WiFi signal - will be fine for ages and then just drops it!

    Any reason why my MacBook Pro keeps dropping the WiFi signal - will be fine for ages and then just drops it! Does it at home and work so not either broadband connection

    jp270759 wrote:
    Hi. MAny thanks for the answer. Am new to Apple - what's the "real" MacBook Pro forum?
    I would like to know also!
    For your issue - Solution may be found if you search in the "More Like This" section over in the right column.
    Change your router channel.  Sometimes this is all you will have to do.
    Power cycling the router.  Read the router's user manual or contact their tech support for instructions.
    System Preferences/Internet & Network/Network
    Unlock the padlock
    Locations:  Automatic
    Highlight Airport
    Click the Assist Me button
    In the popup window click the Diagnostic button.
    System Preferences/Network- Unlock padlock.  Highlight Airport.  Network Name-select your name.  Click on the Advanced button.  Airport/Preferred Networks-delete all that is not your network.
    Place a check mark next to "Remember networks this computer has joined."  Click the OK button and lock the padlock.  Restart your computer.
    http://support.apple.com/kb/TS1920 Mac OS: How to release and renew a DHCP lease
    No internet connection (wireless)
    Check to see if an extra entry is present in the DNS Tab for your wireless connection (System Preferences/Network/Airport/Advanced/DNS).
    Delete all extra entries that you find.
    Place a check mark next to "Remember networks this computer has joined."
    Other resources to check into:
    Troubleshooting Wi-Fi issues in OS X Lion and Mac OS X v10.6
    Netspot
    How to diagnose and resolve Wi-Fi slow-downs
    Pv6 troubleshooting
    Mac OS X 10.6 Help:  Solving problems with connecting to the Internet
    What Affects Wireless Internet?
    Solutions for connecting to the Internet, setting up a small network, and troubleshooting

  • Why is the Executable class only available in Script Task and not in Script Component.

    Why is the Executable class only available in Script Task and not in Script Component.
    Here is a link to the Executable class documentation.
    http://technet.microsoft.com/en-us/library/microsoft.sqlserver.dts.runtime.executable.aspx
    Mr Shaw

    Because Executables are available only in Control Flow. Script Task is a control flow component whreas Script Component is a data flow component. It works on data buffer and rows and not on executables.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Difference between Callable Object for execution and Display

    Hi,
             I am new to Guided Procedures.When i am creating a callable object under an Action ,i find callable object for execution and callable object for display in the dropdown.What is the difference between the two types of callable objects.
    Thanks,
    Bala

    Hi Bala,
    GP comes with a set of registered callable object types that define which applications you can directly expose as callable objects and enable their handling in the context of GP processes.
    So the different COs can handle your specific application requirements or process flow requirements appropriately at runtime.
    You refer those COs in actions. To make the action functional, you attach at least one callable object to it. In addition to the object that is executed when the action is called, you can attach a callable object that is displayed after the execution. The first one is mandatory. You must attach a callable object for execution. It can be either a callable object with a visible part, such as a Web Dynpro or BSP callable object, or one for background execution.
    Optionally, you can attach a callable object for display. It is required to have a visible part – for example, you cannot select a callable object for background execution.
    At runtime, this object is displayed if the processor wants to open the process step after it has been completed, or if a process contributor has view permissions on the action.
    To make it easier, I will give you an example with submitting and approving a composite form. Say, the employee fills in an order for something, submits it and the manager then approves or rejects it.
    First, in order for the employee to view the form, you can use a Form Display callable object as a display callable object for actions where the execution object is a form. It displays the name and description of the form and provides a link for download. If the user has view permissions on the step, he or she can view the display object and download the form itself. So, this CO is connected basically with the user experience and what he/she sees displayed on the screen, no matter what happens in the background (e.g. you can have a pre-filling service in the background that prefills some fields of the form, but what the user sees is only the form fields with certain info already prefilled in them).
    Next, for the manager to approve or reject the form of the employee, you need a CO that is only for execution, for example a Process Control CO for File Approval For forms, you can use it in a process in which a form is sent by e-mail. As soon as the form is submitted back to the system, the receiver can view it, save a copy of the form, and depending on his or her decision, can approve or reject it.
    This really is a very simplified example, but I hope it helped a little in some way or another
    Here is a link to the Callable Objects in GP documenatation, hope it also clears up some questions:
    http://help.sap.com/saphelp_nw70/helpdata/en/d2/d174413aff5458e10000000a1550b0/frameset.htm
    Also, a link to the documentation for exposing COs:
    http://help.sap.com/saphelp_nw70/helpdata/en/08/d88041a17e060de10000000a1550b0/frameset.htm
    HTH:)
    Greets,
    Petra

Maybe you are looking for