Category: Powershell intermediate knowledge

  • The real story behind Active Directory and Powershell Replace
    The real story behind Active Directory and Powershell Replace

    One of the global companies has hired an inexperienced Active Directory administrator. His name was Jack. He always wants to work in the IT department. Now his dreams came true.  One day in the morning, he received a request from the HR department. He had to change the title attribute for a thousand users. He …

    Read more

  • How the Powershell Split method helps AD admins.
    How the Powershell Split method helps AD admins.

    The manager of the sales department requested for changing department attribute value for some users. He sent users list via email messages. Sound familiar? Meet Bob and his one story and Powershell split trick he discovered. Bob is an Active Directory administrator. He loves his job. A few months ago, he started to learn Powershell. …

    Read more

  • 11 the most popular Powershell Automatic Variables
    11 the most popular Powershell Automatic Variables

    Firstly, I have one question. Have you heard about Automatic Variables in Powershell? It’s a long list of read-only variables stored in the Powershell session. That is to say that every Powershell user should know this. Today I show you 5 most popular Automatic Variables, which all Powershell beginners should know. Let’s start. More details …

    Read more

  • 4 basics about modules which Powershell beginners don’t know
    4 basics about modules which Powershell beginners don’t know

    Welcome, It’s great to have you here. How often are you using the Powershell module? Don’t you know? I will answer for you. When you run Powershell console a few defaults modules are loaded when you run Powershell console. Suprised? Do you want to know the next time when the Powershell modules are loaded when …

    Read more

  • How traveling help understand error handling in Powershell
    How traveling help understand error handling in Powershell

    How traveling help understand error handling in Powershell Hi, Damian Garbus here. Last a few days I was thinking a little about error handling of Powershell script. I was reflecting on how many times are you using “try{} catch{}” block in your scripts? Doesn’t matter if it’s 10 lines script or more. How often are …

    Read more

  • Many repetitive tasks? Create Powershell functions​.
    Many repetitive tasks? Create Powershell functions​.

    Hi, This is Po(sh)land blog and now something amazing for beginners of Powershell. Now you can check how to write your own Powershell command. How do this? It’s possible with Powershell function. This is basic things which in the future help you write scripts and module. Check this out. Powershell function – medicine for all evil …

    Read more

  • Why I love regex in Powershell scripts?
    Why I love regex in Powershell scripts?

    Hi, Damian Garbus here and today I want to tell you my personal opinion. When I write this post is Wednesday. Two days ago on Monday one of my clients have requested issue in one of the Powershell automation, which I wrote 2 years ago.  This example shows that in a few years I learned …

    Read more