
One man who explained Dave what is $_
What is $_ in Powershell? It was in 2019. Dave was one of the new sysadmin guys in a big corporation in Tokyo. Before this job, he worked for a small company with a few Windows servers. In the current work, he administrates a thousand servers. He decided to start using Powershell for automating his…

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…

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….

Sending email from Poshland Monitoring tool
This post is a part of the Powershell monitoring tool called Poshland Monitoring. You can download it from the Poshland Resources website. Step 1 – Short Story: The Truth About my Poshland MONITORINGStep 2 – How To Make POWERSHELL MONITORING Script Look Amazing in 2 hours?Step 3 – Sending email from Poshland Monitoring tool In…

How To Make POWERSHELL MONITORING Script Look Amazing in 2 hours?
Since 15 September 2019, everyone can subscribe and download the Poshland Monitoring script. It’s the universal Powershell monitoring script. This tool helps quickly prepare the Windows Servers health report. If you want to use the Powershell Monitoring Script, you should understand Powershell functions. Didn’t you download Poshland Monitoring script yet? It’s available on Poshland Resources….

One way to understand the Powershell Pipeline
Are you Powershell newbie? It’s time to explain to you the Powershell Pipeline. It’s useful for many scenarios. Thanks to Powershell Pipeline, your code will be shorter and more understandable. Before you begin using it, you have to learn what it is and when you can use it. You can read Microsoft’s description, but I know…

Short Story: The Truth About my Poshland MONITORING
I’m so surprised how many Powershell users have already downloaded the PoshlandMonitoring script. I hope that this script will help you. Now I would like to give you some historical background of this poshland monitoring script. I would like to tell you who inspired me to prepare this universal tool and when I have written…

The most popular shortcuts in Visual Studio Code
To faster coding, you should start using shortcuts available in a code editor. If you want to use shortcuts productively, you need to build new habits. Now I would like to list the most popular shortcuts for Powershell extension in Visual Studio Code. First what you have to do is list shortcuts for your code…

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…

POWERSHELL SWITCH VS IF: This Is What Professionals Do
Intro How many times are you using IF-ELSE statements with more than 4 ELSEIF conditions? I want to show you comparison SWITCH vs IF statements in Powershell. Why should you consider to use the SWITCH statement? Check this out. Firstly, let’s check, what is Powershell SWITCH Statement. What is Powershell Switch statements Sometimes you have…

7 The mOst poPulAr Powershell snippets
How often are you searching correct Powershell syntax in Google? It’s normal. Everyone who learn Powershell is searching on the internet examples how to write a part of the script. It takes a lot of time. I would like to show you how to use Powershell snippets and write scripts faster than before. What are…

Who Else Wants To Enjoy VISUAL STUDIO CODE FOR POWERSHELL
The most popular Powershell code editor is Powershell ISE. It’s available on all Windows platform. Did you know that Microsoft will not extend this tool with new features? Are you thinking about changing the code editor? Did you never hear about Visual Studio Code? You can download and install this tool for free from a…

POWERSHELL LOGICAL OPERATORS for Beginners
I don’t know what category assign to this article. In my opinion, the knowledge I wrote about is something between basics and medium level. I’m sure that sometimes you need to compare more than two variables. Powershell as any programming language will help you with this. It’s time to explain Powershell logical operators. Before you…

4 Powershell module types you should know
I understand that Powershell beginners have problems with writing Powershell modules. I had the same a few years ago. Now it’s time to tell everyone that it’s not mission impossible. First of all, you should learn about Powershell module types. When I read my Powershell scripts which I wrote nine years ago, who wrote this….

eBook – How to start Travel with Powershell – is finished
Hi, It’s a pleasure to have you here. For 10 month I wrote this blog. You can find here 49 articles about Powershell. Almost all Mondays I was publishing a new post about Powershell. I was thinking about what can I give you in my 50th article, so I decided that it will be an…

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…

4 steps to get access to Web Application – Invoke-RestMethod
Our friends and coworkers complete hundreds of tasks every day. Everyone is using a few main application to work. Often, it’s repeatable tasks. Creating worksheets, reports, data analysis, fill timesheets, make presentations and many others. I believe that these tasks limit real creative work. It’s time to change it. One of the command in Powershell…

