nginx – try_files does not return the default value

I have a fairly simple nginx configuration. I have 2 frontend applications (angular) and one backend application. So, when I send a request to the url: server_name/portal the index.html is served from /opt/folder1/portal/index.html. When I send a request to server_name/app the index.html is served from /opt/folder2/app/index.html. If I send the following request server_name/portal/css/some_file.css nginx correctly…

Unable to run Get-Mailbox from script when connecting to exchange server

I am trying to run a powershell script to tell who’s mailbox alias doesn’t match their Primary SMTP Address I am connecting to our Server 2008r2 Server running Exchange 2010 using: $Credentials = Get-Credential $ExSession = New-PSSession –ConfigurationName Microsoft.Exchange –ConnectionUri ‘http://<Exchange 2010 Server>/PowerShell/?SerializationLevel=Full’ -Credential $Credentials –Authentication Kerberos Import-PSSession $ExSession Running Get-Mailbox Returns the expected results…