Using PowerShell ISE on Exchange Edge Server

I need manage edge servers from PowerShell ISE to create a script. I tried the steps mentioned on TechNet, but they give an error due to Kerberos not being usable on a workgroup computer.
Any ideas how I can manage to do this without much tinkering?
TechNet Article that doesn't work with Edge server:
http://technet.microsoft.com/en-us/library/dd335083(v=exchg.150).aspx

Hi,
According to the description, I notice that you are using workgroup computer.
If you are using workgroup computer, based on my knowledge, it seems impossible to apply Edge settings.
If you have Script requirement, I suggest ask Script Center for help, so that you can get more professional suggestions. For your convenience:
http://technet.microsoft.com/en-us/scriptcenter/dd742246.aspx
Thanks 
Mavis Huang
TechNet Community Support

Similar Messages

  • Can i use vps's for linux edge server's???

    I can stream to edge server on fme------>windows7-edge ------> origin-linux-dedicated--and or--vps------>website works...
    but cant do fme---->linix-edge-vps------>linux-orgin-dedicated--or----vps------>website Doesnt work
    nore can i do fme------>linux-edge-vps--->windows7-origin---->website Doesnt work
    All using latest centos tried and same results with ununtu
    so am i out of luck for using vps's?
    any help would be great thanks

    yeah no that doesn't work but get this...
    when i publish to windows edge server the signal gets sent to origin vps  then to viewers...
    but if i make windows origin and vps edge server is does not work dont understand why this is happening
    Date: Wed, 22 Dec 2010 01:45:19 -0700
    From: [email protected]
    To: [email protected]
    Subject: can i use vps's for linux edge server's???
    I agree load balancing part but load balancing should be done in context of subscribing and not in terms of publishing. You can do failover in context of publishing using Multi-point publish.
    If you publish directly to origin and then introduce edge servers for subscribing do you still face issue.
    I mean if you set up your linux VPS as edge and then subscriber goes through that edge - say like rtmp://linuxedge/?rtmp://origin/live - does this work?
    Can you try that out and let me know.
    >

  • Exchange Edge Server - 2010 (helpdesk to view queue viewer)

    Setup - Exchange Server Edge 2010 running in DMZ
    Question: Created a local account for Helpdesk team, allowed RDP permission to them, they unable to view Queue Viewer, getting an error message "couldn't find the enterprise organization container'
    What permission do i need to give to local account to view queue viewer, need info on power shell command to use to provide them access.
    I am sure RBAC would play a role here, command info, pls assist.
    Thanks
    Inderjit

    Hello Inderjit
    Unfortunately we cant use RBAC on EDGE server
    On Edge Transport servers, RBAC isn't used to control permissions. The local Administrators group is used to control who can configure
    Exchange features on the local server.
    https://technet.microsoft.com/en-in/library/dd297943(v=exchg.141).aspx
    https://technet.microsoft.com/en-in/library/aa996854(v=exchg.141).aspx
    sandip

  • Is it possible to use Powershell to determine if Windows Server Source Files are present on disk?

    Hi everyone,
    I would like to know if it is possible to use a Powershell cmdlet to determine if Windows Server 2012 (R2) Source Files are present on disk.
    We are using an automated PS script to install roles and features and some registry keys and applications afterwards. If the Source Files are not present, the script will fail, so I would like a# Check if Source Files are present # stage built in
    the script to determine if the source files are present or that an alternate source path needs to be used.
    Is this possible with Powershell and if so, how can we achieve this?
    I'll appreciate your answer.
    - Rob

    Hi Rob,
    I assume that you are using powershell command "install-windowsfeature" .
    I would suggest you add the parameter "-source" to specify the alternate path of thesource file .
    " The path specified in this parameter is only used if the command cannot find feature files in the local side-by-side store of the specified target computer or VHD. "
    For details please refer to the article below :
    https://technet.microsoft.com/en-us/library/jj205467(v=wps.620).aspx
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • Use Powershell to deactivate Feature SharePoint Server Publishing Infrastructure

    Hi - we have activated Feature SharePoint Server Publishing Infrastructure on a site collection and now we have lost access that site - So is there a way I can use PowerShell to deactivate the feature?
    Thanks
    J

    Hi J,
    I'm not getting "we have lost access that site", Site administrator and System Account always have access to the site unless there is some error coming on the site which is not letting user to login in the browser.
    If you are getting access denied error then powershell script also throw the same error. So, for running powershell script you must have access to site.
    Best Regards,
    Brij K
    http://bloggerbrij.blogspot.co.uk/

  • Which free linux can I use on a Dell Power Edge Server 2650

    Dear all,
    I have recently joined the subscription program and want to install Netweaver. From my old company I could purchase a couple of Dell Power Edge Servers 2650 with 6GB RAM, Dual Core etc - so plenty of hardware. As next step I want to install a linux OS to be able to to install SAP trial version and/or the Netweaver software from the subscription program.
    In the compatibility section I have read that I need either SUSE or RedHat linux enterprise edition. But these enterprise editions cost money when purchasing it. Is there also a free linux edition that I could use? If not, which enterprise linux would be the cheapest that I could use?
    Thanks and best regards
    Daniel Blaschkowski

    Hi Daniel,
    you can download a copy of the installation DVD of SUSE Enterprise Server 10SP2 for free from the Novell's Web Site. You won't have support nor will you be able to get software updates but it will allow you to get a first feeling about Netweaver on Linux.
    Another option is to use [Centos |www.centos.org] that is a clone of Redhat Enterprise Server. You will have to cheat a little bit to be able to install SAP on it (you have to make your Centos appear like it is a true Redhat) but it works without a hitch.
    Of course, do not run any production instances on such setups as you will get into trouble with SAP support in case you open up a problem message related to these platforms
    Have fun,
    Seb

  • Learn how to use Powershell with AD, Exchange and Excel

    Hi.
    I want to learn how to script in Powershell to make my life easier at work.
    Now, I'm creating Distribution Lists with cmdlets, and other simple moves, but I'd like understand and use scripts with Excel to make it easier in AD and Exchange.
    Can anyone help me find out where I can learn Powershell with those tools? I've searched google and youtube, and bought books, but I'd like to learn especially about AD and Exchange through Excel.
    I also have another question, I'm trying to collect the telephonenumbers in one OU in AD, and found this cmdlet:
    Get-AdUser -Filter * -Properties OfficePhone | FT OfficePhone,UserPrincipalName
    I lined ut the OU path before -Filter, and used * -Properties Telephones Mobile to find the phonenumber in Properties-Telephones-Mobile in Active Directory. But I'm obviously doing something wrong.
    Could anyone please help me? 

    Hi Wezcomp,
    first of all, you can use Get-Help to learn how to use Cmdlets, by asking them what it is they do:
    Get-Help Get-ADUser -Detailed
    By Adding the -Detailed Parameter, it will explain each Parameter of Get-ADUser and what it does. Then it will show you examples on how to use the cmdlet. Very useful tool,
    Get-Help, learning to use it fully ought to be your first step, as this unlocks your access all other aspects of PowerShell. With that tool in hand, you could theoretically do the rest fully autodidactically (would be frustrating though, since you'd
    like to be able to do something specific right now. Don't worry, we'll gladly help anyone truly trying to learn.).
    There are lots of tutorials out there that can be useful in a general way (I added my own here). But regarding Excel:
    As Fausto said, CSVs are the simple most way to do this. I'd advice against delving too deep into Excel manipulation right now (lots of frustration, little immediate rewards), Csv is your friend. Notable Commands:
    Import-Csv
    Export-Csv
    For example, if you want to create a csv list with user data in it, using your previous example, you can do this:
    Get-ADUser -Filter "*" -Properties OfficePhone | Export-Csv "C:\example\users.csv" -NoTypeInformation
    By the way: FT (Format-Table) is a treacherous command: It displays objects to the console, but it is a dead end where data is concerned! Only use it when you want to check something quick on the console (like whether you got the right data), before
    continuing on without using a Format command.
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • Issue in Synchronizing with Exchange 2010 Hub and Edge server

    Dear Sir,
    We have an issue with the installation of Exchange edge server 2010 SP1.
    We installed exchange edge server on DMZ but unable to do the subscription between edge server and hub server. Tried to check from the edge server whether the ports (50389 & 50636) are listening. Both are listening without any issues. After the
    edge subscription is done and when pass the command start -edgesynchronization we are getting the below error:
    Unable to contact the edgesync service.
    +catogary                      :ReadError: (:) [start-edgesynchronization], Endpoint not registered exception
    +Fullyqualifiederrorid      : FE1A5BE2, Microsoft.Exchange.Management.Edgesync.SyncNowTask
    Please help me in rosolving the issue with regards to Edge Server.
    Thank & Regards
    Suraj Sreekumar

    Hi Suraj,
    Try to Re subscribe the HUB & EDGE serve, Create  XML file on the EDGE server, Removed the Edge subscription from the HUB server and Restart the Transport & ADAM service
    Then Ran Start & Test-EdgeSynchronization cmdlet on the Exchange Management Shell on Hub, again Restart the Transport server on the HUB & ADAM service on the EDGE .
    White Paper: Edge Subscription and Synchronization
    http://technet.microsoft.com/en-us/library/bb310755(EXCHG.80).aspx#EdgeSyncsynchronization
    Anil

  • Set default quota for farm using powershell

    Hello, 
    Looking for a powershell solution to creating a default quota template. So when new sites are created they default to that quota, or can be changed if needed. 
    Thanks, 
    Will 

    This article is for 2010, but it should work the same in 2013.  This PowerShell just creates the quota template.  You will need to pick the quota template when creating a site collection.  There is no way to set a default quota template for
    regular site collections.
    http://www.sharepointdiary.com/2013/08/create-sharepoint-quota-templates-using-powershell.html
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • PowerShell: How do I get Powershell ISE to work within Service Manager Shell

    I want to use PowerShell ISE from within Service Manager Shell.
    When, from within the Service Manager Shell I type "ise" the PowerShell ISE launches but is not aware of the SCSM Cmdlets.
    When I run:
    PS C:\Program Files\Microsoft System Center 2012\Service Manager> Get-SCSMManagementPack
    I get this error:
    The term 'Get-SCSMManagementPack' is not recognized as the name of a cmdlet, function, scr
    ipt 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 line:1 char:23
    + Get-SCSMManagementPack <<<<
        + CategoryInfo          : ObjectNotFound: (Get-SCSMManagementPack:String) [], Command
       NotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

    Hi,
    Try this before calling any SCSM cmdlets:
    CD 'C:\Program Files\Microsoft System Center 2012\Service Manager\Powershell'
    Import-Module .\System.Center.Service.Manager.psd1
    For R2 adjust a path.
    Cheers,
    Marat
    Site: www.scutils.com  Twitter:
      LinkedIn:
      Facebook:

  • Exchange 2010 Edge server shows previous version

    I have an Exchange 2010 environment with the Edge role installed on TMG and its working fine.  All servers have had SP3 installed and rebooted.
    I am trying to introduce my first Exchange 2013 server into the environment but the readiness check tells me not all the servers have SP3.  On the Edge server it shows SP3 is installed but from all other Exchange servers it shows SP2.
    Any ideas?
    Thanks

    For anyone else wondering.  I've done this in my lab, and I didn't have to remove the old subscription, just export the file from your edge server, copy it to any server running emc internally and import it, then force a sync and the version should
    update.
    On edge server open exchange
         powershell and run New-EdgeSubscription -FileName
         "C:\EdgeSubscriptionInfo.xml"
    Import edge file
         into new server
    You
    need to be assigned permissions before you can perform this procedure. To see
    what permissions you need, see the "EdgeSync" entry in the
    Transport
    Permissions topic.
    In the console tree, navigate
         to Organization Configuration >
    Hub Transport.
    In the result pane, click the
         Edge
         Subscriptions
         tab.
    In the action pane, click
    New Edge
         Subscription. On
         the New Edge Subscription page, complete the following fields:
    Active
          Directory site   Click
          Browse, and then select an Active
          Directory site in the drop-down list. This field identifies the Active
          Directory site where the Hub Transport server is connecting to the Edge
          Transport server for which the Edge Subscription exists.
    Subscription
          file   Click
          Browse, and then select an Edge
          Subscription file.
    Automatically
          create a Send connector for this Edge Subscription   Select
          this check box to automatically create a Send connector that routes
          messages from the Exchange organization to the Internet. The Edge
          Subscription is configured as the source server for the Send connector.
          The Send connector is configured to route messages to all domains by
          using Domain Name System (DNS) MX resource records.
    Click
    New to create the new Edge
         Subscription.
    On the
    Completion page, review the following,
         and then click Finish to close the wizard:
    A status of
    Completed indicates that the wizard
          completed the task successfully.
    A status of
    Failed indicates that the task
          wasn't completed. If the task fails, review the summary for an
          explanation, and then click Back to make any configuration changes.
    Start-EdgeSynchronization
         -Server Hub01 -TargetServer Edge03 -ForceFullSync

  • Edge Server often uses high RAM

    Dear All,
    My organization uses Exchange 2010 SP2 Rollup 6 for email solution. I have problem with RAM usage on Edge serer. Edge server often eat up RAM resource (99%) for sometimes. I have checked queue at any time it happens - the queue is Ok, not many. 
    Is there any way to avoid this problem? or should I upgrade it to SP3? 
    Thanks,
    Veasna

    You should first try upgrading to SP3 with latest UR.
    SP1 & SP2 are not longer supported.
    http://social.technet.microsoft.com/Forums/exchange/en-US/b3085dd9-6777-454e-af30-279dfccffb8b/exchange-2010-sp1-and-sp2-are-no-longer-supported?forum=exchange2010
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • How can I find what scom group a specific server belongs to using powershell?

    Environment:  SCOM 2007 r2
    Server in question:  Running Windows 2003 Std. (yes I know this sounds crazy)
    Why do I need this:  I noticed at the console level we have had server unexpected shutdown events which are not generating email notifications. 
    Source shows: Windows 2003 Server Standard Edition
    Alert Rule:  Windows Shutdown Unexpectedly
    From what I see these are all windows 2003 server Std edition systems.  I did a track and trace using our exchange tracking system which confirmed the alerts were not being emailed. Not sure if there is a better approach for this, but not being a sql
    expert (however I do have someone I can leverage) I am trying to see if I can somehow extract this information using powershell.
    Secondary general question:  How can I find out the current size of our scom 2007 database and the number of objkects\servers being monitored? This is prep work for a migration over to 2012.
    Thanks in advance for the help!

    1. what scom group a specific server belongs to
    function Get-GroupNames {
     [cmdletbinding()]
     param($computerFQDN)
     $containmentRel = Get-RelationshipClass -name:’Microsoft.SystemCenter.InstanceGroupContainsEntities’
    $computerClass = Get-MonitoringClass -name:”Microsoft.Windows.Computer”
    $criteria = [string]::Format(“PrincipalName = ‘{0}’”,$computerFQDN)
     try {
     $computer = Get-MonitoringObject -monitoringClass:$computerClass -criteria:$criteria
     $relatedObjects = $computer.GetMonitoringRelationshipObjectsWhereTarget($containmentRel,[Microsoft.EnterpriseManagement.Configuration.DerivedClassTraversalDepth]::Recursive,[Microsoft.EnterpriseManagement.Common.TraversalDepth]::Recursive)
     catch {
     $_
     write-host “An error occurred while querying groups of $computerFQDN”
    foreach($group in $relatedObjects)
     [array]$Groups = $groups + $group.SourceMonitoringObject.DisplayName
     if($groups) {
     return $groups
     } else {
     write-host “No groups available for $computerFQDN”
    Usage:
     Get-GroupName -ComputerFQDN myserver1
    for detail, pls. refer to
    http://techibee.com/powershell/powershell-get-scom-groups-of-a-computer-account/1129
    Roger

  • Emails are Blocked from domains which are added to "BypassedSenderDomains" in Exchange 2007 Edge server

    Hi,
    We have an Exchange server 2007 and an Edge server 2007 is configured in the perimeter network. Most of our clients use Public email domains such as Yahoo and Gmail. Last few weeks it has been a  major issue for us that most of the emails from Yahoo/Gmail
    get blocked by our Edge server calming the sender IP address is in Block Lists.
    As a solution I've added yahoo.com/gmail.com/aol.com/hotmail.com to "BypassedSenderDomains" hoping if emails receive from one of these domains it will bypass the connection filtering. But still some of our customers complain that their emails are
    still not passing to us and blocked by our edge server. They have provided me the error message they receive.
    Our clients get following error message
    edgexch gave this error: Recipient not authorized, your IP has been found on a block list
    Your message wasn't delivered due to a permission or security issue. It may have been rejected by a moderator, the address may only accept e-mail from certain senders, or another restriction
    may be preventing delivery.
    550 5.7.1 Recipient not authorized, your IP has been found on a block list 
    When I check the Agent logs in Edge server  I found specific email had been blocked. Please check one of the log entry.
    Timestamp       : 1/30/2014 1:45:15 PM
    SessionId       : 08D0E865200E7CBF
    IPAddress       : 98.139.213.140
    MessageId       :
    P1FromAddress   : Sender Email Address (@yahoo.com)
    P2FromAddresses : {}
    Recipients      : {Recipient  Email address}
    Agent           : Connection Filtering Agent
    Event           : OnRcptCommand
    Action          : RejectCommand
    SmtpResponse    : 550 5.7.1 Recipient not authorized, your IP has been found on a block list
    Reason          : BlockListProvider
    ReasonData      : bl.spamcop.net
    This troubles me because I've added Yahoo.com to "BypassedSenderDomains" on 1/28/2014 and this email was blocked on 1/30/2014. I've checked whole Agent logs from 28th to-date and found most of the messages from white-listed domains  bypassed
    the content filtering but some were  still getting blocked. Most of the messages from white-listed domains were blocked from "bl.spamcop.net " IP block list provider.
    As a solution for the current situation I've disabled "bl.spamcop.net" from the "IP block List Providers". But the issue is, why the mails are getting blocked even the domains were white-listed. I though after white-listing emails domains,
    messages will bypass the content filters if the email generates from one of the white-listed email domain.
    I've also added the "Content Filter Config" for your reference.
    [PS] C:\Windows\system32>Get-ContentFilterConfig
    Name                                                              
    : ContentFilterConfig
    RejectionResponse                                         
    : Message rejected as spam by Content Filtering.
    OutlookEmailPostmarkValidationEnabled   
    : True
    BypassedRecipients                                       
    QuarantineMailbox                                        
    : [email protected]
    SCLRejectThreshold                                     
    : 7
    SCLRejectEnabled                                        
    : False
    SCLDeleteThreshold                                     
    : 9
    SCLDeleteEnabled                                        
    : False
    SCLQuarantineThreshold                              
    : 5
    SCLQuarantineEnabled                     
    : True
    BypassedSenders                                           
    BypassedSenderDomains                              
    : {yahoo.com, gmail.com, hotmail.com, aol.com}
    Enabled                                                          
    : True
    ExternalMailEnabled                  
    : True
    InternalMailEnabled                  
    : False
    AdminDisplayName                     
    ExchangeVersion                      
    : 0.1 (8.0.535.0)
    DistinguishedName                    
    : CN=ContentFilterConfig,CN=Message Hygiene,CN=Transport Settings,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,CN={4546F49-6BC5-4F7A-848F-03E4652528A6}
    Identity                             
    : ContentFilterConfig
    Guid                                 
    : c501959c-b062-4f59-8f0c-404c53f54a34
    ObjectCategory                      
    : CN=ms-Exch-Message-Hygiene-Content-Filter-Config,CN=Schema,CN=Configuration,CN={4546F4196BC5-4F7A-848F-03E4652528A6}
    ObjectClass                          
    : {top, msExchAgent, msExchMessageHygieneContentFilterConfig}
    WhenChanged                                                           
    : 1/28/2014 8:48:49 PM
    WhenCreated                                                 
    : 1/8/2012 8:42:18 PM
    OriginatingServer                                           
    : localhost
    IsValid                                                           
    : True
    It would be great if someone could help me to resolve this issue because this is a major problem since we lost mails from our valuable customers.
    Thanks in advance.
    Tharaka

    Here is a similar issue someone with Exchange 2010 -
    http://social.technet.microsoft.com/Forums/exchange/en-US/36aec4f6-6d73-4d71-ab64-e7f3d817b39b/exchange-2010-still-blocks-mail-from-domain-on-dnsbl-even-though-its-on-bypassedsenderdomain?forum=exchange2010.  So in essence, use the exceptions tab for
    the IP Block List Providers.  See if that will work as a solution for you.
    JAUCG - Please remeber to mark replies as helpful if they were or as answered if I provided a solution.

  • Loadbalancing powershell session to Exchange Server 2013

    Hi all!
    I try to configure remote powershell session to Exchange server through hardware load balancer. For create session i use command like this:
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://<load balancer virtual ip>/PowerShell/ -Authentication Kerberos
    And i receive error, because not exist SPN record for load
    balancer virtual ip.
    That username and service i should use for create SPN-record?
    And also i try connect via
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://<load balancer virtual ip>/PowerShell/ -Authentication Negotiate
    and i receive HTTP 400 Bad request. I ask google about it, but not found something usefull. Have someone any ideas?

    Hi Cemeh,
    Thank you for your question.
    We could make sure the SPN has been registered by run “ADsiedit.msc” in the RUN, then we could connect to “Default naming context”, then we could check load balandce name properties if it has SPN. We could refer to the following link:
    https://msdn.microsoft.com/en-us/library/ms676922(v=vs.85).aspx
    Then if the issue persist, we could run the following command:
    $Session = New-PSSession -ConfigurationName Microsoft.PowerShell -ConnectionUri http://<load balancer virtual ip>/PowerShell -Authentication Kerberos
    There are some links we could refer to by the following link:
    Service Principal Names
    http://msdn.microsoft.com/en-us/library/ms677949(VS.85).aspx
    Kerberos authentication and troubleshooting delegation issues
    http://support.microsoft.com/kb/907272
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Jim Xu
    TechNet Community Support

Maybe you are looking for