SID-500.COM

PowerShell . Microsoft 365 . Azure . Automation . Cyber Security

Menu

  • Home
  • PowerShell Kurse (Online)
  • Advanced PowerShell Kurse (Online)
  • Microsoft 365 Kurse (Online)
  • Udemy Kurse (DE)
  • Downloads
  • About me
  • Contact

PowerShell String Manipulation: Swap Lines

By Patrick Gruenauer on 9. December 2025 • ( 1 Comment )

In this article I will show you how you can swap lines. I will use an example and show you what is important. Let’s dive in. Consider the following example code: First, […]

Understanding the trap Statement in PowerShell

By Patrick Gruenauer on 4. November 2025 • ( 2 Comments )

In PowerShell, error handling is a crucial aspect of writing robust and reliable scripts. One of the powerful features to manage errors gracefully is the trap statement. The trap statement allows you […]

Understanding ErrorAction Parameter in PowerShell

By Patrick Gruenauer on 7. October 2025 • ( 2 Comments )

Error handling is an important part of scripting and automation, and PowerShell provides robust tools for managing errors efficiently. One of the key features for error management in PowerShell is the ErrorAction […]

PowerShell: List all USB-Devices

By Patrick Gruenauer on 9. September 2025 • ( 3 Comments )

This blog post will be a short one. I will show you how to list all USB-Devices on your computer. We will use PowerShell for this task, what else? Here it is: […]

Managing Guest Users in PowerShell with Microsoft Graph API

By Patrick Gruenauer on 2. June 2025 • ( 1 Comment )

Managing Guest Users in PowerShell with Microsoft Graph API In today’s collaborative work environments, inviting guest users to access organizational resources has become a common practice. PowerShell, combined with Microsoft Graph API […]

Sudo for Windows (PowerShell)

By Patrick Gruenauer on 6. May 2025 • ( 2 Comments )

Sudo for Windows is a new way for users to execute commands with elevated privileges (as an administrator) directly from a non-relevant console session on Windows. The following requirements apply to the […]

PowerShell: Changing Active Directory User Logon Names (Bulk)

By Patrick Gruenauer on 28. April 2025 • ( 1 Comment )

Active Directory users log on with their logon names and password. But what are the rules for assigning usernames? g.surname? surname? gsurname? What are the naming conventions? This article looks for and […]

Mastering Error Handling in PowerShell: Try, Catch, and Finally

By Patrick Gruenauer on 8. April 2025 • ( 1 Comment )

Error handling is a critical aspect of writing robust scripts in any programming language. PowerShell provides a powerful structure for handling errors gracefully using try, catch, and finally blocks. These constructs allows […]

PowerShell: The new Entra ID Module

By Patrick Gruenauer on 10. March 2025 • ( 2 Comments )

The new PowerShell Entra ID Module is a powerful tool designed to streamline the management and automation of Microsoft Entra resources. This module is part of the Microsoft Graph PowerShell SDK and offers a […]

PowerShell: How to find empty Attributes

By Patrick Gruenauer on 4. February 2025 • ( 4 Comments )

We are often looking for attributes, but what about the empty attributes? How can I find out if an attribute is empty? That is the focus of this article. I will show […]

PowerShell: How to execute PowerShell Scripts (*.ps1) on Remote Computers

By Patrick Gruenauer on 13. January 2025 • ( 5 Comments )

PowerShell scripts can be executed locally or remotely. In this article I will show how scripts can be executed remotely. It is important whether the script is on the source computer or […]

PowerShell: How to configure a custom PSSessionconfiguration

By Patrick Gruenauer on 3. December 2024 • ( Leave a comment )

A remote session can be set up with the help of PSSession. The predefined remote session is used by default. However, we can also create our own session configurations and then connect […]

PowerShell: (Parameter) Splatting explained

By Patrick Gruenauer on 5. November 2024 • ( 1 Comment )

It often happens that you have many, many parameters in PowerShell. The command then extends over several lines. That doesn’t look pretty. In this article, I will show you how to summarize […]

PowerShell 7: Changing the Style of the Progress Bar with $PSStyle

By Patrick Gruenauer on 8. October 2024 • ( Leave a comment )

If you include a progress bar in PowerShell, you will notice that it looks different in PowerShell 5 and PowerShell 7. This is exactly the problem we will tackle in this blog […]

PowerShell: Calculate the total size of Files

By Patrick Gruenauer on 3. September 2024 • ( 3 Comments )

In this post I will show how to use PowerShell to calculate the total size of all files. This will be a short post but maybe a very helpful one. Let’s dive […]

Posts navigation

1 2 3 4 5 6 … 38 Older ›

Get-Author

Unknown's avatarMy name is Patrick Gruenauer. From Austria.
Awarded the Microsoft MVP for PowerShell and Microsoft 365.

Follow-Me

  • X
  • LinkedIn
  • YouTube
  • Facebook

List-PostsByLanguage

  • Deutsch
  • English

Get-Categories

  • Cisco (39)
  • Cyber Security (128)
  • Microsoft 365 (52)
  • Microsoft Azure (11)
  • PowerShell (396)
  • Windows 10 (116)
  • Windows 11 (12)
  • Windows Server (271)

Get-Series

  • Active Directory Zertifikatsdienste (1-8) [DE]
  • Codersbay
  • Cyber Security (1-5) [DE]
  • Impressum
  • Nano Server (Teil 1-9) [DE]
  • PowerShell for Beginners (1-13) [EN]
  • Share

Get-BookCoAuthor

Follow SID-500.COM on WordPress.com

Join 665 other subscribers

Get-RSS

RSS Feed

Links

  • Patrick Grünauer (Company WebSite)
  • CISCO Certification Overwiew
  • Microsoft Certification Overview

Blogroll

  • Experts Live Austria
  • Frankys Web
  • IT-LEARNER.DE
  • Mike F Robbins
  • PowerShell Usergroup Austria

Blog Stats

  • 5,709,488 hits
Follow SID-500.COM on WordPress.com
  • Top categories: PowerShell Exchange
Create a website or blog at WordPress.com |
  • Subscribe Subscribed
    • SID-500.COM
    • Join 665 other subscribers
    • Already have a WordPress.com account? Log in now.
    • SID-500.COM
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...