Skip to content

Kenneth Dalbjerg

Kenneth Qvistgaard Dalbjerg, IT Konsulent i århus

Kenneth Dalbjerg

Kenneth Qvistgaard Dalbjerg, IT Konsulent i århus

  • Home
  • Curriculum Vitae
    • Home
    • exchange 2007
Exchange

Get all mailboxes that have this domain in there primary email address

admin May 11, 2011 0 Comments

GET-MAILBOX * | where { $_.PrimarySMTPAddress.Domain -eq 'kennethdalbjerg.dk' }

Exchange Powershell

Give all users access to all mailbox calendar

admin February 14, 2011 0 Comments

foreach ($Mailbox in (Get-Mailbox -ResultSize Unlimited)) { Add-MailboxFolderPermission -identity "$($Mailbox.Name):\calendar" -AccessRights Author -User default }

Powershell

Powershell – Export user/mailboxes to CSV file

admin January 27, 2011 2 Comments

get-mailbox | select name, alias, samaccountname, RecipientType, RecipientTypeDetails, displayname | export-csv C:\ITA\usersexport.csv -encoding unicode

Powershell

Powershell – Import users from CSV file

admin January 27, 2011 0 Comments

import-csv user.csv | foreach-object { echo $_.Displayname New-Mailbox -name ( $_.Name) -Alias $_.Alias -SamAccountName $_.SamAccountName -RecipientType $_.RecipientType -RecipientTypeDetails $_.RecipientTypeDetails -Displayname $_.Displayname }

Powershell

Powershell – Show all users in DistributionGroup

admin January 27, 2011 0 Comments

$File = "C:\ita\groupslog.txt" $Mailboxes = Get-DistributionGroup | select name , alias ,displayname,EmailAddresses $Mailboxes | ForEach { echo "" echo "" echo $_.name Get-DistributionGroupMember -id $_.alias } | out-File $File

Powershell

Powershell – Show witch users have access to mailboxes

admin January 27, 2011 0 Comments

$file =  "C:\ita\fulladgang.txt" $AllUsers = get-mailbox  | select SamAccountName, name, alias $AllUsers | Foreach { echo "" echo "" echo "" echo $_.name get-mailboxfolderpermission -identity $Mailbox } | out-File $File

Powershell

Powershell get all users with title = “Interneservices” – Search on title on get-user

admin January 27, 2011 0 Comments

get-user -filter {Title -eq "InterneServices"} | select name

Powershell

Powershell – Get Mailbox permission search on title = InterneServices

admin January 27, 2011 0 Comments

$File = "C:\ita\fulldadgang-services.txt" $AllUsers = get-user -filter {Title -eq "InterneServices"} | select name $AllUsers | Foreach { echo "" echo "" echo "" echo $_.name Get-MailboxPermission -identity $_.name } |…

Powershell

Powershell – Get-DistributionGroup with all email addressess

admin January 27, 2011 0 Comments

$File = "C:\ita\groupslog.txt" Get-DistributionGroup | select name , alias ,displayname,EmailAddresses | foreach { “Name: “+$_.name “Alias: “+$_.alias “Displayname“ +$_.displayname $_.EmailAddresses | foreach { if($_.SmtpAddress){ “SmtpAddress: “+$_.SmtpAddress } } } |…

Exchange

howto export mailbox size to CSV file Exchange 2007/2010

admin December 7, 2010 0 Comments

Howto Export all mailbox'es and there size to a CSV file get-mailbox | get-mailboxstatistics | select-object DisplayName,TotalItemSize,StorageLimitStatus,LastLogonTime | Export-Csv c:\exchange.csv

Posts navigation

1 2

Next Page »

Kategori

  • Andet (36)
  • Computer (279)
    • Ahsay (7)
    • Certificate (3)
    • Cisco (7)
    • Dell (7)
    • ESXi (5)
    • HPE (1)
    • Linux (54)
      • Debian (23)
      • Kubuntu (4)
      • Postfix (5)
    • Nimble Storage (1)
    • Programmering (11)
      • PHP (1)
    • vmware (2)
    • VPN (4)
    • Windows (190)
      • Active Directory (3)
      • AppV (1)
      • AzureAD (1)
      • CA (2)
      • Citrix (27)
      • Exchange (44)
      • GPO (1)
      • HyperV (3)
      • MSSQL (30)
      • Office365 (6)
      • Powershell (31)
      • RDS / Terminal (6)
    • Xenserver (14)
  • kennethdalbjerg.dk (13)
  • MIG (51)
  • Sjovt (4)

Links

  • Andersvn.dk – A colleague
  • Collision.dk – A colleague
  • Frijsendal Friskole
  • Gratis mailhotel
  • Guldhammer
  • Heidi Qvistgaard
  • Hestehus.dk
  • HTC Desire HD
  • IPCalc
  • It-afdelingen A/S Århus
  • Labrador Hvalpe
  • Lbjerg.dk – Link Index
  • Maria & Jens
  • Mobilt internet
  • Nyt tag Herning
  • SMTP
  • SMTP Server
  • Tjen Penge

Arkiv

Kalender

June 2023
M T W T F S S
 1234
567891011
12131415161718
19202122232425
2627282930  
« Apr    

Tag Cloud

Active Directory Ahsay Andet AppV AzureAD CA Certificate Cisco Citrix Computer Debian Dell ESXi Exchange GPO HPE HyperV kennethdalbjerg.dk Kubuntu Linux MIG MSSQL Nimble Storage Office365 PHP Postfix Powershell Programmering RDS / Terminal Sjovt vmware VPN Windows Xenserver

cmu.edu

You Missed

PHP

Connect to 365 Exchange mailbox with IMAP and OAuth

MSSQL

Clear mssql cache

AzureAD Office365 Windows

Computer won’t join Azure AD

Andet

Veeam backup and Replication – Failed to call RPC function ‘Vss.TruncateSqlLogs’

Kenneth Dalbjerg

Kenneth Qvistgaard Dalbjerg, IT Konsulent i århus

Copyright © All rights reserved | Blogus by Themeansar.

  • Home
  • Curriculum Vitae