Enterprise PowerShell Scripting Bootcamp

Brenton J.W. Blawat

  • 出版商: Packt Publishing
  • 出版日期: 2017-05-23
  • 售價: $1,970
  • 貴賓價: 9.5$1,872
  • 語言: 英文
  • 頁數: 238
  • 裝訂: Paperback
  • ISBN: 1787288285
  • ISBN-13: 9781787288287
  • 相關分類: Powershell
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

The quick start guide for an advanced enterprise PowerShell framework

About This Book

  • Introduces industry-proven techniques that improve script efficiency and reliability
  • Example-rich guide based on real-world scenarios
  • Facilitates building a script that can fully scan a Windows server and identify components

Who This Book Is For

This book is for IT professionals and Windows administrators who would like to gain intensive, hands-on knowledge and skills on PowerShell without spending hours and hours in learning. If you have been struggling to find the time to gain proficiency and confidence with PowerShell and everyday scripting tasks

What You Will Learn

  • Create an advanced PowerShell scripting template that provides repeatable code to jumpstart all of your scripting projects
  • Learn how to securely encrypt and store usernames, passwords, and other sensitive data in PowerShell scripts and answer files
  • Understand how to optimize the performance of scripts to help process large datasets quickly and avoid time-consuming mistakes
  • Develop a script to scan for non-standard Windows Server configurations and identify service accounts used on Windows Servers
  • Gather a large list of data from a Windows server without locally or remotely logging in interactively

In Detail

Enterprise PowerShell Scripting Bootcamp explains how to create your own repeatable PowerShell scripting framework. This framework contains script logging methodologies, answer file interactions, and string encryption and decryption strategies.

This book focuses on evaluating individual components to identify the system's function, role, and unique characteristics. To do this, you will leverage built-in CMDlets and Windows Management Instrumentation (WMI) to explore Windows services, Windows processes, Windows features, scheduled tasks, and disk statistics. You will also create custom functions to perform a deep search for specific strings in files and evaluate installed software through executable properties.

We will then discuss different scripting techniques to improve the efficiency of scripts. By leveraging several small changes to your code, you can increase the execution performance by over 130%.

By the end of this book, you will be able to tie all of the concepts together in a PowerShell-based Windows server scanning script. This discovery script will be able to scan a Windows server to identify a multitude of components.

Style and approach

This book is all about fast and intensive learning. This means, we don't waste time in helping readers get started. The new content is about leveraging highly-effective examples to build new things, help solving problems in newer and unseen ways, and providing an enterprise-ready platform to create PowerShell Scripts.

商品描述(中文翻譯)

一個進階企業 PowerShell 框架的快速入門指南

關於本書



  • 介紹了提高腳本效率和可靠性的行業驗證技術

  • 基於實際場景的範例豐富的指南

  • 幫助構建一個能夠完全掃描 Windows 伺服器並識別組件的腳本

本書適合對象


本書適合 IT 專業人士和 Windows 管理員,他們希望在 PowerShell 上獲得深入、實踐性的知識和技能,而不需花費大量時間學習。如果您一直在努力尋找時間來熟練和自信地使用 PowerShell 進行日常腳本任務,那麼這本書就是為您而寫的。

您將學到什麼



  • 創建一個高級 PowerShell 腳本模板,提供可重複使用的代碼,以啟動所有腳本項目

  • 學習如何安全加密和存儲 PowerShell 腳本和答案文件中的用戶名、密碼和其他敏感數據

  • 了解如何優化腳本的性能,以快速處理大型數據集並避免耗時的錯誤

  • 開發一個腳本,用於掃描非標準的 Windows Server 配置並識別在 Windows Server 上使用的服務帳戶

  • 從 Windows 伺服器中收集大量數據,而無需本地或遠程交互式登錄

詳細內容


《企業 PowerShell 腳本訓練營》解釋了如何創建自己的可重複使用的 PowerShell 腳本框架。該框架包含腳本記錄方法、答案文件互動以及字符串加密和解密策略。


本書重點在於評估各個組件,以識別系統的功能、角色和獨特特性。為此,您將利用內建的 CMDlet 和 Windows 管理儀器 (WMI) 探索 Windows 服務、Windows 進程、Windows 功能、計劃任務和磁碟統計數據。您還將創建自定義函數,以在文件中執行深度搜索特定字符串並通過可執行文件屬性評估已安裝的軟體。


然後,我們將討論不同的腳本技術,以提高腳本的效率。通過對代碼進行幾個小的更改,您可以將執行性能提高超過 130%。


通過本書的學習,您將能夠將所有概念結合在一個基於 PowerShell 的 Windows 伺服器掃描腳本中。這個發現腳本將能夠掃描 Windows 伺服器,識別出多個組件。

風格和方法


本書注重快速而深入的學習。這意味著我們不浪費時間幫助讀者入門。新內容旨在通過高效的範例構建新事物,以新的和未見過的方式解決問題,並提供一個企業級的平台來創建 PowerShell 腳本。