3 reasons why you should use Powershell modules
3 reasons why you should use Powershell modules The modules are one of the keys to productive usage of Powershell. In this article, I would like to list X reasons why you should write and use your own modules. If you don’t know what is the Powershell module or you don’t need to write your…

13 web apps to which you get access with Powershell
13 web apps to which you get access with Powershell How many times did you search for available integrations with your application which you are using every day? Don’t worry I have the same. I have good news for you. Powershell really can help with this. It doesn’t matter if you need to integrate web…

Save time with data synchronization between apps. Jira2Nozbe.
Save time with data synchronization between apps. Jira2Nozbe. Many times I’m talking people that Powershell isn’t only for administrating IT. Most of you can learn and use Powershell to improve your work. Powershell is one of the best tools for applications integration and automation processes for you and your company. I think that almost of…

7 basics elements of a user interface for Powershell.
Sometimes it’s better to prepare user interface for Powershell scripts. In the post ‘3 scenarios when you should add GUI to Powershell script’ I wrote when you should think about this. In this post, I want to show you more technical knowledge about basics GUI elements in Powershell. If you have never programmed, you can…

First impressions of using Powershell core on MacOS
First impressions of using Powershell core on MacOS One Month ago I wrote the first post about Powershell Core. In that time I have started using Powershell Core every day with my local scripts on MacOS. Today I want to give you my impressions about using Powershell Core. I know that almost all of Powershell…

GUI for Powershell script – 3 scenarios when you should add
3 scenarios when you should add GUI to Powershell script If you’re advanced Powershell user, probably you know that Windows Powershell allows you not only to prepare scripts but also the graphical user interface. One main question is when you should prepare a GUI and when it’s not a good idea. Also, In my mind…

How applications integration through Powershell will help you automate your jobs.
How applications integration with Powershell will help you automate your jobs. Have you seen my last post? Today, showing Powershell integration with a web application is the best explanation. A few weeks ago, I wrote about applications that I use every day. One of them is NOZBE, the task management tool. You can make your own…

Your job stuck? Eight job areas where Powershell help you.
Your job stuck? Eight job areas where Powershell help. We are doing tasks everywhere, in our workplace and house. Recently, productivity is very popular. I love increasing my productivity. People want to do more job at the same time. A day has only 24 hours. I want to list eight job areas, where Powershell automation…

Poshland Blog is not only for Windows Users? Powershell Core.
Poshland Blog is not only for Windows Users? Powershell Core on MacOS. I’m so excited to publish a new post for You. Since few months I was planning to install and try Powershell Core on MacOS. If you follow my profile on the instagram, you know that I did this a few days ago. Maybe…

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…

Powershell code editor: My story of change
Powershell code editor: My story of change Welcome to my blog!!! I’m Damian Garbus, the blog author. Today I want to tell you about my experience with Powershell code editor I’m using now and editors which I was using in the past. To compare these text editors I will use three functions: syntax highlighting, syntax…

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…

How to change the idea to working Powershell automation in 5 steps
How to change the idea to working Powershell automation in 5 steps Hi Damian Garbus here and this is next post about Powershell scripts. In the last post 5 steps which help you to write your first Powershell script I wrote you how to start writing Powershell script step by step. I tell you a…

5 steps which help you to write your first Powershell script
5 steps which help you to write your first Powershell script Hi, I’m Damian Garbus. It’s great to have you here. It’s the first post in the 2019 year. Did you set goals on the new year? I did this. Now it’s time to replace the plans for tasks and complete them!!! OK, but this…

Marry Christmas.
The Christmas time is coming. I wish you Powershell scripts without errors and automation which will give more free time. All the best for you in the new year!!! It’s time to start celebrating the Christmas, planning next year and setting the goals. Next post I will publish in the new year 🙂 Merry Christmas!!!

5 tools I’m using for work (not only for Powershell)
Hi, Damian Garbus here. I received many questions about tools what I’m using in work with Powershell and blogging. I have to tell you something. I’m a productivity geek. I love using tools and apps which help me plan, organize, makes notes, and mark tasks as done. Your feedback is very important for me, so…

