• Home
  • Cisco
  • Exchange
  • Linux
  • Network
  • Virtualization
  • Windows
  • Links
  • About
  •  

    Welcome to the Admins Handbook


    This is indeed the IT administrators' handbook.
    You will not find long tutorials and guides here, only the commands to get the job done.

    You properly know how to do things; you just need a little "hint" now and then.

    The handbook have 109 posts

    Exchange 2010 – set rights with powershell

    January 17th, 2012

    Mailbox:
    set-mailboxfolderpermission -Identity testuser:\calender -User cl -AccessRights editor

    Resource Calender:
    Add-MailboxPermission –Identity testresource -User all-usersgroup -AccessRights FullAccess -InheritanceType All

    Public folders:
    Get-PublicFolderClientPermission -Identity “\firm1\firm1 calender”

    Add-PublicFolderClientPermission -Identity “\firm1\firm1 calender” -AccessRights PublishingEditor -User testuser


    SMTP send connector SSL

    January 17th, 2012

    Get-SendConnector | fl fqdn
    Get-ExchangeCertificate | fl CertificateDomains
    Get-ExchangeCertificate | fl thumbprint, services
    Enable-ExchangeCertificate -Thumbprint A2AB2228777CE4539xxxxDF3F7D22A2E94326A99 -Services IMAP, POP, IIS, SMTP -DoNotRequireSSL


    Restricted Role Assignment Policy

    January 17th, 2012

    Rename the default role:
    Set-RoleAssignmentPolicy “Default Role Assignment Policy” -Name “Unrestricted Role Assignment Policy”

    Create new
    New-RoleAssignmentPolicy -Name “Restricted Role Assignment Policy” -Description “Only base options.” -Roles MyBaseOptions -IsDefault:$True

    If created grafical, you need to set it default this way:
    Set-RoleAssignmentPolicy -identity “Restricted Role Assignment Policy” -IsDefault:$True

    All new users get the new policy, but you need to run this command on everyone else:
    set-mailbox usertest -RoleAssignmentPolicy “Restricted Role Assignment Policy”

    more info


    Add global address list

    January 17th, 2012

    Add global address list:
    New-GlobalAddressList -Name “Firm 4 – GAL” -IncludedRecipients MailboxUsers -ConditionalCompany Firm4
    Creates the global address list based on “company” in the user object.

    Remove global address list: remove-GlobalAddressList -identity “Firm 4 – GAL”

    Show global address list: get-globaladdresslist