Seung Joo Baek IT Pro Evangelist Microsoft Korea http://www.koalra.com
소프트웨어유지보수감소 공격지점감소 관리감소 적은디스크공간필요
Standard and Enterprise Server Roles TS IAS Web Server Share Point Etc Server Core Server Roles DNS DHCP File AD Virtuali zation Server With WinFx, Shell, Tools, etc. Server Core Security, TCP/IP, File Systems, RPC, plus other Core Server Sub-Systems GUI, CLR, Shell, IE, Media, OE, Etc.
관리자암호설정 192.168.0.1 정적 IP 주소설정 기존도메인가입 서버인증 방화벽설정
>start /w ocsetup RolePackage >Dcpromo /unattend:unattendfile >start /w ocsetup featurename >oclist.exe
Exchange 2003 (VBScript) Exchange 2007 (PowerShell ) Mailbox Statistics Set listexchange_mailboxs = GetObject("winmgmts:{impersonationLevel=impersonate}!\\COMPUTERNAME\ROOT\MicrosoftExchangeV2").Instanc esof("exchange_mailbox") For Each objexchange_mailbox in listexchange_mailboxs WScript.echo "AssocContentCount = + objexchange_mailbox.assoccontentcount WScript.echo " DateDiscoveredAbsentInDS = + objexchange_mailbox.datediscoveredabsentinds WScript.echo " DeletedMessageSizeExtended = + objexchange_mailbox. DeletedMessageSizeExtended WScript.echo " LastLoggedOnUserAccount = + objexchange_mailbox. LastLoggedOnUserAccount WScript.echo " LastLogoffTime = + objexchange_mailbox. LastLogoffTime WScript.echo " LastLogonTime = + objexchange_mailbox. LastLogonTime WScript.echo " LegacyDN = + objexchange_mailbox. LegacyDN WScript.echo " MailboxDisplayName = + objexchange_mailbox. MailboxDisplayName WScript.echo " MailboxGUID = + objexchange_mailbox. MailboxGUID WScript.echo " ServerName = + objexchange_mailbox. ServerName WScript.echo " Size = + objexchange_mailbox. Size WScript.echo " StorageGroupName = + objexchange_mailbox. StorageGroupName WScript.echo " StorageLimitInfo = + objexchange_mailbox. StorageLimitInfo WScript.echo " StoreName = + objexchange_mailbox. StoreName WScript.echo " TotalItems = + objexchange_mailbox. TotalItems Next get-mailboxstatistics server $servername Database Mgmt Recipient Mgmt Dim StorGroup as New CDOEXM.StorageGroup StorGroup.DataSource.Open "LDAP://" + DCServer + "/ CN=First Storage Group,CN=InformationStore,CN=" + Server + ",CN=Servers,CN=First Administrative Group, CN=Administrative Groups,CN=First Organization, CN=Microsoft Exchange,CN=Services, CN=Configuration," + DomainName StorGroup.MoveLogFiles("C:\newlogPath", 0) Dim objmailbox As CDOEXM.IMailboxStore Set objmailbox = GetObject("LDAP://" + DCServer + "CN=FOO,CN=users," + DomainName) objmailbox.createmailbox "LDAP://" + DCServer + "/CN=Private MDB,CN=First Storage Group,CN=InformationStore,CN=" + Server + ",CN=Servers,CN=First Administrative Group, CN=Administrative Groups,CN=First Organization, CN=Microsoft Exchange,CN=Services, CN=Configuration," + DomainName move-storagegrouppath -identity First Storage Group log "C:\newlogPath enable-mailbox -identity domain\foo database First Storage Group\Private MDB
작업자동화 명령어라인인터페이스 Exchange 스냅인 벌크작업 콘솔확장
개체 - 기반데이터핸들링 네임스페이스 파이프라이닝 CMD 명령어접근 신뢰된스크립트
One-liners Raw mode What If? Interactive
다수의작업을한데묶어서 Managed Code 에서스크립트, Cmdlet 을호출 커뮤니티사이트를통한스크립트공유 스크립트는재활용이가능
생산성및제어 향상 시스템관리 자동화 편리한사용및 스크립트연동
VBScript Dim mystring PowerShell $mystring = [string]
VBScript Do While a<10 a=a+1 Loop PowerShell $a = 1 do {$a; $a++} while ($a lt 10)
VBScript Dim myarray(2) myarray(0) = 1 myarray(1) = 3 myarray(2) = 7 PowerShell $a = 1,3,7
13 New WMI Providers BitLocker Drive Encryption Trusted Platform Module Boot Configuration Database Intelligent Platform Management Interface Windows Parental Controls Windows Communication Framework Network Access Protocol Client IIS 7 Terminal Services Clusters 70 60 50 40 30 20 10 0 57 15 21 NT 4.0 2000 XP 70 Vista
관리용웹서비스 Firewall Friendly (DCOM 대체 ) - HTTP & HTTPS WinRM, WinRS
2007 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.