Articles tagged with: Windows administration

Using the Set-ExecutionPolicy Cmdlet

Changing the Windows PowerShell Script Execution Policy
The Set-ExecutionPolicy cmdlet enables you to determine which Windows PowerShell scripts (if any) will be allowed to run on your computer. Windows PowerShell has four different execution policies:

  • Restricted – No scripts can be run. Windows PowerShell can be used only in interactive mode.
  • AllSigned – Only scripts signed by a trusted publisher can be run.
  • RemoteSigned – Downloaded scripts must be signed by a trusted publisher before they can be run.
  • Unrestricted – No restrictions; all Windows PowerShell scripts can be run.

To assign a particular policy simply call Set-ExecutionPolicy followed by the appropriate policy name. For example, this command sets the execution policy to RemoteSigned:

Get-ExecutionPolicy
Set-ExecutionPolicy RemoteSigned

Loading

How to install .NET Framework 3.5 on Windows Server 2012

Apparently, there’s a bug in Windows Server 2012 when trying to add the .NET Framework 3.5 from Server Manager. In order to get it to work, I had to enable the feature via the Command Prompt.

This is the command that I had to type:

dism /online /enable-feature /featurename:NetFX3 /all /Source:d:\sources\sxs /LimitAccess

Note-1: Source should be the Windows installation disc. In my case, this was located on D:
Note-2: CMD or powershell must be administrator rights.

Loading

What’s New in Windows Server 2012 Active Directory

You can divide the “what’s new” categories in Windows Server 2012 Active Directory into two roughly equal parts: brand new and merely improved. Either way, you’re going to like what you see.

New Features
Pundits, bloggers and journalists alike will be diving into these details for months to come. Let’s take a look at the new high-level features, starting with the brand-new functions:

GUI for Recycle Bin
Microsoft introduced the Active Directory Recycle Bin in Windows Server 2008 R2, but it was limited by its Windows PowerShell-only exposure. This time it gets a GUI.

GUI for Fine-Grained Password Policies
Also gaining a GUI are fine-grained password policies.

Loading

Multiple Password Policies in One Domain on Windows Server 2012

One of the most common security requirements I’ve seen in enterprise organizations is setting unique password policies for different subsets of user accounts on the network. Some user accounts need to have very restrictive password policies – such as powerful IT Admin user accounts and user accounts with access to sensitive information. Other accounts often don’t have these same requirements. If we try to force very strict passwords on all user accounts to support the needs of just a few, most users will probably resort to writing down their passwords – which defeats our security practices all-together!

Loading

Exchange 2010: “Insufficient access rights to perform the operation”

Have you see this error yet? If you haven’t, you will. This is one of the most common errors and can be seen while performing a variety of functions within Exchange 2010. I continue to see this issue pop up so I decided to write a post on it. Most recently I saw this while trying to attach a disconnected mailbox to an existing AD user account. I have seen this same error pop up during the following functions (not full list):

Reconnect mailbox
Move mailbox to another database
Enable user for Unified Messaging
Creating an Outlook profile

Continue reading at this link. Tanks Tim Harrington.

Loading

Windows Server 2012 Recycle Bin Özelliği

Active Directory Recycle Bin özelliği Windows Server 2008 R2 ile gelen bir yeniliktir. Temel olarak Active Directory altında bulunan nesnelerin silinmesi durumunda kolay bir şekilde tekrar geri getirilebilmesi amaçlanmıştır. Daha önceki işletim sistemlerinde bu işlemi yapabilmek için sunucuyu restart edip F8 tuşu ile Directory Service Restore modunda açıp gerekli işlemleri yapıyorduk. Windows Server 2008 ile bu işlemi çok daha basit şekilde yapabilmekteyiz. Bu özelliği kullanabilmek için Forest Functional Level seviyesinin minimum Windows Server 2008 olması gerekmektedir ve default olarak disable konumunda gelmektedir. Bu makalede de Windows Server 2012 ile bu özelliği nasıl aktif hale getirip çalıştırabileceiğimi göreceğiz.

Loading

Exchange 2013 Server Management Shell (EMS)

Exchange Management Shell ile hatırı sayılır yeni komutlar bizim kullanımımıza sunuluyor. Bu komutlar sayesinde daha fazla raporlama ve veri toplama işlemini yapabiliriz. Gelen komutların bazıları aşağıdaki gibidir:
Add-GlobalMonitoringOverride
Add-ResubmitRequest
Add-ServerMonitoringOverride
Clear-MobileDevice
Complete-MigrationBatch
Disable-App
Disable-MailboxQuarantine
Disable-UMCallAnsweringRule
Dump-ProvisioningCache

Loading