Why Logical Operators will makes your code shorter?
Hi, Damian Garbus here and this is the next post about the basics of PowerShell. It’s time to write about PowerShell Logical Operators. It’s an important topic when you start using PowerShell conditions. If you check out the Powershell basics for everyone, you should also know comparison operators. What are PowerShell Logical Operators? When you…

Why is it so hard for automate tasks?
Hi, Damian Garbus here and this is next post in PoshStory category. I want to write my opinion. Why it’s so hard for many people to automate tasks? I meet a lot of people who have never think about automating repetitive tasks. I was wondering what’s the cause. Why we are not automating our tasks…

Powershell wildcard in pizza shop???
Hi, Damian Garbus here and this is next Poshland blog post. Did you read my post about Powershell comparison operators? I have used there an example with Powershell wildcard symbol. In this post, I want to explain what are wildcard and how you can use it What is it the Powershell wildcard? The wildcard lets…

Learn Powershell Comparison Operators
Hi, Damian Garbus here and this is a new blog post. I have written an article about Powershell conditions a few weeks ago. It’s time for a post about Powershell Comparison Operators. In my opinion, it’s one of the most important fundamentals of Powershell. Don’t waste time and let’s start. What are Powershell Comparison Operators?…

6 the most basic Powershell output commands
Hi, Damian Garbus here. I’m so excited that you are here. Today I want to show 6 the most basic Powershell commands for output preparing. If you learn Powershell this list will help you use more efficiently commands in your new script. In my opinion, learning PowerShell commands is like learn words in foreign languages….

Powershell console just the way you like it.
Some people when starts using Powershell tell me that they don’t like Powershell console. Do you also belong to this group of Powershell users? Please give me one minute and I explain how to customize Powershell console and use it on all Windows servers and workstation. Let’s start 🙂 Customize Powershell console Powershell window allows…

Powershell script in Task Scheduler – 3 steps to run
Hi, Damian Garbus here and Today I want to show you how to run Powershell script from Task Scheduler. In post 3 simple examples of use Powershell for Everybody (for you too) I describe how I’m using Powershell on a daily basis. One example is about backup my KeePass file. I don’t run this backup manually….

Can you write Powershell code without GIT?
Hi, Damian Garbus here and today I want to write about one of very important subject. If you want to write code (not only Powershell) and want to share this code with collaborators this post is for you. Read and learn about version control system. Very, very important!!! What is version control system? A code…

Array and Hashtable – How a box will help you understand
Hi, Damian Garbus here and this is my next post. A few weeks ago I wrote two article about the variable. The first one “My way to understand Powershell variable for everyone.” is some kind of post to introduce the subject of the variables. The second one “Powershell variable types. Why sometimes 1 + 1 is…

Powershell Automation in Outlook probably you have never seen
Hi, Great to have you here. I’m Damian Garbus and this is Poshland Blog about PowerShell for everyone. In this post, I want to tell you one of my PowerShell Automation stories that can help you and your business. This post is for everyone who uses Microsoft Outlook as an e-mail client. Let’s Start. True…

How breakfast can help you to understand powershell conditions.
Hi, Damian Garbus here and Today I want to show how breakfast can help you understand Powershell conditions. It’s very important to understand so check this out. I will use the variables, so if you don’t know what these are, please read My way to understand Powershell variable. Finding the example of life My examples…

Can you use FOR loop to change wheels in your car?
Hi, Damian Garbus here and this is Poshland blog about Powershell. Several posts ago I wrote the post about “FOREACH” loop, which is very popular so it’s time to show FOR loop. Let’s do this. For vs. Foreach As I wrote in the introduction several posts ago I wrote about another type of loop. So…

4 things which I learned for 6 years during work with Powershell
Hi, Damian Garbus here and this is next post on Poshland blog. Today I want to write about 4things I learned for 6 years from Powershell. Now, you probably think that it’s only four? I won’t write about technical skills because it’s impossible to list them. I want to write about my approach to work…

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…

Powershell variable types. Why sometimes 1 + 1 is 11
Hi, Damian Garbus here from Poshland Blog. Today I want to show 4 PowerShell variable types which should know all Powershell beginners. It’s very important if you want to automate your work with PowerShell scripts. Why it’s important? – easy simple In the first post about Powershell variable, I used the example of the box to…

