LazyAdmin | PowerShell
1,032 FOLLOWERS
Tips from an other Admin on PowerShell
LazyAdmin | PowerShell
3d ago
When you run a command or start a process from PowerShell, you often want to wait for the command or process to finish, before the script continues. The easiest option ... Read moreHow to Wait for a Command in PowerShell
The post How to Wait for a Command in PowerShell appeared first on LazyAdmin ..read more
LazyAdmin | PowerShell
5d ago
Before you are going to create a folder, it’s important to check if it doesn’t exist already. Especially when you are creating scripts that will run automatically. If you don’t ... Read moreCreate a Folder if not Exists with PowerShell
The post Create a Folder if not Exists with PowerShell appeared first on LazyAdmin ..read more
LazyAdmin | PowerShell
5d ago
Before you store a file in a folder or try to read a file from a folder, it’s a good idea to check if the folder exists in PowerShell. This ... Read moreHow to Check if Folder Exists in PowerShell
The post How to Check if Folder Exists in PowerShell appeared first on LazyAdmin ..read more
LazyAdmin | PowerShell
5d ago
Before you try to read or write to a file in PowerShell, it’s important to check if the file actually exists. This will prevent errors, which can cause your script ... Read moreHow to Check if File Exists in PowerShell
The post How to Check if File Exists in PowerShell appeared first on LazyAdmin ..read more
LazyAdmin | PowerShell
5d ago
There are a lot of different ways you can connect to Microsoft Graph. One option is to use the Get-MSALToken cmdlet, which allows you to get an access token from ... Read moreUse Get-MSALtoken to Connect to MS Graph
The post Use Get-MSALtoken to Connect to MS Graph appeared first on LazyAdmin ..read more
LazyAdmin | PowerShell
5d ago
With PowerShell, you can truly learn something new every day if you want. There are tons of great modules, tips, and tricks that we can use. But how do you ... Read morePowerShell tiPS Module
The post PowerShell tiPS Module appeared first on LazyAdmin ..read more
LazyAdmin | PowerShell
3w ago
To manage Exchange Online we can use the Exchange Admin Center, but often it’s faster and more convenient to use PowerShell. Before you can connect to Exchange Online, you will ... Read moreSteps to Install Exchange Online PowerShell Module
The post Steps to Install Exchange Online PowerShell Module appeared first on LazyAdmin ..read more
LazyAdmin | PowerShell
1M ago
Loops are one of the basic functions in any programming or scripting language. One of those loops is the Do While loop, which executes a piece of code while the ... Read morePowerShell Do While Loop Explained
The post PowerShell Do While Loop Explained appeared first on LazyAdmin ..read more
LazyAdmin | PowerShell
1M ago
Looking for a good PowerShell cheat sheet? Then you are in the right place. I have been working with PowerShell for the last 10 years. During that time I have written down the most useful cmdlets, operators, or useful commands ... Read moreThe Best PowerShell Cheat Sheet
The post The Best PowerShell Cheat Sheet appeared first on LazyAdmin ..read more
LazyAdmin | PowerShell
1M ago
When using PowerShell you can use a wide variety of operators in your script. They can be used in commands or expressions and are used to perform comparisons, define conditions, or assign and manipulate values. If you are using PowerShell ... Read morePowerShell Operators [Complete Guide]
The post PowerShell Operators [Complete Guide] appeared first on LazyAdmin ..read more