Download presentation
Presentation is loading. Please wait.
Published byHugo Hoover Modified over 9 years ago
1
WSV315
6
Lync Server SharePoint Server Service Manager Windows Small Business Server Exchange Server Windows Diagnostics Server Manager SQL Server Active Directory Failover Clustering System Center Operations Manager Windows Backup Server Migration System Center Virtual Machine Manager Best Practices Analyzer Active Directory Rights Management Services Internet Information Services Background Intelligent Transfer Service System Center Data Protection Manager Network Load Balancing Remote Desktop Services Group Policy WS-Management AppLocker WMI
8
Exchange 2003 (VBScript)Exchange 2007 (PowerShell) Mailbox Stats Set listExchange_Mailboxs = GetObject("winmgmts:{impersonationLevel=impersonate}!\\COMPUTERNAME\ROOT\MicrosoftExchangeV2").InstancesOf("Exchan ge_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 Databas e 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) move-storagegrouppath -identity “First Storage Group“ –log "C:\newlogPath” Recipien t Mgmt 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 enable-mailbox -identity domain\FOO –database “First Storage Group\Private MDB”
9
demo
10
“An object is a collection of parts and how to use them” PartsPropertiesPartsProperties Front Wheel Back Wheel PedalsPedals SaddleSaddle FrameFrame How to use Methods Methods PedalPedal Steer Left Steer Right Apply Front Brake Apply Rear Brake PartsParts How to use
11
DisplayNameDisplayName PartsPropertiesPartsProperties StatusStatus RequiredServicesRequiredServices Stop()Stop() Methods Methods Start()Start() Pause()Pause() WindowsServiceWindowsService
12
Get-Process | Where { $_.handles –gt 500 } | Sort handles | Format-Table Get-Process Cmdlet Common Windows PowerShell Parser Windows PowerShell Pipeline Processor Where Cmdlet Where Cmdlet Sort Cmdlet Format Cmdlet
13
demo
15
CommandFunction Get-HelpHelp about PowerShell commands and topics Get-CommandGet information about anything that can be invoked Get-MemberShow what can be done with an object Get-ModuleShows packages of commands
16
demo
17
CommandAction CompareCompare 2 sets of objects ForeachAct on each element of a set GroupSplit a set of objects into groups MeasureMeasure some property of a set of objects SelectSelect a set of properties from a set of objects SortSort objects TeeMake a copy of a set of objects WhereSelect a subset of objects
18
demo
21
Summary / Call to Action Automate and Prosper!
23
Q&A
24
Required Slide Speakers, please list the Breakout Sessions, Interactive Discussions, Labs, Demo Stations and Certification Exam that relate to your session. Also indicate when they can find you staffing in the TLC.
26
Resources www.microsoft.com/teched Sessions On-Demand & CommunityMicrosoft Certification & Training Resources Resources for IT ProfessionalsResources for Developers www.microsoft.com/learning http://microsoft.com/technet http://microsoft.com/msdn http://northamerica.msteched.com Connect. Share. Discuss.
28
Scan the Tag to evaluate this session now on myTechEd Mobile
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.