Lync management shell Filterable properties
Did MS ever write the Lyn server 2013-equivalent version of this Exchange server list:
Filterable Properties for the -Filter Parameter
https://technet.microsoft.com/en-us/library/bb738155%28v=exchg.141%29.aspx
Eason Huang:
Are you serious? Just LOL! How did you check that no such document exists, if you arent even sure Lync support -Filter parameter or not?
For your benefit, here is some material to read:
https://technet.microsoft.com/en-us/library/gg398125.aspx -->Get-CsUser
Parameter: FILTER:
Enables you to limit the returned data by filtering on Lync Server-specific attributes. For example, you can limit returned data to users who have been assigned a specific voice policy, or users who have not been assigned a specific voice policy.
The Filter parameter uses the same Windows PowerShell filtering syntax that is used by the Where-Object cmdlet. For example, a filter that returns only users who have been enabled for Enterprise Voice would look like this, with EnterpriseVoiceEnabled representing
the Active Directory attribute, -eq representing the comparison operator (equal to), and $True (a built-in Windows PowerShell variable) representing the filter value:
{EnterpriseVoiceEnabled -eq $True}
Similar Messages
-
I've installed Lync 2013 standard edition for the 4th time today and still no joy. Just a single server which I want to get rid of now. I can't publish the topology with this server deleted because there is a conference server. That has to be deleted from
the management shell which won't start. That is why I want to start again.
When I start the management shell all I get is a blank window and it never gives the PS prompt. There are no errors in the event viewer relating to this and it displays absolutely nothing. It has been sitting there for about 30 minutes so far.
Does anyone have any thoughts about how to fix this?
Best wishes.....
ColinHi,
I get this in my lab environment a lot when I perform a clean install on Server 2012 R2 platforms. Once I've installed the latest
Cummulative Update and bounced the box, the issue resolves itself.
I know exactly what you mean, it just sits and the prompt never appears.
If you're update requires you to perform any management shell tasks for database updates etc, then you can use the 'Import-Module -Name Lync' cmdlet from a normal windows powershell window and then do it from there.
I believe the issue will resolve itself once your FE is patched with the latest
cummulative update for Lync Server
Kind regards
Ben -
How to: Get a list of mail users by using the Exchange Management Shell
Hello every one, quick question: When I run this code below for VB, how will I see the results of the program? Is there anyway I can make the results appear in a message box?
Function GetUsersUsingBasicAuth( _
ByVal LiveIDConnectionUri
As String, ByVal ScehmaUri
As String, _
ByVal Credentials
As PSCredential, ByVal
Count As Integer)
As Collection(Of PSObject)
Dim ConnectionInfo
As WSManConnectionInfo = _
New WSManConnectionInfo(New Uri(LiveIDConnectionUri), ScehmaUri, Credentials)
ConnectionInfo.AuthenticationMechanism = AuthenticationMechanism.Basic
Dim RemoteRunspace
As Runspace
RemoteRunspace = RunspaceFactory.CreateRunspace(ConnectionInfo)
Return GetUserInformation(Count, RemoteRunspace)
End Function
Function GetUserInformation(ByVal
Count As
Integer, ByVal RemoteRunspace
As Runspace) As Collection(Of PSObject)
Dim RemotePowerShell
As PowerShell = PowerShell.Create
RemotePowerShell.AddCommand("Get-Users")
RemotePowerShell.AddParameter("ResultSize",
Count)
' Open the remote runspace on the server.
RemoteRunspace.Open()
' Associate the runspace with the Exchange Management Shell.
RemotePowerShell.Runspace = RemoteRunspace
' Invoke the Exchange Management Shell to run the command.
Return RemotePowerShell.Invoke
End FunctionAll you need to do is enumerate through the Collection returned eg
Dim commandResults As Collection(Of PSObject)
commandResults = RemotePowerShell.Invoke()
For Each obj As PSObject In commandResults
MessageBox.Show(obj.Properties("DisplayName").Value.ToString())
Next
Cheers
Glen -
Exchange 2013 management shell error
The problem am facing is that when I opened the Exchange management shell on my Exchange 2013 server locally it would fail to connect.The following error is receiving with Administrator account.I add another account in Organization
Management Permission it connect successfully.
following is error
Failed to connect to an Exchange server in the current site.
Enter the server FQDN where you want to connect.: mail.abc.com
VERBOSE: Connecting to mail.*.*.
New-PSSession : [mail.abc.com] Connecting to remote server mail.abc.com failed with the following error message :
WinRM cannot process the request. The following error occurred while using Kerberos authentication: Cannot find the
computer mail.abc.com. Verify that the computer exists on the network and that the name provided is spelled
correctly. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : NetworkPathNotFound,PSSessionOpenFailed
[PS] C:\Windows\system32>Hi wert
Thank you for your question.
We could run Set U to make sure the logon user is domain administrator, because we use another account logon without any problems. We could check if some permissions are missing for administrator.
We could refer to the following steps to delete administrator profile to check if the issue persist:
Open up "Control Panel | System and Security | System"
In the dialog click on "Advanced system settings" (requires Admin rights)
The "System Properties" dialog will be displayed
Make sure you are in the "Advanced" register
In the "User Profiles" section click on "Settings"
The "User Profiles" dialog is displayed
Select administrator account and Delete it.
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 -
When I tried to deploy the wsp's using managment shell (power shell scripts) everything looks good.
When I go and take a look the "manage farm solutions" thru sharepoint central admin, I see the deployment failed in two servers.
Error is
Could not load file or assembly 'c:\windows\Temp\solution-cxxxxxxxxxxxxxx\xxx.xxx.dll" or one of its dependencies. Access is denied.
Can you please let me know what could be the reason.
Note : I have two app servers and two web servers setup. The deployment is sucessful in 2 apps servers . but 2 web servers are giving error.
Thanks
PichaimaniHi,
According to your post, my understanding is that you wanted to failed to deploy the wsp's using managment shell.
You need to make sure that the dll is registered in the GAC.
Go to %Windows%\assembly. If the dll isn't there , you need to install it to the GAC on the server. Simply drag it into that folder in Windows Explorer, and it should install itself.
Here is a similar thread for your reference:
http://stackoverflow.com/questions/1265505/sharepoint-could-not-load-file-or-assembly-the-system-cannot-find-the-file-sp
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
The following error occurs.
Welcome to the Exchange Management Shell!
Full list of cmdlets: Get-Command
Only Exchange cmdlets: Get-ExCommand
Cmdlets that match a specific string: Help *<string>*
Get general help: Help
Get help for a cmdlet: Help <cmdlet name> or <cmdlet name> -?
Show quick reference guide: QuickRef
Exchange team blog: Get-ExBlog
Show full output for a command: <command> | Format-List
Tip of the day #0:
Did you know that the Identity parameter is a "positional parameter"? That means you can use:
Get-Mailbox "user" instead of: Get-Mailbox -Identity "user"
It's a neat usability shortcut!
VERBOSE: Connecting to mail1.dorothy.local.
New-PSSession : [mail1.dorothy.local] Connecting to remote server mail1.dorothy.local failed with the following error
message : The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from
the destination computer. The content type is absent or invalid. For more information, see the
about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : -2144108297,PSSessionOpenFailed
Exception calling "GetComputerSite" with "0" argument(s): "The Specified directory object cannot be found."
At C:\Program Files\Microsoft\Exchange Server\V15\bin\ConnectFunctions.ps1:164 char:2
+ $localSite=[System.DirectoryServices.ActiveDirectory.ActiveDirectorySite]::GetC ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ActiveDirectoryObjectNotFoundException
Failed to connect to an Exchange server in the current site.
Enter the server FQDN where you want to connect.: mail1.dorothy.local
VERBOSE: Connecting to mail1.dorothy.local.
New-PSSession : [mail1.dorothy.local] Connecting to remote server mail1.dorothy.local failed with the following error
message : The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from
the destination computer. The content type is absent or invalid. For more information, see the
about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : -2144108297,PSSessionOpenFailed
Randy CheekGood Morning,
Log into the server with an account that has appropriate Exchange rights, not a local account.
Note: By default - Domain Admins don't have Exchange rights.
Dame Luthas, ITILv3, MCSE Messaging 2013, MCSA, MCITP
My Technical Blog: http://thelifestrategist.wordpress.com
Discipline is the Difference between Goals and Accomplishments
If this post is useful, please hit the green arrow on the left & if this is the answer hit "mark as answer" -
Is there Exchange 2013 view Exchange Management Shell command similar to Exchange 2010
Hi,
Is there anything similar in Exchange 2013 (Please refer the image). In Exchange 2010 if you make any changes via Management console you could go to "View Exchange Management Shell Command Log" and see what shell command it ran in the background.
It was very handy to copy shell command from here and then run it from shell in case you need to make bulk changes rather than try to find out the shell command from scratch.
I was wondering if there is anything similar in Exchange 2013.
Thanks,
RamanProbably in SP1...
Keep your finger cross ;)
Cheers,
Gulab Prasad
Technology Consultant
Blog:
http://www.exchangeranger.com Twitter:
LinkedIn:
Check out CodeTwo’s tools for Exchange admins
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
Error connecting to the Exchange Management Shell - and no one can connect w/ Outlook or OWA
Whew - I'm not sure what's happening but everything blew up this morning when another admin rebooted the server...
I can't connect to the Exchange Management shell - I get this:
[<servername>.<domainname>.local] Connecting to remote server failed with the following error message : WS-Management cannot process the request. The operation failed because of an HTTP error. The HTTP error (12152) is: The server returned
an invalid or unrecognized response . For more information, see the about_Remote_Troubleshooting Help topic. + CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportException
+ FullyQualifiedErrorId : PSSessionOpenFailed
And in digging around, re-running the sharepoint PSConfig appeard to be a fix for a related issue I was reading about, and since there didn't seemt to be any harm in running it again (I did find the technote and had manually ran it after SP1 was installed)
I ran it and this is an excerpt from the log:
09/08/2011 16:48:05 1 INF Entering function Farm.Clear
09/08/2011 16:48:05 1 INF Entering function CentralAdminServiceInstance.Reset
09/08/2011 16:48:05 1 INF Leaving function CentralAdminServiceInstance.Reset
09/08/2011 16:48:05 1 INF Leaving function Farm.Clear
09/08/2011 16:48:05 1 INF Leaving function Farm.TryIsJoinedToFarm
09/08/2011 16:48:05 1 ERR A failure has been encountered when trying to load the Farm
09/08/2011 16:48:05 1 INF Entering function StringResourceManager.GetResourceString
09/08/2011 16:48:05 1 INF Resource id to be retrieved is FarmIsJoinedFailureWhileUsingCommandLine for language English
(United States)
09/08/2011 16:48:05 1 INF Resource retrieved id FarmIsJoinedFailureWhileUsingCommandLine is Failed to detect if this
server is joined to a server farm. Possible reasons for this failure could be that you no longer have the appropriate permissions to the server farm, the database server hosting the server farm is unresponsive, the configuration database is inaccessible
or this server has been removed from the server farm. To diagnose this problem further, review the extended error information located at {0}. If this problem persists, run this wizard again to disconnect from the server farm. After disconnecting,
run the wizard again to create or connect to an existing server farm.
So I seem to have some massive permissions issues. Is there any kind of a technote or walkthrough that can step me through verifying what permissions should be where? The connect to Internet Wizard won't complete complaining it can't configure
the email and to run it again. That caused the Set Up your Internet Address wizard to not run, complaining you have to run the connect to Internet wizard.Is there any update on the issue?
No. I gave up and rebuilt the server - this time inside of HyperV!
It's definetly a problem of some sort of a problem with IIS, that much is obvious. It's frustrating, because by not being able to get to the Exchange Management Shell it made recovery of the Exchange database VERY hard.
The rest of this will be a bit of a rant so feel free to stop reading here if you like :)
I'm pretty unhappy with the fragility of recovering an Exchange databas in general - there is a VERY narrow range of parameters to get mail back - and very many things that can prevent you from recovering. Had I suspected that there would have been
1/10th the pain in recovering mail, before I tried to connect the clients to the new exchange I would have made .PST files for everyone - which would have worked since they all had cached .OST files, even if the clients couldn't talk to Exchange due to the
aformentioned IIS problems. Anyway, it was a total nightmare, extremly frustrating and while many of my problems were probalby self-induced, the total lack of a coherant disaster recovery strategy has at least motivated me to be EXTREMLY diligent about
backups - and not just backups, but ensuring that the SBS backup is working and occasionally firing up a clone VM and doing a restore to ensure the one of two ways Exchange can be successfully backed up are indeed working.
With such an extreme dependence on IIS for client acces AND managemet of Exchange, there really, REALLY needs to be more documentation on how Exchange uses IIS, how to step through the registry and other low-level internals to troubleshoot and compare.
I must have read just about every technet article and literallly hundreds of blog entries on recovering Exchange - but the lack of information about Exchange's integration and dependancies on IIS were the most frustrating of all. Talk about putting all
your eggs in one basket and a huge single point of failure ticking time bomb!
And I think it was either SharePoint Express or an accidently applied SharePoint Express update that blew up IIS. A few days after that update got applied the server was restarted, and that's when everything went completly sideways. That's whats
even more frustrating - that so many applications are so dependant on a now essential layer is frustrating. I realize SBS is an exception to the rule - generally Exchange is installed on it's own server and this isn't a remote possiblity, but any update
(or installer) that messes with IIS really needs to check the environment it's going to go into, and if there is anything at all that could possibly cause a compatibility issue, the update should "fail open" and not install wtihout explicit confirmation
from the admin that he wants to isntall it. Then again, another admin either ran the installer or approved the SP Express update so that still may not have saved me - but if he saw an explicit warning he probably would not have just clicked through
it!
Oh well - thanks for reading if you went all the way through. I'm just glad that it's now over :) -
Can't access emc and/or management shell
Really need some help with this. Researched all day and no fixes have helped.
Exchange 2010 - Windows 2008 R2 Standard.
EMC error:
Connecting to remote server failed with teh following error message: The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from the destination computer. The content type is absent or invalid.
It was running the command 'Discover-ExchangeServer -UseWIA $true-SuppressError $true - CurrentVersion "Version 14.1 (Build 218.15)".
Exchange Management Shell error:
Connecting to remote server failed with teh following error message: The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from the destination computer. The content type is absent or invalid.
So i've read all day a ton of fixes, Time Sync, WinRM config IIS resets and so on, nothing fixes this. However, when I try to go to PowerShell Connections in IIS manager, no matter what I click on gives me the following error:
There was an error while performing this operation
C:\Windows\system32\inetsrv\config\applicaitonHost.config
Line number: 301
Error:can not log on locally to c:\program files\microsoft\exchange server\v14\clientaccess\powershell as user administrator with virtual directory password
Please advise, I can't create any new email and I need to get this resolved.
Mailflow is working fine.
EDIT: I pulled from an AppAssure backup the web.config file and replaced that in ClientAccess\PowerShell also and this did not resolve either.WinRM already is set up to receive requests on this machine.
WinRM already is set up for remote management on this machine.
Listener
Address = *
Transport = HTTP
Port = 5985
Hostname
Enabled = true
URLPrefix = wsman
CertificateThumbprint
ListeningOn = 10.10.1.240, 127.0.0.1, ::1, fe80::100:7f:fffe%15, fe80::5efe:10.10.1.240%14
I can't even run EMTshooter. Although I used to be able to and have used it in the past.
EMTshooter errors:
File C:\EMTshooter\EMTConnectFunctions.ps1 cannot be loaded. The contents of fi
le C:\EMTshooter\EMTConnectFunctions.ps1 may have been tampered because the has
h of the file does not match the hash stored in the digital signature. The scri
pt will not execute on the system. Please see "get-help about_signing" for more
details..
At C:\EMTshooter\EMTshooter.ps1:175 char:2
+ . <<<< $loadpath
+ CategoryInfo : NotSpecified: (:) [], PSSecurityException
+ FullyQualifiedErrorId : RuntimeException
Welcome to the Exchange Management Troubleshooter!
We recommend that you run the troubleshooter after making changes to
IIS to ensure that connectivity to Exchange Powershell is unaffected.
The term 'logevent' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the sp
elling of the name, or if a path was included, verify that the path is correct and try again.
At C:\EMTshooter\EMTshooter.ps1:189 char:9
+ logevent <<<< $eventID $MessageAndParams $Type
+ CategoryInfo : ObjectNotFound: (logevent:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Checking IIS Service...
The term '_CheckServicesStarted' 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 C:\EMTshooter\EMTshooter.ps1:195 char:31
+ $noIIS = _CheckServicesStarted <<<<
+ CategoryInfo : ObjectNotFound: (_CheckServicesStarted:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
The term 'resetWindow' 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 C:\EMTshooter\EMTshooter.ps1:198 char:13
+ resetWindow <<<<
+ CategoryInfo : ObjectNotFound: (resetWindow:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
[EMTS] C:\Windows\System32\WindowsPowerShell\v1.0> -
Hi all,
I am trying to Migrate from sp2007 into sp2010. I have a heavily customized site with lots of sites, lists etc totalling upto 180GB size. Now when i perform Mount-spcontentdatabase, the command prompt ie Sharepoint Management shell closes after a certain
period of time eg 18%. Now, if i try to re-run the command again, the database is locked, as it might still be running something in the background.
Also, i tried running the Upgrade-Spcontentdatabase with forcedeletelock as true, so it unlocks and then upgrade, still with no luck
So quick question Can i run the Upgrade-spcontent command before running Mount, as i noticed my database version is old and need to be upgraded. Or Mount should def be run before upgrade regardless if the database is old or not?
Would really appreciate if someone could answer this soon?
Thanks in advance
cheers
Renwhat is the version of the SP2007, if database required upgrade then you should do this in 2007, once status says "no action required" then migrate to 2010 & mount it there.
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
Exchange Management Shell does not connect to server
Hi,
Can't connect to server with Exchange Management Shell.
Restart, IISRESET etc. does not help.
Method :
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri EXCHSERVER.CONTOSO.COM/PowerShell/ -Authentication Kerberos
Import-PSSession $Session
also does not work.
Error:
VERBOSE: Connecting to EXCHSERVER.CONTOSO.COM.
New-PSSession : [EXCHSERVER.CONTOSO.COM] Connecting to remote server EXCHSERVER.CONTOSO.COM failed with the following
error message : The WS-Management service cannot process the request. The load quota for the system has been exceeded.
Send future requests at a slower rate or raise the system quota. For more information, see the about_Remote_Troublesho
oting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : -2144108120,PSSessionOpenFailed
VERBOSE: Connecting to EXCHSERVER.CONTOSO.COM.
New-PSSession : [EXCHSERVER.CONTOSO.COM] Connecting to remote server EXCHSERVER.CONTOSO.COM failed with the following
error message : The WS-Management service cannot process the request. The load quota for the system has been exceeded.
Send future requests at a slower rate or raise the system quota. For more information, see the about_Remote_Troublesho
oting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : -2144108120,PSSessionOpenFailedRun a normal powershell
Import the Exchange server 2010 snapin and get the current certificates
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
PS C:\Users\Administrator> Get-ExchangeCertificate
Thumbprint Services Subject
084B2597D626C5361CF8002FADBEA83B9144143D IP.WS. CN=trapoist.com, OU=Domain Control Validated
76C7987A7A9C7F9917A6A1B208220CA768CE0D23 IP..S. CN=trapoist.com, OU=Domain Control Validated
Get-ExchangeCertificate | select *
AccessRules : {System.Security.AccessControl.CryptoKeyAccessRule, System.Security.AccessControl.CryptoKeyAcces
sRule, System.Security.AccessControl.CryptoKeyAccessRule}
CertificateDomains : {trapoist.com, www.trapoist.com, autodiscover.trapoist.com, IMAP.trapoist.com...}
CertificateRequest :
IisServices : {IIS://MAILTRAPOIST/W3SVC/1}
IsSelfSigned : False
KeyIdentifier : 36A0EC10B4503C5DBF51815A50F442D9404BE04E
RootCAType : ThirdParty
Services : IMAP, POP, IIS, SMTP
Status : Valid
SubjectKeyIdentifier : 36A0EC10B4503C5DBF51815A50F442D9404BE04E
PrivateKeyExportable : True
PublicKeySize : 2048
ServicesStringForm : IP.WS.
Archived : False
Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptograph
y.Oid, System.Security.Cryptography.Oid...}
FriendlyName : trapoist.com
IssuerName : System.Security.Cryptography.X509Certificates.X500DistinguishedName
NotAfter : 8/9/2015 4:06:40 PM (SE VENCERA EL 8 DE SEPTIEMBRE)
NotBefore : 8/5/2014 7:39:01 PM
HasPrivateKey : True
PrivateKey : System.Security.Cryptography.RSACryptoServiceProvider
PublicKey : System.Security.Cryptography.X509Certificates.PublicKey
RawData : {48, 130, 5, 128...}
SerialNumber : 27B309845C2696
SubjectName : System.Security.Cryptography.X509Certificates.X500DistinguishedName
SignatureAlgorithm : System.Security.Cryptography.Oid
Thumbprint : 084B2597D626C5361CF8002FADBEA83B9144143D
Version : 3
Handle : 485017248
Issuer : CN=Go Daddy Secure Certificate Authority - G2, OU=http://certs.godaddy.com/repository/, O="GoDad
dy.com, Inc.", L=Scottsdale, S=Arizona, C=US
Subject : CN=trapoist.com, OU=Domain Control Validated
AccessRules : {System.Security.AccessControl.CryptoKeyAccessRule, System.Security.AccessControl.CryptoKeyAcces
sRule, System.Security.AccessControl.CryptoKeyAccessRule}
CertificateDomains : {trapoist.com, www.trapoist.com, autodiscover.trapoist.com, mail.trapoist.com...}
CertificateRequest :
IisServices : {}
IsSelfSigned : False
KeyIdentifier : 54B2B188FA07098417B50DF52BDC0A41E44C9234
RootCAType : ThirdParty
Services : IMAP, POP, SMTP
Status : DateInvalid
SubjectKeyIdentifier : 54B2B188FA07098417B50DF52BDC0A41E44C9234
PrivateKeyExportable : True
PublicKeySize : 2048
ServicesStringForm : IP..S.
Archived : False
Extensions : {System.Security.Cryptography.Oid, System.Security.Cryptography.Oid, System.Security.Cryptograph
y.Oid, System.Security.Cryptography.Oid...}
FriendlyName : trapoist.com
IssuerName : System.Security.Cryptography.X509Certificates.X500DistinguishedName
NotAfter : 8/9/2014 4:06:40 PM
NotBefore : 8/12/2013 2:29:54 PM
HasPrivateKey : True
PrivateKey : System.Security.Cryptography.RSACryptoServiceProvider
PublicKey : System.Security.Cryptography.X509Certificates.PublicKey
RawData : {48, 130, 5, 161...}
SerialNumber : 042D71441FC05E
SubjectName : System.Security.Cryptography.X509Certificates.X500DistinguishedName
SignatureAlgorithm : System.Security.Cryptography.Oid
Thumbprint : 76C7987A7A9C7F9917A6A1B208220CA768CE0D23
Version : 3
Handle : 485016480
Issuer : SERIALNUMBER=07969287, CN=Go Daddy Secure Certification Authority, OU=http://certificates.godadd
y.com/repository, O="GoDaddy.com, Inc.", L=Scottsdale, S=Arizona, C=US
Subject : CN=trapoist.com, OU=Domain Control Validated
Renew the expired selfsigned certificate
PS C:\Users\Administrator> Get-ExchangeCertificate -Thumbprint '76C7987A7A9C7F9917A6A1B208220CA768CE0D23' | New-ExchangeCertificate
Confirm
Overwrite the existing default SMTP certificate?
Current certificate: '76C7987A7A9C7F9917A6A1B208220CA768CE0D23' (expires 8/9/2014 4:06:40 PM)
Replace it with certificate: 'C3FBFA049FE6AC1806B950EB7A7AF8286EE04880' (expires 4/13/2020 12:56:34 PM)
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
Thumbprint
Services Subject
C3FBFA049FE6AC1806B950EB7A7AF8286EE04880 IP..S. OU=Domain Control Validated, CN=trapoist.com
PS C:\Users\Administrator> Get-ExchangeCertificate
Thumbprint Services Subject
C3FBFA049FE6AC1806B950EB7A7AF8286EE04880 IP..S. OU=Domain Control Validated, CN=trapoist.com
084B2597D626C5361CF8002FADBEA83B9144143D IP.WS. CN=trapoist.com, OU=Domain Control Validated
76C7987A7A9C7F9917A6A1B208220CA768CE0D23 IP..S. CN=trapoist.com, OU=Domain Control Validated
#DELETE THE OLD CERTIFICATE (EXPIRED)
PS C:\Users\Administrator> Remove-ExchangeCertificate -Thumbprint 76C7987A7A9C7F9917A6A1B208220CA768CE0D23
Confirm
Are you sure you want to perform this action?
Remove certificate with thumbprint 76C7987A7A9C7F9917A6A1B208220CA768CE0D23 from the computer's certificate store?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
PS C:\Users\Administrator> Get-ExchangeCertificate
Thumbprint Services Subject
C3FBFA049FE6AC1806B950EB7A7AF8286EE04880 IP..S. OU=Domain Control Validated, CN=trapoist.com
084B2597D626C5361CF8002FADBEA83B9144143D IP.WS. CN=trapoist.com, OU=Domain Control Validated
#CALLING CMD TO RESET THE IIS.
PS C:\Users\Administrator> cmd
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
#RESET EL IIS
C:\Users\Administrator>iisreset
Attempting stop...
Internet services successfully stopped
Attempting start...
Internet services successfully restarted
Done -
Good Morning,
I really need some help please.
Our Server 2012 std. with Exchange 2013 std. installation was running like a dream. The tech responsible for our installation left the company to work in the UK and reported to us that there were minor issues with the installation that
needed attention.
on investigation we have found issues in that we cannot access ECP or OWA and in fact Internet explorer most of the time. on further investigation we found management shell for exchange gives errors on start up and new users and outlook cannot
be added to the domain.
On contacting the tech via phone he said he had issues with Certificates but could not help any further.
I have googled the problems and read much in TechNet and believe that in order not to make things worse than they are to approach those that know more than I do at present. I am not sure where to start right now.
Where do I start?????
ps. There does not seem to be any backups that we can fall back on.
regards TomHi Winnie,
Please check me on this. Authentication seems to be incorrectly configured.
Attached below is the output from the commands you requested me to run.
ecp
Identity : NORTH2012-SERV\ecp (Exchange Back End)
InternalAuthenticationMethods : {Ntlm, WindowsIntegrated}
BasicAuthentication : False
WindowsAuthentication : True
DigestAuthentication : False
FormsAuthentication : False
LiveIdAuthentication : False
AdfsAuthentication : False
OAuthAuthentication : False
ExternalAuthenticationMethods : {Fba}
Identity : NORTH2012-SERV\ecp (Default Web Site)
InternalAuthenticationMethods : {Basic, Fba}
BasicAuthentication : True
WindowsAuthentication : False
DigestAuthentication : False
FormsAuthentication : True
LiveIdAuthentication : False
AdfsAuthentication : False
OAuthAuthentication : False
ExternalAuthenticationMethods : {Fba}
OWA
Identity : NORTH2012-SERV\owa (Exchange Back End)
InternalAuthenticationMethods : {Ntlm, WindowsIntegrated}
BasicAuthentication : False
WindowsAuthentication : True
DigestAuthentication : False
FormsAuthentication : False
LiveIdAuthentication : False
AdfsAuthentication : False
OAuthAuthentication : False
ExternalAuthenticationMethods : {Fba}
Identity : NORTH2012-SERV\owa (Default Web Site)
InternalAuthenticationMethods : {Basic, Fba}
BasicAuthentication : True
WindowsAuthentication : False
DigestAuthentication : False
FormsAuthentication : True
LiveIdAuthentication : False
AdfsAuthentication : False
OAuthAuthentication : False
ExternalAuthenticationMethods : {Fba}
regards
Tom -
I thought this would be an easy answer to an issue I'm facing, but there's a problem executing the solution.
I'm running Exchange 2007 in a clustered SCC configuration. The clustered resource is called "DENBURYMAIL." I want to give my account full mailbox access rights to all the mailboxes in this resource/database.
I believe I found the solution to this at
http://technet.microsoft.com/en-us/library/bb310792%28EXCHG.80%29.aspx (about halfway down the page) the instructions read as follows:
==============================
Q: I have a third-party messaging application that requires full access to each user's mailbox. With Exchange Server 5.5, we grant a special account the Service Account Admin permissions, and then tell the application to use this account. How
can I achieve similar functionality in Exchange 2007?
A: Exchange 2007 security works differently from that of Exchange Server 5.5. In fact, Exchange 2007 does not use a site service account. Instead, all services start as the local computer account.
If your logon account is the Administrator account, a member of the root Domain Administrators, a member of the Enterprise Administrators groups, or a member of the Exchange Organization Administrators role, you are explicitly denied access to all mailboxes
that are not your mailbox, even if you have full administrative rights over the Exchange system. All Exchange 2007 administrative tasks can be performed without having to grant an administrator sufficient rights to read other people's mail.
You can achieve the results that you want in the following ways, but do so only in accordance with your organization's security and privacy policies:
In the Exchange Management Shell, use the following command to allow access to all mailboxes on a given mailbox store:
Add-ADPermission -identity "mailbox database" -user "serviceaccount" -ExtendedRights Receive-As
=============================
But when I run the command (Add-ADPermission -identity "denburymail" -user "matthew.fazio" -ExtendedRights Receive-As) I get an error telling me that "There are multiple objects matching the identity "DENBURYMAIL." Please Specify a unique value."
I'm not sure what's causing this-- why are there "multiple objects?" Is this a problem due to operating in a clustered environment?
Any assistance would be appreciated!It may not be specific enough for the command to understand you.
Try this:
Get-MailboxDatabase -Server <servername> | Add-ADPermission -user "matthew.fazio" -ExtendedRights Receive-As -
I don't want to log into my Exchange 2013 every time when I need the Exchange Management Shell. Is that possible I can just install it on my workstation and then remote access to it? Thanks.
Lawrence FungCorrect - it is in the article Amy references, but is in the bulleted section at the top
The computer you install the management tools on must have a supported operating system (such as Windows Server 2012 or Windows 8), have enough disk space, be a member of an Active Directory domain, and satisfy other requirements. For information about system
requirements, see
Exchange 2013 System Requirements.
Cheers,
Rhoderick
Microsoft Senior Exchange PFE
Blog:
http://blogs.technet.com/rmilne
Twitter: LinkedIn:
Facebook:
XING:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
Unable to connect to local Exchange 2013 server when opening Exchange Management shell
Hi Everyone
Yesterday evenything was working fine, and then this morning, I`m unable to establish a connection with the Exchange shell. I receive the following errors. Any help is appreciated.
Welcome to the Exchange Management Shell!
Full list of cmdlets: Get-Command
Only Exchange cmdlets: Get-ExCommand
Cmdlets that match a specific string: Help *<string>*
Get general help: Help
Get help for a cmdlet: Help <cmdlet name> or <cmdlet name> -?
Show quick reference guide: QuickRef
Exchange team blog: Get-ExBlog
Show full output for a command: <command> | Format-List
Tip of the day #55:
Want to view the mounted status of all mailbox databases? Type:
Get-MailboxDatabase -Status | Format-Table Name, Server, Mounted
VERBOSE: Connecting to C-EXCH02.BLCLAB.CA.
New-PSSession : [c-exch02.blclab.ca] Connecting to remote server c-exch02.blclab.ca failed with the following error
message : The client cannot connect to the destination specified in the request. Verify that the service on the
destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : CannotConnect,PSSessionOpenFailed
VERBOSE: Connecting to C-EXCH02.BLCLAB.CA.
New-PSSession : [c-exch02.blclab.ca] Connecting to remote server c-exch02.blclab.ca failed with the following error
message : The client cannot connect to the destination specified in the request. Verify that the service on the
destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : CannotConnect,PSSessionOpenFailed
VERBOSE: Connecting to C-EXCH01.BLCLAB.CA.
New-PSSession : [c-exch01.blclab.ca] Connecting to remote server c-exch01.blclab.ca failed with the following error
message : The client cannot connect to the destination specified in the request. Verify that the service on the
destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : CannotConnect,PSSessionOpenFailed
VERBOSE: Connecting to C-EXCH02.BLCLAB.CA.
New-PSSession : [c-exch02.blclab.ca] Connecting to remote server c-exch02.blclab.ca failed with the following error
message : The client cannot connect to the destination specified in the request. Verify that the service on the
destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : CannotConnect,PSSessionOpenFailed
VERBOSE: Connecting to C-EXCH01.BLCLAB.CA.
New-PSSession : [c-exch01.blclab.ca] Connecting to remote server c-exch01.blclab.ca failed with the following error
message : The client cannot connect to the destination specified in the request. Verify that the service on the
destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : CannotConnect,PSSessionOpenFailed
Failed to connect to an Exchange server in the current site.
Enter the server FQDN where you want to connect.:
VERBOSE: Connecting to .
New-PSSession : Cannot bind parameter 'ConnectionUri'. Cannot convert value
"http:///powershell?serializationLevel=Full;ExchClientVer=15.0.516.32;clientApplication=ManagementShell;TargetServer="
to type "System.Uri". Error: "Invalid URI: The hostname could not be parsed."
At line:1 char:30
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [New-PSSession], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.NewPSSessionCommand
[PS] C:\Windows\system32>
Ernie Prescott
Updated information.
I can succussfully connect to the exchange powershell from a remote computer, using this method.
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri
http://<FQDN of Exchange 2013 Client Access server>/PowerShell/ -Authentication Kerberos
Import-PSSession $Session
So the problem is localised on the server.
RegardsHi
Try the steps for Error 1 on this link
http://www.petenetlive.com/KB/Article/0000477.htm
Hope it will help
Cheers
If you have any feedback on our support, please click
here
Zi Feng
TechNet Community Support
Maybe you are looking for
-
In my BSP View am using two check box. I want to disable one check box when the other one gets checked and vice versa. Right now am doing with some logics and with server side events.I want to do this in the client side. In <b>Java script</b> how i c
-
Acrobat 9 crashes on startup - is it the java, or the fonts, or?
Another MacPro in the room is experiencing crashes on startup of Acrobat 9, which was part of CS5. It was set to bypass the startup screen, so I don't know what it's trying to do when it dies. Here's what I did: Uninstall, then reinstall. I started i
-
I just upgraded my OS to Snow Leopard. Problem is I'm getting conflicts on fonts I really need to keep avalable for CS5 - namely Helvetica Neue. Font Book says the fonts are duplicates of ones used by the system. If I click 'resolve' I can't access t
-
Missing class/interface?
I'm just starting out w/ JDev. Tried the BC client tutorial and ran into the following error when compiling: C:\java\BC4J\src\bc4jaddinsrc.zip!\oracle\jbo\domain\DomainInterface.java Error(14,19): cannot access class oracle.jbo.Transaction; file orac
-
HT4993 why won't imessage use my number?
Why won't my phone use my number for imessage?