PowerShell 3.0 Advanced Administration Handbook
Format: PDF / Kindle (mobi) / ePub
Getting PowerShell to serve you even more effectively is simplified with this guide to advanced administration. Automating repetitive daily tasks and streamlining processes is demonstrated with real-world examples and screenshots.
- Discover and understand the concept of Windows PowerShell 3.0
- Learn the advanced topics and techniques for a professional PowerShell scripting.
- Explore the secret of building custom PowerShell snap-ins and modules.
- Take advantage of PowerShell integration capabilities with other technologies for better administration skills
- Step-by-step guide rich with real-world script examples, screenshots, and best practices
Technology’s growing rhythm is running faster than before, and business needs are getting more complex every day. So, it is time to learn something new to help conquer the challenge. With PowerShell in your toolbox, you can easily perform many tasks with less time, effort, and cost. PowerShell is a helpful scripting technology that enables the automation of system management tasks and the creation of system management tools .
"PowerShell 3.0 Advanced Administration Handbook" comes with a set of real-world scenarios and detailed scripts that will help you get started with PowerShell, learn what PowerShell is, how to write the syntax, and build your scripts, and how to use and integrate PowerShell with different technologies, products, and tools.
This handbook starts with the essential topics of PowerShell, then introduces the new features in PowerShell 3.0. The book then goes through building PowerShell scripts, function, and developing extensions like snap-ins and modules, and continues with detailed examples showing the usage of PowerShell with different technologies and products to give you an idea of PowerShell usage in the real world.
What you will learn from this book
- Learn Windows PowerShell 3.0 new features and enhancements.
- Learn PowerShell syntax and grammar such as pipeline, looping, and working with objects.
- Extend PowerShell capabilities with .NET framework, XML, WMI, and COM+.
- Configure and deploy Windows Server Core features, services, and components.
- Manage and configure the Microsoft virtualization platform, Hyper-V.
- Manage and configure Unified Communication environments such as Exchange Server and Lync Server.
- Manage and configure Collaboration and Data platforms such as SharePoint Server and SQL Server.
- Manage and configure Cloud technologies such as Office’365, Windows Azure, and SQL Azure.
- Explore PowerShell in real-world scenarios, problems, and solutions.
- PowerShell tips and tricks and best practices.
This book is a collection of selected real-world scenarios, detailed solutions, and screenshots.
Who this book is written for
If you are a system administrator who wants to automate repeated daily tasks and perform complex administration requirements in a timely manner with less effort, then this is the book for you.
In order to get the maximum benefit of this book you need to have some basic scripting knowledge and good administration experience
Binary modules manifest module / Manifest modules importing / Importing PowerShell modules automatic importing / Importing PowerShell modules removing / Removing PowerShell modules reloading / Reloading PowerShell modules writing / Writing a PowerShell module storing, on disk / Storing modules on a disk multiple versions / Working with multiple versions of modules dependencies, checking / Checking PowerShell module dependencies signing / Signing PowerShell modules Windows
default, these documents carry the .ps1 file extension. You can create them using Notepad, but it is best if you use a more powerful tool such as a programmer's text editor with syntax highlighting and intelligent word completion, for example Notepad++, ISE, and PowerGUI. Notepad++ is a free source code editor and is a Notepad replacement that supports several languages. With a plugin that supports PowerShell, it gives you full syntax highlighting for PowerShell. The Windows PowerShell
Invoke-Command to load the active directory module within a persistent session and then used that persistent session to import NetTCPIP cmdlets into the local session. However, by using a session configuration that imports the Active Directory module as a startup script, we will have all the NetTCPIP cmdlets available as soon as we connect to the remote session. Disabling a session configuration You can use the Disable-PSSessionConfiguration cmdlet to disable an existing session
will be performing the following steps: Get the list of SharePoint Online sites using the Get-SPOSite cmdlet. Check the site's health using the Test-SPOSite cmdlet. The script will be as follows: #Run health checks on the list of SharePoint Online sites Get-SPOSite | Test-SPOSite Scenario 4 – setting the SharePoint Online User as Site Collection Administrator In this scenario, you are a SharePoint Online administrator who wants to assign a "Site Collection Administrator" role to
uploading the certificate to Windows Azure Add-AzureDisk cmdletparameters / Scenario 14 – moving the Local VHD to Windows Azure Add-AzureProvisionConfig cmdletparameters / Scenario 10 – provisioning the new Windows Azure VM (advanced mode) Add-DnsServerResourceRecordA cmdlet / Managing a DNS server using PowerShell Add-MailboxPermission cmdlet / Scenario 2 – creating a shared mailbox add-on toolsabout / Add-on tools Add-PSSnapin cmdlet / Option 2 – loading Exchange Server