How changing tires can help you understand Powershell Foreach Loop
Hi, Damian Garbus here and this is Poshland blog about PowerShell. Several posts ago I wrote about the best reason to learn PowerShell. Today I want to show you fast tips to understanding PowerShell “Foreach” loop. It is a basic of programming knowledge, and I think that PowerShell is the best way to understand it. Let’s do…

What would you like to contain in Powershell script template?
Hi, this is Po(sh)land blog about basics Powershell for everyone. In a post about preparing final version Powershell Script, I wrote about the steps which everyone can use to finish script with best practices. I think that in this can help the Powershell script template. Now, I don’t want to write technical Powershell tips. Today…

Why Powershell param block will change your scripts to better
Hi, this is Poshland blog about basics Powershell for everyone. Last on Reddit forum I reply for one person how to insert variable to script without script editing. Today I thought that it can be subject to next post. So Let’s check what is param block. Remember what is variable Few posts ago I write My Way to understand Powershell variable. It shows you what is it variable. One of the next posts was about Powershell function which is important to this post. Please read and come back ? You don’t have to edit script to change variable. Use Powershell param block. In the past, a long time ago when I started with Powershell, I was writing very basics script. My scripts were very basics because I wasn’t using functions, param etc. Whenever I wanted to use…

5 steps to prepare the first final version of Powershell script
Find out what you should do with Powershell script to prepare the first final version. In this post, I list 4 based tasks that should be prepared. Check this out Prepare log file during running script List requirements for this script Test script in a test environment. Script Optimization and test again Write PowerShell comment-based help Prepare log file during running Powershell script The…

First thing what I do in Powershell Console. Powershell prompt!!!
Hi, Damian Garbus here. It’s awesome to have you here. I want to share you the first thing what I do after starting PowerShell Console in new my desktop or server. This thing is changing Powershell prompt function. If don’t know what is “prompt”, you can check where my graphics about parts of PowerShell console here. Prompt…

How to speed up your work with Powershell profile.
Hi, this is powershell.damiangarbus.pl blog and today I want to show you how to make your commands always available in your PowerShell console. Always when you run it!!! That great for Me! Ok so Let’s check, how you can speed up your work with Powershell profile. What is PowerShell $Profile (not Profile) Please, imagine now that you…

My way to understand Powershell variable for everyone.
Hi, I’m Damian Garbus and today I tell you My way to understand Powershell variable for everyone. If you want to learn PowerShell, the variable is one of the basic things what you have to understand. What is this variable at all? Can be compared to something realistic? I think it can be a box about which I wrote in The best reason for learning Powershell which…

The best reason for learning Powershell which no one will tell you
Hi, great that You are here. In this post you can find in my opinion the best reason for learning Powershell which no one will tell you. If you don’t know what is Powershell, please read What is Powershell (is not only for tech Geek) and 3 simple examples of use Powershell for Everybody (for you too). Ok, so why…

3 basic steps to start using Powershell
Hi, I’m so excited that you are here. Today I want to show you the 3 basic steps to start using Powershell for everybody who doesn’t have technical skills. In the 3 simple examples of use Powershell for Everybody (for you too) I show my tricks to use PowerShell in everyday work. It will let you forget repetitive…

5 the best source for starting learning Powershell
Hello, it’s 3th post on this blog. Last My post was 3 simple examples of use Powershell for Everybody (for you too). Today I want to list 5 the best source for starting learning Powershell for beginners in my opinion. I think that everybody can learn PowerShell because it’s available for anyone, easy to understand and…

3 simple examples of use Powershell for Everybody (for you too)
Hi, Damian Garbus here. Now I’m drinking cafe latte in “Moment Wola” in Warsaw, and I think it’s the best moment to write a new article. Today I will show you my 3 simple examples of use Powershell for everybody which can be used. Doesn’t matter if you are an IT Geek or only working with…

What is Powershell (it’s not only for tech Geek)
Powershell is not only for tech Geek Powershell is a command line shell often used by system administrators everyday work. It can be used for manage IT environment, automate administration, create reporting tool etc. For example, Powershell can be used for faster creation mailbox for a new employee, reporting some errors on servers etc. If…