Эта книга создана на основе Документации Stack Overflow, а её содержимое написано замечательными участниками Stack Overflow.
Текстовое содержимое распространяется по лицензии Creative Commons BY-SA; список авторов, внесших вклад в различные главы, приведён в конце этой книги. Изображения могут быть защищены авторским правом их соответствующих владельцев, если не указано иное.
Это неофициальная бесплатная книга, созданная в образовательных целях, которая не связана с официальными группами или компаниями PowerShell, а также со Stack Overflow.
Все торговые марки и зарегистрированные торговые марки являются собственностью их соответствующих правообладателей.
Информация, представленная в этой книге, не гарантируется как правильная и точная; используйте её на свой страх и риск.
Содержание
- Getting started with PowerShell
- Variables in PowerShell
- Operators
- Special Operators
- Basic Set Operations
- Conditional logic
- Loops
- Switch statement
- Strings
- HashTables
- Working with Objects
- PowerShell Functions
- PowerShell Classes
- PowerShell Modules
- PowerShell profiles
- Calculated Properties
- Using existing static classes
- Built-in variables
- Automatic Variables
- Environment Variables
- Splatting
- PowerShell "Streams"; Debug, Verbose, Warning, Error, Output and Information
- Sending Email
- PowerShell Remoting
- Working with the PowerShell pipeline
- PowerShell Background Jobs
- Return behavior in PowerShell
- CSV parsing
- Working with XML Files
- Communicating with RESTful APIs
- PowerShell SQL queries
- Regular Expressions
- Aliases
- Using the progress bar
- PowerShell.exe Command-Line
- Cmdlet Naming
- Running Executables
- Enforcing script prerequisites
- Using the Help System
- Modules, Scripts and Functions
- Naming Conventions
- Common parameters
- Parameter sets
- PowerShell Dynamic Parameters
- GUI in PowerShell
- URL Encode/Decode
- Error handling
- Package management
- TCP Communication with PowerShell
- PowerShell Workflows
- Embedding Managed Code (C# | VB)
- How to download latest artifact from Artifactory using PowerShell script (v2.0 or below)?
- Comment-based help
- Archive Module
- Infrastructure Automation
- PSScriptAnalyzer - PowerShell Script Analyzer
- Desired State Configuration
- Using ShouldProcess
- Scheduled tasks module
- ISE module
- Creating DSC Class-Based Resources
- WMI and CIM
- ActiveDirectory module
- SharePoint Module
- Introduction to Psake
- Introduction to Pester
- Handling Secrets and Credentials
- Security and Cryptography
- Signing Scripts
- Anonymize IP (v4 and v6) in text file with PowerShell
- Amazon Web Services (AWS) Rekognition
- Amazon Web Services (AWS) Simple Storage Service (S3)