Windows PowerShell Cookbook. for Windows, Exchange 2007, and MOM V3
- Autor:
- Lee Holmes
- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 592
- Dostępne formaty:
-
ePubMobi
Opis ebooka: Windows PowerShell Cookbook. for Windows, Exchange 2007, and MOM V3
This Cookbook by Windows PowerShell team developer Lee Holmes provides hundreds of tested scripts that you can use right away to get Microsoft's new tool working for you. More than 150 recipes, combined with a concise task-based introduction to the Windows PowerShell scripting language and environment, make it the perfect look-up guide when you encounter a thorny problem, or need a quick solution. The ideal companion to any tutorial or reference, this book meets the needs of system administrators at any level.
Microsoft has revolutionized the world of system management and command-line shells with its release of Windows PowerShell, and Lee Holmes gives you practical tools and inside advice that will make you a more productive user and administrator. You will be able to solve everything from automating routine tasks, working with files, event logs and other forms of structured data, to managing the users and resources of complex Windows networks. Each recipe includes a focused piece of code plus discussion of how and why it works, so that you can apply the solution to similar tasks.
You get an array of recipes covering PowerShell fundamentals, common tasks, and administrator tasks, including:
- Pipelines, variables, objects, looping and flow control, strings and unstructured text, calculations and math
- Simple files; structured files; Internet-enabled scripts; code reuse; lists, arrays and hashtables; user feedback; error management; environmental awareness; script signing; and more
- Files and directories, registry manipulation, comparing data, event logs, process cmdlets, service cmdlets, Active Directory, enterprise computer management, and more
With working scripts, tutorials, and references all in one volume, Windows PowerShell Cookbook will turbocharge the productivity of any Windows administrator.
Wybrane bestsellery
-
PowerShell to zaawansowany interpreter poleceń oparty na środowisku programistycznym .NET Framework. Jest preferowanym narzędziem do kontrolowania i zarządzania środowiskiem Windows i Azure. W przeciwieństwie do większości powłok, które operują na łańcuchach znaków, PowerShell wykorzystuje obiekt...
PowerShell. Kurs video. Zarządzanie środowiskiem Windows i Azure PowerShell. Kurs video. Zarządzanie środowiskiem Windows i Azure
(39.90 zł najniższa cena z 30 dni)92.95 zł
169.00 zł(-45%) -
Discover a proven method to learning programming in an accessible style. Ideal for enthusiasts, this book guides your from fundamentals to advanced concepts, enabling you to code confidently and build your tools and libraries using PowerShell 7.
PowerShell 7 Workshop. Learn how to program with PowerShell 7 on Windows, Linux, and the Raspberry Pi PowerShell 7 Workshop. Learn how to program with PowerShell 7 on Windows, Linux, and the Raspberry Pi
-
This cookbook will help you gain command of PowerShell 7.2 to manage the core roles, features, and services within Windows Server 2022. Thomas Lee provides an expansive view of the functionality made possible in PowerShell’s latest major release.
Windows Server Automation with PowerShell Cookbook. Powerful ways to automate, manage, and administrate Windows Server 2022 using PowerShell 7.2 - Fifth Edition Windows Server Automation with PowerShell Cookbook. Powerful ways to automate, manage, and administrate Windows Server 2022 using PowerShell 7.2 - Fifth Edition
-
Power Apps is a low-code platform owned by Microsoft. Microsoft Power Apps Cookbook, Second Edition, takes a pragmatic approach where every business scenario is presented in a quick, practical, and action-oriented recipe. By the end of this book, you will have gained experience in developing appl...
Microsoft Power Apps Cookbook. Apply low-code recipes to solve everyday business challenges and become a Power Apps pro - Second Edition Microsoft Power Apps Cookbook. Apply low-code recipes to solve everyday business challenges and become a Power Apps pro - Second Edition
-
Naucz się korzystać z wieloplatformowej wersji open source powłoki Windows PowerShell Od lat od administratorów systemów Windows oczekuje się znajomości powłoki PowerShell. Ponieważ jest to standardowe narzędzie automatyzacji firmy Microsoft, każdy administrator prędzej czy p&oac...(56.26 zł najniższa cena z 30 dni)
88.83 zł
98.70 zł(-10%) -
Shell scripts are everywhere, especially those written in bash-compatible syntax. But these scripts can be complex and obscure. Complexity is the enemy of security, but it's also the enemy of readability and understanding. With this practical book, you'll learn how to decipher old bash code and w...(152.15 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
This comprehensive guide covers both basic and advanced topics and tips to help you become adept at using PowerShell scripting, and act as a master reference to keep handy.
Mastering PowerShell Scripting. Automate and manage your environment using PowerShell 7.1 - Fourth Edition Mastering PowerShell Scripting. Automate and manage your environment using PowerShell 7.1 - Fourth Edition
-
To praktyczny podręcznik dla administratorów systemów i inżynierów, którzy chcą zautomatyzować zadania związane z utrzymywaniem środowisk serwerowych, prowadzeniem testów albo automatyzacją potoków ciągłej integracji. Zawiera wprowadzenie do języka powłoki PowerShell, informacje o sposobach uruch...
PowerShell dla administratorów systemów. Prosta automatyzacja zadań PowerShell dla administratorów systemów. Prosta automatyzacja zadań
(47.40 zł najniższa cena z 30 dni)51.35 zł
79.00 zł(-35%) -
Praktyczny przewodnik po technikach automatyzowania administrowania systemami Windows przy użyciu Windows PowerShell 3.0 Poznaj podstawy interfejsu wiersza polecenia i języka skryptowego Windows PowerShell 3.0 krok po kroku. Idealny dla osób dysponujących podstawowymi umiejętnościami progr...(30.90 zł najniższa cena z 30 dni)
115.29 zł
128.10 zł(-10%) -
Praktyczny, kieszonkowy przewodnik administratora systemu Exchange! Poręczny i szczegółowy przewodnik pozwala błyskawicznie znaleźć odpowiedzi na pytania związane z zarządzaniem konfiguracją i klientami systemów Exchange Server 2013 i Exchange Online. Przewodnik koncentruje się na p...
Vademecum administratora Microsoft Exchange Server 2013 - Konfiguracja i klienci Vademecum administratora Microsoft Exchange Server 2013 - Konfiguracja i klienci
(28.90 zł najniższa cena z 30 dni)62.37 zł
69.30 zł(-10%)
O autorze ebooka
Lee Holmes jest głównym architektem zabezpieczeń w Azure Security. Brał udział w tworzeniu programu PowerShell od jego wersji beta. Ma ogromne doświadczenie w pracy z Windows PowerShell, jest też niezastąpiony w rozwiązywaniu problemów administratorów systemów i użytkowników tego programu.
Lee Holmes - pozostałe książki
-
Ta książka jest zwięzłym przewodnikiem po programie PowerShell. Opisuje najważniejsze polecenia powłoki i zasady posługiwania się językiem skryptowym. To idealna pomoc w codziennej pracy dla każdego, kto jest administratorem systemu, a nie ma czasu na lekturę grubych książek czy setek stron forów...
PowerShell. Leksykon kieszonkowy. Przenośna pomoc dla tworzących skrypty w PowerShell. Wydanie III PowerShell. Leksykon kieszonkowy. Przenośna pomoc dla tworzących skrypty w PowerShell. Wydanie III
(23.94 zł najniższa cena z 30 dni)25.92 zł
39.90 zł(-35%) -
How do you use PowerShell to navigate the filesystem, manage files and folders, or retrieve a web page? This introduction to the PowerShell language and scripting environment provides more than 400 task-oriented recipes to help you solve all kinds of problems. Intermediate to advanced system admi...(245.65 zł najniższa cena z 30 dni)
254.15 zł
299.00 zł(-15%) -
This portable reference to PowerShell summarizes the command shell and scripting language and provides a concise guide to the many tasks that make PowerShell so useful. If you're a busy administrator and don't have time to plow through huge books or in-depth online searches, this is the ideal on-...(80.73 zł najniższa cena z 30 dni)
80.73 zł
94.99 zł(-15%) -
Dzięki książce „Windows PowerShell. Leksykon kieszonkowy” poznasz język i środowisko PowerShell. Dowiesz się, w jaki sposób wydawać polecenia, jak stosować operatory, instrukcje warunkowe, pętle i wiele elementów znanych z innych języków programowania. Po przeczytaniu tej książki będz...(6.90 zł najniższa cena z 30 dni)
9.49 zł
18.99 zł(-50%)
Ebooka "Windows PowerShell Cookbook. for Windows, Exchange 2007, and MOM V3" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka "Windows PowerShell Cookbook. for Windows, Exchange 2007, and MOM V3" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "Windows PowerShell Cookbook. for Windows, Exchange 2007, and MOM V3" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły ebooka
- ISBN Ebooka:
- 978-05-965-5477-4, 9780596554774
- Data wydania ebooka:
- 2007-10-23 Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 1.9MB
- Rozmiar pliku Mobi:
- 5.5MB
Spis treści ebooka
- Windows PowerShell Cookbook
- SPECIAL OFFER: Upgrade this ebook with OReilly
- A Note Regarding Supplemental Files
- Foreword
- Glue, Enablers, and a WSH
- That Lee Guy
- Preface
- Who This Book Is For
- How This Book Is Organized
- Part I: Tour
- Part II: Fundamentals
- Part III: Common Tasks
- Part IV: Administrator Tasks
- Part V: References
- What You Need to Use This Book
- Conventions Used in This Book
- Code Examples
- Obtaining Code Examples
- Using Code Examples
- Comments and Questions
- Acknowledgments
- I. Tour
- A Guided Tour of Windows PowerShell
- Introduction
- An Interactive Shell
- Structured Commands (Cmdlets)
- Deep Integration of Objects
- Administrators As First-Class Users
- Composable Commands
- Techniques to Protect You from Yourself
- Common Discovery Commands
- Ubiquitous Scripting
- Ad Hoc Development
- Bridging Technologies
- Namespace Navigation Through Providers
- Much, Much More
- A Guided Tour of Windows PowerShell
- II. Fundamentals
- 1. The Windows PowerShell Interactive Shell
- Introduction
- 1.1. Run Programs, Scripts, and Existing Tools
- Problem
- Solution
- Discussion
- See Also
- 1.2. Run a PowerShell Command
- Problem
- Solution
- Discussion
- See Also
- 1. The Windows PowerShell Interactive Shell
- 1.3. Customize Your Shell, Profile, and Prompt
- Problem
- Solution
- Discussion
- See Also
- 1.4. Find a Command to Accomplish a Task
- Problem
- Solution
- Discussion
- See Also
- 1.5. Get Help on a Command
- Problem
- Solution
- Discussion
- See Also
- 1.6. Program: Search Help for Text
- See Also
- 1.7. Invoke a PowerShell Script From Outside PowerShell
- Problem
- Solution
- Discussion
- See Also
- 1.8. Program: Retain Changes to Environment Variables Set by a Batch File
- See Also
- 1.9. Get the System Date and Time
- Problem
- Solution
- Discussion
- See Also
- 1.10. Determine the Status of the Last Command
- Problem
- Solution
- Discussion
- 1.11. Measure the Duration of a Command
- Problem
- Solution
- Discussion
- See Also
- 1.12. Customize the Shell to Improve Your Productivity
- Problem
- Solution
- Discussion
- See Also
- 1.13. Program: Learn Aliases for Common Commands
- See Also
- 1.14. Access and Manage Your Console History
- Problem
- Solution
- Discussion
- See Also
- 1.15. Store the Output of a Command into a File
- Problem
- Solution
- Discussion
- See Also
- 1.16. Add Information to the End of a File
- Problem
- Solution
- Discussion
- See Also
- 1.17. Record a Transcript of Your Shell Session
- Problem
- Solution
- Discussion
- 1.18. Display the Properties of an Item As a List
- Problem
- Solution
- Discussion
- 1.19. Display the Properties of an Item As a Table
- Problem
- Solution
- Discussion
- See Also
- 1.20. Manage the Error Output of Commands
- Problem
- Solution
- Discussion
- See Also
- 1.21. Configure Debug, Verbose, and Progress Output
- Problem
- Solution
- Discussion
- See Also
- 1.22. Extend Your Shell with Additional Snapins
- Problem
- Solution
- Discussion
- See Also
- 1.23. Use Console Files to Load and Save Sets of Snapins
- Problem
- Solution
- Discussion
- See Also
- 2. Pipelines
- 2.0. Introduction
- 2.1. Filter Items in a List or Command Output
- Problem
- Solution
- Discussion
- See Also
- 2.2. Program: Simplify Most Where-Object Filters
- See Also
- 2.3. Program: Interactively Filter Lists of Objects
- See Also
- 2.4. Work with Each Item in a List or Command Output
- Problem
- Solution
- Discussion
- See Also
- 2.5. Automate Data-Intensive Tasks
- Problem
- Solution
- Discussion
- See Also
- 3. Variables and Objects
- 3.0. Introduction
- 3.1. Store Information in Variables
- Problem
- Solution
- Discussion
- See Also
- 3.2. Access Environment Variables
- Problem
- Solution
- Discussion
- See Also
- 3.3. Control Access and Scope of Variables and Other Items
- Problem
- Solution
- Discussion
- Variables
- Functions
- Aliases and drives
- See Also
- 3.4. Work with .NET Objects
- Problem
- Solution
- Discussion
- Static methods
- Instance methods
- Static properties
- Instance properties
- See Also
- 3.5. Create an Instance of a .NET Object
- Problem
- Solution
- Discussion
- Load types from another assembly
- See Also
- 3.6. Program: Create Instances of Generic Objects
- 3.7. Reduce Typing for Long Class Names
- Problem
- Solution
- Discussion
- See Also
- 3.8. Use a COM Object
- Problem
- Solution
- Discussion
- See Also
- 3.9. Learn About Types and Objects
- Problem
- Solution
- Discussion
- See Also
- 3.10. Get Detailed Documentation About Types and Objects
- Problem
- Solution
- Discussion
- Public constructors
- Public fields/public properties
- Public methods
- See Also
- 3.11. Add Custom Methods and Properties to Objects
- Problem
- Solution
- Discussion
- Calculated properties
- See Also
- 3.12. Add Custom Methods and Properties to Types
- Problem
- Solution
- Discussion
- Getting started
- Add a ScriptProperty
- Add an AliasProperty
- Add a ScriptMethod
- Add other extension points
- 4. Looping and Flow Control
- 4.0. Introduction
- 4.1. Make Decisions with Comparison and Logical Operators
- Problem
- Solution
- Discussion
- See Also
- 4.2. Adjust Script Flow Using Conditional Statements
- Problem
- Solution
- Discussion
- 4.3. Manage Large Conditional Statements with Switches
- Problem
- Solution
- Discussion
- See Also
- 4.4. Repeat Operations with Loops
- Problem
- Solution
- Discussion
- See Also
- 4.5. Add a Pause or Delay
- Problem
- Solution
- Discussion
- See Also
- 5. Strings and Unstructured Text
- 5.0. Introduction
- 5.1. Create a String
- Problem
- Solution
- Discussion
- See Also
- 5.2. Create a Multiline or Formatted String
- Problem
- Solution
- Discussion
- 5.3. Place Special Characters in a String
- Problem
- Solution
- Discussion
- See Also
- 5.4. Insert Dynamic Information in a String
- Problem
- Solution
- Discussion
- See Also
- 5.5. Prevent a String from Including Dynamic Information
- Problem
- Solution
- Discussion
- See Also
- 5.6. Place Formatted Information in a String
- Problem
- Solution
- Discussion
- See Also
- 5.7. Search a String for Text or a Pattern
- Problem
- Solution
- Discussion
- See Also
- 5.8. Replace Text in a String
- Problem
- Solution
- Discussion
- See Also
- 5.9. Convert a String to Upper/Lowercase
- Problem
- Solution
- Discussion
- See Also
- 5.10. Trim a String
- Problem
- Solution
- Discussion
- See Also
- 5.11. Format a Date for Output
- Problem
- Solution
- Discussion
- See Also
- 5.12. Program: Convert Text Streams to Objects
- See Also
- 5.13. Generate Large Reports and Text Streams
- Problem
- Solution
- Discussion
- Creating large text reports
- 6. Calculations and Math
- 6.0. Introduction
- 6.1. Perform Simple Arithmetic
- Problem
- Solution
- Discussion
- See Also
- 6.2. Perform Complex Arithmetic
- Problem
- Solution
- Discussion
- Working with any root
- Working with degrees instead of radians
- See Also
- 6.3. Measure Statistical Properties of a List
- Problem
- Solution
- Discussion
- 6.4. Work with Numbers As Binary
- Problem
- Solution
- Discussion
- See Also
- 6.5. Simplify Math with Administrative Constants
- Problem
- Solution
- Discussion
- 6.6. Convert Numbers Between Bases
- Problem
- Solution
- Discussion
- See Also
- III. Common Tasks
- 7. Simple Files
- 7.0. Introduction
- 7.1. Get the Content of a File
- Problem
- Solution
- Discussion
- See Also
- 7.2. Search a File for Text or a Pattern
- Problem
- Solution
- Discussion
- See Also
- 7. Simple Files
- 7.3. Parse and Manage Text-Based Logfiles
- Problem
- Solution
- Discussion
- See Also
- 7.4. Parse and Manage Binary Files
- Problem
- Solution
- Discussion
- See Also
- 7.5. Create a Temporary File
- Problem
- Solution
- Discussion
- See Also
- 7.6. Search and Replace Text in a File
- Problem
- Solution
- Discussion
- Work with files encoded in Unicode or another (OEM) code page
- Replace text using a pattern instead of plain text
- Replace text that spans multiple lines
- Replace text in large files
- See Also
- 8. Structured Files
- 8.0. Introduction
- 8.1. Access Information in an XML File
- Problem
- Solution
- Discussion
- See Also
- 8.2. Perform an XPath Query Against an XML File
- Problem
- Solution
- Discussion
- 8.3. Modify Data in an XML File
- Problem
- Solution
- Discussion
- 8.4. Easily Import and Export Your Structured Data
- Problem
- Solution
- Discussion
- 8.5. Store the Output of a Command in a CSV File
- Problem
- Solution
- Discussion
- See Also
- 8.6. Import Structured Data from a CSV File
- Problem
- Solution
- Discussion
- See Also
- 8.7. Use Excel to Manage Command Output
- Problem
- Solution
- Discussion
- See Also
- 9. Internet-Enabled Scripts
- 9.0. Introduction
- 9.1. Download a File from the Internet
- Problem
- Solution
- Discussion
- See Also
- 9.2. Download a Web Page from the Internet
- Problem
- Solution
- Discussion
- See Also
- 9.3. Program: Get-PageUrls
- See Also
- 9.4. Program: Connect-WebService
- See Also
- 9.5. Export Command Output As a Web Page
- Problem
- Solution
- Discussion
- 9.6. Program: Send an Email
- See Also
- 9.7. Program: Interact with Internet Protocols
- See Also
- 10. Code Reuse
- 10.0. Introduction
- 10.1. Write a Script
- Problem
- Solution
- Discussion
- See Also
- 10.2. Write a Function
- Problem
- Solution
- Discussion
- See Also
- 10.3. Write a Script Block
- Problem
- Solution
- Discussion
- See Also
- 10.4. Return Data from a Script, Function, or Script Block
- Problem
- Solution
- Discussion
- See Also
- 10.5. Place Common Functions in a Library
- Problem
- Solution
- Discussion
- See Also
- 10.6. Access Arguments of a Script, Function, or Script Block
- Problem
- Solution
- Discussion
- See Also
- 10.7. Access Pipeline Input
- Problem
- Solution
- Discussion
- See Also
- 10.8. Write Pipeline-Oriented Scripts with Cmdlet Keywords
- Problem
- Solution
- Discussion
- See Also
- 10.9. Write a Pipeline-Oriented Function
- Problem
- Solution
- Discussion
- See Also
- 11. Lists, Arrays, and Hashtables
- 11.0. Introduction
- 11.1. Create an Array or List of Items
- Problem
- Solution
- Discussion
- See Also
- 11.2. Create a Jagged or Multidimensional Array
- Problem
- Solution
- Discussion
- See Also
- 11.3. Access Elements of an Array
- Problem
- Solution
- Discussion
- See Also
- 11.4. Visit Each Element of an Array
- Problem
- Solution
- Discussion
- See Also
- 11.5. Sort an Array or List of Items
- Problem
- Solution
- Discussion
- 11.6. Determine Whether an Array Contains an Item
- Problem
- Solution
- Discussion
- See Also
- 11.7. Combine Two Arrays
- Problem
- Solution
- Discussion
- See Also
- 11.8. Find Items in an Array That Match a Value
- Problem
- Solution
- Discussion
- See Also
- 11.9. Remove Elements from an Array
- Problem
- Solution
- Discussion
- 11.10. Find Items in an Array Greater or Less Than a Value
- Problem
- Solution
- Discussion
- See Also
- 11.11. Use the ArrayList Class for Advanced Array Tasks
- Problem
- Solution
- Discussion
- See Also
- 11.12. Create a Hashtable or Associative Array
- Problem
- Solution
- Discussion
- See Also
- 11.13. Sort a Hashtable by Key or Value
- Problem
- Solution
- Discussion
- See Also
- 12. User Interaction
- 12.0. Introduction
- 12.1. Read a Line of User Input
- Problem
- Solution
- Discussion
- See Also
- 12.2. Read a Key of User Input
- Problem
- Solution
- Discussion
- 12.3. Program: Display a Menu to the User
- See Also
- 12.4. Display Messages and Output to the User
- Problem
- Solution
- Discussion
- See Also
- 12.5. Provide Progress Updates on Long-Running Tasks
- Problem
- Solution
- Discussion
- 12.6. Write Culture-Aware Scripts
- Problem
- Solution
- Discussion
- Date, time, and number formats
- Complexity of user input and file content
- Capitalization rules
- Sorting rules
- Other guidelines
- See Also
- 12.7. Program: Invoke a Script Block with Alternate Culture Settings
- See Also
- 12.8. Access Features of the Hosts User Interface
- Problem
- Solution
- Discussion
- 12.9. Program: Add a Graphical User Interface to Your Script
- See Also
- 13. Tracing and Error Management
- 13.0. Introduction
- 13.1. View the Errors Generated by a Command
- Problem
- Solution
- Discussion
- See Also
- 13.2. Handle Warnings, Errors, and Terminating Errors
- Problem
- Solution
- Discussion
- See Also
- 13.3. Output Warnings, Errors, and Terminating Errors
- Problem
- Solution
- Discussion
- See Also
- 13.4. Debug a Script
- Problem
- Solution
- Discussion
- See Also
- 13.5. Collect Detailed Traces of a Script or Command
- Problem
- Solution
- Discussion
- See Also
- 13.6. Program: Analyze a Script's Performance Profile
- See Also
- 14. Environmental Awareness
- 14.0. Introduction
- 14.1. View and Modify Environment Variables
- Problem
- Solution
- Discussion
- See Also
- 14.2. Access Information About Your Command's Invocation
- Problem
- Solution
- Discussion
- Scripts
- Functions
- Script blocks
- 14.3. Program: Investigate the InvocationInfo Variable
- See Also
- 14.4. Find Your Script's Name
- Problem
- Solution
- Discussion
- See Also
- 14.5. Find Your Script's Location
- Problem
- Solution
- Discussion
- See Also
- 14.6. Find the Location of Common System Paths
- Problem
- Solution
- Discussion
- See Also
- 14.7. Program: Search the Windows Start Menu
- See Also
- 14.8. Get the Current Location
- Problem
- Solution
- Discussion
- See Also
- 14.9. Safely Build File Paths Out of Their Components
- Problem
- Solution
- Discussion
- 14.10. Interact with PowerShell's Global Environment
- Problem
- Solution
- Discussion
- See Also
- 15. Extend the Reach of Windows PowerShell
- 15.0. Introduction
- 15.1. Access Windows Management Instrumentation Data
- Problem
- Solution
- Discussion
- See Also
- 15.2. Program: Determine Properties Available to WMI Filters
- See Also
- 15.3. Program: Search for WMI Classes
- See Also
- 15.4. Use .NET to Perform Advanced WMI Tasks
- Problem
- Solution
- Advanced instance features
- Advanced class features
- Advanced query feature
- Discussion
- See Also
- 15.5. Convert a VBScript WMI Script to PowerShell
- Problem
- Solution
- Discussion
- Retrieving data
- Calling methods on an instance
- Calling methods on a class
- See Also
- 15.6. Automate Programs Using COM Scripting Interfaces
- Problem
- Solution
- Discussion
- See Also
- 15.7. Program: Query a SQL Data Source
- See Also
- 15.8. Access Windows Performance Counters
- Problem
- Solution
- Discussion
- See Also
- 15.9. Program: Invoke Native Windows API Calls
- See Also
- 15.10. Program: Add Inline C# to Your PowerShell Script
- See Also
- 15.11. Access a .NET SDK Library
- Problem
- Solution
- Discussion
- See Also
- 15.12. Create Your Own PowerShell Cmdlet
- Problem
- Discussion
- Step 1: Download the Windows SDK
- Step 2: Create a file to hold the cmdlet and snapin source code
- Step 3: Compile the snapin
- Step 4: Install and register the snapin
- Step 5: Add the snapin to your session
- Step 6: Use the snapin
- 15.13. Add PowerShell Scripting to Your Own Program
- Problem
- Discussion
- Step 1: Download the Windows SDK
- Step 2: Create a file to hold the hosting source code
- Step 3: Compile and run the example
- See Also
- 16. Security and Script Signing
- 16.0. Introduction
- 16.1. Enable Scripting Through an Execution Policy
- Problem
- Solution
- Discussion
- See Also
- 16.2. Sign a PowerShell Script or Formatting File
- Problem
- Solution
- Discussion
- See Also
- 16.3. Program: Create a Self-Signed Certificate
- Discussion
- See Also
- 16.4. Manage PowerShell Security in an Enterprise
- Problem
- Solution
- Discussion
- Apply PowerShell's Group Policy templates
- Deploy Microsoft Certificate services
- Apply software restriction policies
- See Also
- 16.5. Verify the Digital Signature of a PowerShell Script
- Problem
- Solution
- Discussion
- 16.6. Securely Handle Sensitive Information
- Problem
- Solution
- Discussion
- See Also
- 16.7. Securely Request Usernames and Passwords
- Problem
- Solution
- Discussion
- See Also
- 16.8. Program: Start a Process As Another User
- Discussion
- See Also
- 16.9. Securely Store Credentials on Disk
- Problem
- Solution
- Save the credential's password to disk
- Recreate the credential from the password stored on disk
- Discussion
- See Also
- 16.10. Access User and Machine Certificates
- Problem
- Solution
- Discussion
- See Also
- 16.11. Program: Search the Certificate Store
- Discussion
- See Also
- IV. Administrator Tasks
- 17. Files and Directories
- 17.0. Introduction
- 17.1. Find All Files Modified Before a Certain Date
- Problem
- Solution
- Discussion
- See Also
- 17.2. Clear or Remove a File
- Problem
- Solution
- Discussion
- 17. Files and Directories
- 17.3. Manage and Change the Attributes of a File
- Problem
- Solution
- Discussion
- See Also
- 17.4. Get the Files in a Directory
- Problem
- Solution
- Discussion
- See Also
- 17.5. Find Files That Match a Pattern
- Problem
- Solution
- Discussion
- See Also
- 17.6. Manage Files That Include Special Characters
- Problem
- Solution
- Discussion
- 17.7. Program: Get Disk Usage Information
- Discussion
- See Also
- 17.8. Determine the Current Location
- Problem
- Solution
- Discussion
- 17.9. Monitor a File for Changes
- Problem
- Solution
- Discussion
- 17.10. Program: Get the MD5 or SHA1 Hash of a File
- Discussion
- See Also
- 17.11. Create a Directory
- Problem
- Solution
- Discussion
- 17.12. Remove a File or Directory
- Problem
- Solution
- Discussion
- See Also
- 17.13. Rename a File or Directory
- Problem
- Solution
- Discussion
- See Also
- 17.14. Move a File or Directory
- Problem
- Solution
- Discussion
- See Also
- 17.15. Get the ACL of a File or Directory
- Problem
- Solution
- Discussion
- See Also
- 17.16. Set the ACL of a File or Directory
- Problem
- Solution
- Discussion
- See Also
- 17.17. Program: Add Extended File Properties to Files
- Discussion
- See Also
- 17.18. Program: Create a Filesystem Hard Link
- Discussion
- See Also
- 17.19. Program: Create a ZIP Archive
- Discussion
- See Also
- 18. The Windows Registry
- 18.0. Introduction
- 18.1. Navigate the Registry
- Problem
- Solution
- Discussion
- See Also
- 18.2. View a Registry Key
- Problem
- Solution
- Discussion
- 18.3. Modify or Remove a Registry Key Value
- Problem
- Solution
- Discussion
- 18.4. Create a Registry Key Value
- Problem
- Solution
- Discussion
- 18.5. Remove a Registry Key
- Problem
- Solution
- Discussion
- See Also
- 18.6. Add a Site to an Internet Explorer Security Zone
- Problem
- Solution
- Discussion
- See Also
- 18.7. Modify Internet Explorer Settings
- Problem
- Solution
- Discussion
- See Also
- 18.8. Program: Search the Windows Registry
- Discussion
- See Also
- 18.9. Get the ACL of a Registry Key
- Problem
- Solution
- Discussion
- See Also
- 18.10. Set the ACL of a Registry Key
- Problem
- Solution
- Discussion
- See Also
- 18.11. Work with the Registry of a Remote Computer
- Problem
- Solution
- Discussion
- See Also
- 18.12. Program: Get Registry Items from Remote Machines
- Discussion
- See Also
- 18.13. Program: Get Properties of Remote Registry Keys
- Discussion
- See Also
- 18.14. Program: Set Properties of Remote Registry Keys
- Discussion
- See Also
- 18.15. Discover Registry Settings for Programs
- Problem
- Solution
- Discussion
- Launch and configure Process Monitor
- Prepare to manually set the configuration option
- Tell Process Monitor to begin capturing information
- Manually set the configuration option
- Tell Process Monitor to stop capturing information
- Review the capture logs for registry modification
- Automate these registry writes
- See Also
- 19. Comparing Data
- 19.0. Introduction
- 19.1. Compare the Output of Two Commands
- Problem
- Solution
- Discussion
- 19.2. Determine the Differences Between Two Files
- Problem
- Solution
- Discussion
- 19.3. Verify Integrity of File Sets
- Problem
- Solution
- Discussion
- See Also
- 20. Event Logs
- 20.0. Introduction
- 20.1. List All Event Logs
- Problem
- Solution
- Discussion
- See Also
- 20.2. Get the Newest Entries from an Event Log
- Problem
- Solution
- Discussion
- See Also
- 20.3. Find Event Log Entries with Specific Text
- Problem
- Solution
- Discussion
- See Also
- 20.4. Retrieve a Specific Event Log Entry
- Problem
- Solution
- Discussion
- See Also
- 20.5. Find Event Log Entries by Their Frequency
- Problem
- Solution
- Discussion
- See Also
- 20.6. Back Up an Event Log
- Problem
- Solution
- Discussion
- 20.7. Create or Remove an Event Log
- Problem
- Solution
- Discussion
- See Also
- 20.8. Write to an Event Log
- Problem
- Solution
- Discussion
- See Also
- 20.9. Access Event Logs of a Remote Machine
- Problem
- Solution
- Discussion
- See Also
- 21. Processes
- 21.0. Introduction
- 21.1. List Currently Running Processes
- Problem
- Solution
- Discussion
- See Also
- 21.2. Launch a Process
- Problem
- Solution
- Discussion
- See Also
- 21.3. Stop a Process
- Problem
- Solution
- Discussion
- 21.4. Program: Invoke a PowerShell Expression on a Remote Machine
- See Also
- 22. System Services
- 22.0. Introduction
- 22.1. List All Running Services
- Problem
- Solution
- Discussion
- See Also
- 22.2. Manage a Running Service
- Problem
- Solution
- Discussion
- See Also
- 22.3. Access Services on a Remote Machine
- Problem
- Solution
- Discussion
- See Also
- 23. Active Directory
- 23.0. Introduction
- 23.1. Test Active Directory Scripts on a Local Installation
- Problem
- Solution
- Discussion
- Install ADAM
- Create a test instance
- See Also
- 23.2. Create an Organizational Unit
- Problem
- Solution
- Discussion
- See Also
- 23.3. Get the Properties of an Organizational Unit
- Problem
- Solution
- Discussion
- 23.4. Modify Properties of an Organizational Unit
- Problem
- Solution
- Discussion
- 23.5. Get the Children of an Active Directory Container
- Problem
- Solution
- Discussion
- See Also
- 23.6. Create a User Account
- Problem
- Solution
- Discussion
- See Also
- See Also
- 23.7. Search for a User Account
- Problem
- Solution
- Discussion
- 23.8. Get and List the Properties of a User Account
- Problem
- Solution
- Discussion
- 23.9. Modify Properties of a User Account
- Problem
- Solution
- Discussion
- 23.10. Create a Security or Distribution Group
- Problem
- Solution
- Discussion
- See Also
- 23.11. Search for a Security or Distribution Group
- Problem
- Solution
- Discussion
- 23.12. Get the Properties of a Group
- Problem
- Solution
- Discussion
- 23.13. Find the Owner of a Group
- Problem
- Solution
- Discussion
- 23.14. Modify Properties of a Security or Distribution Group
- Problem
- Solution
- Discussion
- 23.15. Add a User to a Security or Distribution Group
- Problem
- Solution
- Discussion
- See Also
- 23.16. Remove a User from a Security or Distribution Group
- Problem
- Solution
- Discussion
- See Also
- 23.17. List a User's Group Membership
- Problem
- Solution
- Discussion
- See Also
- 23.18. List the Members of a Group
- Problem
- Solution
- Discussion
- See Also
- 23.19. List the Users in an Organizational Unit
- Problem
- Solution
- Discussion
- See Also
- 23.20. Search for a Computer Account
- Problem
- Solution
- Discussion
- 23.21. Get and List the Properties of a Computer Account
- Problem
- Solution
- Discussion
- 24. Enterprise Computer Management
- 24.0. Introduction
- 24.1. Program: List Logon or Logoff Scripts for a User
- See Also
- 24.2. Program: List Startup or Shutdown Scripts for a Machine
- See Also
- 24.3. Enable or Disable the Windows Firewall
- Problem
- Solution
- Discussion
- See Also
- 24.4. Open or Close Ports in the Windows Firewall
- Problem
- Solution
- Discussion
- See Also
- 24.5. Program: List All Installed Software
- See Also
- 24.6. Uninstall an Application
- Problem
- Solution
- Discussion
- See Also
- 24.7. Manage Scheduled Tasks on a Computer
- Problem
- Solution
- Discussion
- 24.8. Retrieve Printer Information
- Problem
- Solution
- Discussion
- See Also
- 24.9. Retrieve Printer Queue Statistics
- Problem
- Solution
- Discussion
- See Also
- 24.10. Manage Printers and Print Queues
- Problem
- Solution
- Discussion
- See Also
- 24.11. Determine Whether a Hotfix Is Installed
- Problem
- Solution
- Discussion
- See Also
- 24.12. Program: Summarize System Information
- See Also
- 24.13. Renew a DHCP Lease
- Problem
- Solution
- Discussion
- Use the Win32_NetworkAdapterConfiguration WMI class
- Run ipconfig on the remote computer
- See Also
- 24.14. Assign a Static IP Address
- Problem
- Solution
- Discussion
- See Also
- 24.15. List All IP Addresses for a Computer
- Problem
- Solution
- Discussion
- Use the Win32_NetworkAdapterConfiguration WMI class
- Run ipconfig on the remote computer
- See Also
- 24.16. List Network Adapter Properties
- Problem
- Solution
- Discussion
- See Also
- 25. Manage an Exchange 2007 Server
- 25.0. Introduction
- 25.1. Experiment with Exchange Management Shell
- Problem
- Solution
- Discussion
- 25.2. Automate Wizard-Guided Tasks
- Problem
- Solution
- Discussion
- 25.3. Manage Exchange Users
- Problem
- Solution
- Discussion
- 25.4. Manage Mailboxes
- Problem
- Solution
- Discussion
- 25.5. Manage Distribution Groups
- Problem
- Solution
- Discussion
- 25.6. Manage Transport Rules
- Problem
- Solution
- Discussion
- 25.7. Manage Outlook Web Access
- Problem
- Solution
- Discussion
- 26. Manage an Operations Manager 2007 Server
- 26.0. Introduction
- 26.1. Experiment with the Command Shell
- Problem
- Solution
- Discussion
- 26.2. Manage Operations Manager Agents
- Problem
- Solution
- Discussion
- 26.3. Schedule a Maintenance Window
- Problem
- Solution
- Discussion
- 26.4. Get, Install, and Uninstall Management Packs
- Problem
- Solution
- Discussion
- 26.5. Enable or Disable Rules
- Problem
- Solution
- Discussion
- 26.6. List and Start Tasks
- Problem
- Solution
- Discussion
- 26.7. Manage Alerts
- Problem
- Solution
- Discussion
- V. References
- A. PowerShell Language and Environment
- A.1. Commands and Expressions
- A.2. Comments
- A.3. Variables
- A.4. Booleans
- A.5. Strings
- Literal and Expanding Strings
- Here Strings
- Escape Sequences
- A.6. Numbers
- Simple Assignment
- Administrative Numeric Constants
- Hexadecimal and Other Number Bases
- A. PowerShell Language and Environment
- A.7. Arrays and Lists
- Array Definitions
- Array Access
- Array Slicing
- A.8. Hashtables (Associative Arrays)
- Hashtable Definitions
- Hashtable Access
- A.9. XML
- A.10. Simple Operators
- Arithmetic Operators
- Logical Operators
- Binary Operators
- Other Operators
- A.11. Comparison Operators
- A.12. Conditional Statements
- if, elseif, and else Statements
- switch Statements
- A.13. Looping Statements
- for Statement
- foreach Statement
- while Statement
- do while Statement/do until Statement
- Flow Control Statements
- break
- continue
- A.14. Working with the .NET Framework
- Static Methods
- Instance Methods
- Static Properties
- Instance Properties
- Learning About Types
- The Get-Member Cmdlet
- .NET framework documentation
- Type Shortcuts
- Creating Instances of Types
- Interacting with COM Objects
- Extending Types
- The Add-Member cmdlet
- Custom type extension files
- A.15. Writing Scripts, Reusing Functionality
- Writing Scripts
- Running Scripts
- Invoking
- Dot-sourcing
- Providing Input to Scripts
- Argument array
- Formal parameters
- Pipeline input
- Cmdlet keywords in scripts
- $MyInvocation automatic variable
- Retrieving Output from Scripts
- Pipeline output
- Return statement
- Exit statement
- Functions
- Script Blocks
- A.16. Managing Errors
- Nonterminating Errors
- Terminating Errors
- A.17. Formatting Output
- Formatting Output
- Custom formatting files
- Formatting Output
- A.18. Capturing Output
- A.19. Tracing and Debugging
- The Set-PsDebug Cmdlet
- The Trace-Command Cmdlet
- Verbose Cmdlet Output
- A.20. Common Customization Points
- Console Settings
- Adjust your window size
- Make text selection easier
- Use hotkeys to operate the shell more efficiently
- Console Settings
- Profiles
- Prompts
- Tab Completion
- B. Regular Expression Reference
- C. PowerShell Automatic Variables
- D. Standard PowerShell Verbs
- E. Selected .NET Classes and Their Uses
- F. WMI Reference
- G. Selected COM Objects and Their Uses
- H. .NET String Formatting
- H.1. String Formatting Syntax
- H.2. Standard Numeric Format Strings
- H.3. Custom Numeric Format Strings
- I. .NET DateTime Formatting
- I.1. Custom DateTime Format Strings
- Index
- About the Author
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly
O'Reilly Media - inne książki
-
JavaScript gives web developers great power to create rich interactive browser experiences, and much of that power is provided by the browser itself. Modern web APIs enable web-based applications to come to life like never before, supporting actions that once required browser plug-ins. Some are s...(186.15 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
How will software development and operations have to change to meet the sustainability and green needs of the planet? And what does that imply for development organizations? In this eye-opening book, sustainable software advocates Anne Currie, Sarah Hsu, and Sara Bergman provide a unique overview...(160.65 zł najniższa cena z 30 dni)
177.65 zł
209.00 zł(-15%) -
OpenTelemetry is a revolution in observability data. Instead of running multiple uncoordinated pipelines, OpenTelemetry provides users with a single integrated stream of data, providing multiple sources of high-quality telemetry data: tracing, metrics, logs, RUM, eBPF, and more. This practical gu...(143.65 zł najniższa cena z 30 dni)
152.15 zł
179.00 zł(-15%) -
Interested in developing embedded systems? Since they don't tolerate inefficiency, these systems require a disciplined approach to programming. This easy-to-read guide helps you cultivate good development practices based on classic software design patterns and new patterns unique to embedded prog...(152.15 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
If you use Linux in your day-to-day work, then Linux Pocket Guide is the perfect on-the-job reference. This thoroughly updated 20th anniversary edition explains more than 200 Linux commands, including new commands for file handling, package management, version control, file format conversions, an...(92.65 zł najniższa cena z 30 dni)
101.15 zł
119.00 zł(-15%) -
Gain the valuable skills and techniques you need to accelerate the delivery of machine learning solutions. With this practical guide, data scientists, ML engineers, and their leaders will learn how to bridge the gap between data science and Lean product delivery in a practical and simple way. Dav...(245.65 zł najniższa cena z 30 dni)
254.15 zł
299.00 zł(-15%) -
This practical book provides a detailed explanation of the zero trust security model. Zero trust is a security paradigm shift that eliminates the concept of traditional perimeter-based security and requires you to "always assume breach" and "never trust but always verify." The updated edition off...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Decentralized finance (DeFi) is a rapidly growing field in fintech, having grown from $700 million to $100 billion over the past three years alone. But the lack of reliable information makes this area both risky and murky. In this practical book, experienced securities attorney Alexandra Damsker ...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Whether you're a startup founder trying to disrupt an industry or an entrepreneur trying to provoke change from within, your biggest challenge is creating a product people actually want. Lean Analytics steers you in the right direction.This book shows you how to validate your initial idea, find t...(126.65 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%) -
When it comes to building user interfaces on the web, React enables web developers to unlock a new world of possibilities. This practical book helps you take a deep dive into fundamental concepts of this JavaScript library, including JSX syntax and advanced patterns, the virtual DOM, React reconc...(194.65 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka drukowana
Oceny i opinie klientów: Windows PowerShell Cookbook. for Windows, Exchange 2007, and MOM V3 Lee Holmes (0) Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.