PowerShell – Advanced Scripting in Windows (PSH2)

Microsoft, Programming

Master deep PowerShell features in this advanced course, focusing on string handling and regular expressions, XML and JSON serialization, and code optimization with performance measurement. Practical demos show how to work effectively with text and data formats.

Hands-on labs and examples cover GUI and COM integration, PSProviders and PSDrives, and managing system objects with WMI. The course also explains cross-environment compatibility and file encoding, and includes thorough notes and recorded answers.

THIS TRAINING COURSE WILL HELP YOU:

  • Use advanced string techniques and regular expressions
  • Import, export and serialize XML and JSON
  • Optimize scripts and measure performance on large data
  • Create PSProviders/PSDrives and manage namespaces
  • Build simple GUIs, use COM and manage WMI objects

WHO SHOULD ATTEND?

  • Windows Server administrators
  • System administrators and DevOps engineers
  • PowerShell script developers
  • Automation specialists
  • IT analysts working with XML/JSON

COURSE LOCATION AND AVAILABLE DATES



Public courses are usually delivered in Czech, but this course is also available in English. We can arrange private training for your team online, at your premises or in our classrooms, and tailor the content to your needs.

For groups of around 4 or more participants, private training can already be comparable in price to booking individual places on a public course. Send us your requirements and we’ll recommend the best format and provide an exact quote.

Request training in English

Course content:

Hide details
  • Working with text strings
    1. Working with the new Microsoft Docs
    2. Strings, text, numbers and variables
    3. String operations
    4. Searching (matching) and regex
    5. Concatenation & string interpolation
  • Environment compatibility
    1. Culture-specific formatting
    2. PowerShell script compatibility across systems
  • Working with variables
    1. Advanced variable techniques
    2. Working with namespaces
    3. Working with memory stores
  • Serialization and deserialization
    1. Importing XML
    2. Exporting XML
    3. Building XML structures
    4. Importing JSON
    5. Exporting JSON
    6. Comparing data
    7. Object serialization
    8. Detecting file encoding
  • Optimization
    1. Measuring performance
    2. Handling large datasets and code tuning
  • Providers
    1. Working with PSProviders
    2. Working with PSDrives
  • Practical examples
    1. Creating COM objects
    2. Building GUIs over PowerShell
    3. PowerShell for Windows administration
    4. Adding new commands
    5. Using WMI objects
Prerequisites:
Basic Windows Server administration and PowerShell experience at a beginner course level.
Recommended previous course:
PowerShell – Basic Training (PSH1)
Schedule:
2 days (9:00-17:00)
Price per person:
344.00 € ( 416.24 € incl. 21% VAT)

Training and learning environment