Getting Started with PowerShell

Michael Shepard

  • 出版商: Packt Publishing
  • 出版日期: 2015-08-31
  • 售價: $1,700
  • 貴賓價: 9.5$1,615
  • 語言: 英文
  • 頁數: 180
  • 裝訂: Paperback
  • ISBN: 1783558504
  • ISBN-13: 9781783558506
  • 相關分類: Powershell
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Learn the fundamentals of PowerShell to build reusable scripts and functions to automate administrative tasks with Windows

About This Book

  • Harness the capabilities of the PowerShell system to get started quickly with server automation
  • Learn to package commands into a reusable script and add control structures and parameters to make them flexible
  • Get to grips with cmdlets that allow you to perform administration tasks efficiently

Who This Book Is For

This book is intended for Windows administrators or DevOps users who need to use PowerShell to automate tasks. Whether you know nothing about PowerShell or know just enough to get by, this guide will give you what you need to go to take your scripting to the next level.

What You Will Learn

  • Learn to verify your installed version of PowerShell, upgrade it, and start a PowerShell session using the ISE
  • Discover PowerShell commands and cmdlets and understand PowerShell formatting
  • Use the PowerShell help system to understand what particular cmdlets do
  • Utilise the pipeline to perform typical data manipulation
  • Package your code in scripts, functions, and modules
  • Solve common problems using basic file input/output functions
  • Find system information with WMI and CIM
  • Automate IIS functionality and manage it using the WebAdministration module

In Detail

Windows PowerShell is a task-based command-line shell and scripting language designed specifically for system administration. Built on the .NET Framework, Windows PowerShell helps IT professionals and power users control and automate the administration of the Windows operating system and applications that run on Windows.

PowerShell is great for batch importing or deleting large sets of user accounts and will let you collect a massive amount of detailed system information in bulk via WMI (Windows Management Instrumentation).

Getting Started with PowerShell is designed to help you get up and running with PowerShell, taking you from the basics of installation, to writing scripts and web server automation. This book, as an introduction to the central topics of PowerShell, covers finding and understanding PowerShell commands and packaging code for reusability, right through to a practical example of automating IIS. It also includes topics such as installation and setup, creating scripts, automating tasks, and using Powershell to access data stores, registry, and file systems.

You will explore the PowerShell environment and discover how to use cmdlets, functions, and scripts to automate Windows systems. Along the way, you will learn to perform data manipulation and solve common problems using basic file input/output functions.

By the end of this book, you will be familiar with PowerShell and be able to utilize the lessons learned from the book to automate your servers.

Style and approach

A practical learning guide, complete with plenty of activities, examples and screenshots.

商品描述(中文翻譯)

學習 PowerShell 的基礎知識,以建立可重複使用的腳本和函數,以自動化 Windows 的管理任務。

關於本書:
- 利用 PowerShell 系統的功能,快速開始進行伺服器自動化
- 學習將命令打包成可重複使用的腳本,並添加控制結構和參數,使其具有靈活性
- 熟悉能夠高效執行管理任務的 cmdlet

本書適合對 PowerShell 一無所知或僅有基礎知識的 Windows 管理員或 DevOps 使用者,他們需要使用 PowerShell 來自動化任務。無論您對 PowerShell 了解多少,本指南都將為您提供所需的知識,使您的腳本能夠更上一層樓。

您將學到以下內容:
- 學習驗證已安裝的 PowerShell 版本,升級它,並使用 ISE 開始 PowerShell 會話
- 探索 PowerShell 命令和 cmdlet,並了解 PowerShell 的格式化
- 使用 PowerShell 說明系統了解特定 cmdlet 的功能
- 利用管道執行常見的數據操作
- 將代碼打包成腳本、函數和模組
- 使用基本的文件輸入/輸出功能解決常見問題
- 使用 WMI 和 CIM 找到系統信息
- 使用 WebAdministration 模組自動化 IIS 功能並進行管理

詳細內容:
Windows PowerShell 是一個基於任務的命令行殼層和腳本語言,專為系統管理而設計。建立在 .NET Framework 上,Windows PowerShell 幫助 IT 專業人員和高級用戶控制和自動化 Windows 操作系統和在 Windows 上運行的應用程序的管理。

PowerShell 非常適合批量導入或刪除大量用戶帳戶,並可讓您通過 WMI(Windows 管理儀器)批量收集大量詳細的系統信息。

《Getting Started with PowerShell》旨在幫助您快速上手 PowerShell,從安裝的基礎知識到編寫腳本和網頁伺服器自動化。作為 PowerShell 的入門主題,本書涵蓋了尋找和理解 PowerShell 命令以及將代碼打包以供重複使用的內容,並提供了自動化 IIS 的實際示例。還包括安裝和設置、創建腳本、自動化任務以及使用 PowerShell 訪問數據存儲、註冊表和文件系統等主題。

您將探索 PowerShell 環境,並了解如何使用 cmdlet、函數和腳本自動化 Windows 系統。在此過程中,您將學習執行數據操作並使用基本的文件輸入/輸出功能解決常見問題。

通過閱讀本書,您將熟悉 PowerShell,並能夠利用所學的知識自動化您的伺服器。

風格和方法:
本書是一本實用的學習指南,內容豐富,包含大量活動、示例和屏幕截圖。