Showing posts with label PowerShell. Show all posts
Showing posts with label PowerShell. Show all posts

How to configure Form Based Authentication in the same time for internal accessing the Exchange server directly and external users accessing the server via Forefront TMG

Articol scris de  Paul Roman (MVP for MS Exchange)

I answered a question today regarding the fact that when you publish an Exchange server via Forefront TMG and you want to have Form Based Authentication (FBA) for the external users, you have to disable it for the internal users.
Publishing OWA within TMG with FBA requires you to enable Basic Authentication for the owa (Default Web Site) virtual directory in Exchange and disable FBA .
If you don’t do that, when authenticating from outside your network you will be required to authenticate twice, once on TMG and another time on the Exchange Server.
In order to have Form Based Authentication in the same time for your internal and external users you have to create a new web site on the Exchange Server and create a new OWA virtual directory there.
The steps are:
1. Create a new Web site within your IIS management interface

2. Configure the new web site considering the followings:
[Read more of this review]

Windows PowerShell Graphical Environment pe Windows Server 2008 R2

PowerShell ISE (Integrated Scripting Environment), vechiul Graphical PowerShell, este o alternativa grafica la cunoscutul Command Prompt .
PowerShell ISE face parte din PowerShell 2.0 care e deja integrat  in Windows 7 si Windows Server 2008 R2.
Principalul avantaj al lui PowerShell ISE este acela ca poti lucra cu 2 paneluri : unul pentru tastarea comenzilor si unul pentru afisarea outputului. Aditional putem adauga un al treilea panel pentru editarea scripturilor (se poate da disable ca sa avem mai mult spatiu).
image
[Read more of this review]

Exchange 2010 - numarul de useri pe databse

Am avut nevoie de un mic script sa vad citi useri contine un database…
L-am pus si aici(captureaza si database name).

$useri_c=Get-MailboxDatabase

($useri_c | %{write-host $_.name (get-mailbox -database $_.name).count})