Top 5 PowerShell Modules You Need to Know About
LazyAdmin | PowerShell
by Rudy Mens
6h ago
I have been using PowerShell for quite some years now, and over the years I have installed a lot of PowerShell modules. Most are purely functional, to connect to Exchange Online for example, but others are just really handy tools ... Read moreTop 5 PowerShell Modules You Need to Know About The post Top 5 PowerShell Modules You Need to Know About appeared first on LazyAdmin ..read more
Visit website
How to Move a File with PowerShell
LazyAdmin | PowerShell
by Rudy Mens
3w ago
When you need to move a lot of files or move specific files on multiple computers, then PowerShell is a great tool to use. With PowerShell, we can quickly write a script that will move a file and even add ... Read moreHow to Move a File with PowerShell The post How to Move a File with PowerShell appeared first on LazyAdmin ..read more
Visit website
PowerShell – Check if variable is Null or Empty
LazyAdmin | PowerShell
by Rudy Mens
1M ago
One of the most common tasks when writing a script is to check if a variable is NULL or Empty in PowerShell. Null or empty values are always a bit challenging, because what is exactly null? Checking if a value ... Read morePowerShell – Check if variable is Null or Empty The post PowerShell – Check if variable is Null or Empty appeared first on LazyAdmin ..read more
Visit website
How to create a PowerShell Function
LazyAdmin | PowerShell
by Rudy Mens
2M ago
When you need to reuse a part of your scripts multiple times or need to run the same code with only different values, then you should create a PowerShell Function. PowerShell functions not only allow you to easily reuse a ... Read moreHow to create a PowerShell Function The post How to create a PowerShell Function appeared first on LazyAdmin ..read more
Visit website
How to use PowerShell Write Output
LazyAdmin | PowerShell
by Rudy Mens
3M ago
The PowerShell Write-Output cmdlet is used to send an object or variable to the PowerShell pipeline. When it’s the last command in a pipeline, then the output is displayed in the console. Write-Output is basically the PowerShell equivalent of echo ... Read moreHow to use PowerShell Write Output The post How to use PowerShell Write Output appeared first on LazyAdmin ..read more
Visit website
How to use Connect-MgGraph – All Options
LazyAdmin | PowerShell
by Rudy Mens
3M ago
The Microsoft Graph module in PowerShell allows you to interact with different Microsoft 365 services. But to use the module, you will first need to connect to Microsoft Graph, using the Connect-MgGraph cmdlet. There are different options when it comes ... Read moreHow to use Connect-MgGraph – All Options The post How to use Connect-MgGraph – All Options appeared first on LazyAdmin ..read more
Visit website
How to Install PowerShell 7 Quickly
LazyAdmin | PowerShell
by Rudy Mens
4M ago
Even though the first version of PowerShell 7 was released in 2020, you will still find PowerShell 5.1 installed by default on new Windows computers. But luckily, we can install PowerShell 7 manually and even side-by-side with the old version. ... Read moreHow to Install PowerShell 7 Quickly The post How to Install PowerShell 7 Quickly appeared first on LazyAdmin ..read more
Visit website
How to Set an Environment Variable in PowerShell
LazyAdmin | PowerShell
by Rudy Mens
4M ago
Environment variables are used by the operating system and applications to store configuration settings, system paths, and other information. All programs on your computer can access this data. We can use PowerShell to view, change, or set an environment variable. ... Read moreHow to Set an Environment Variable in PowerShell The post How to Set an Environment Variable in PowerShell appeared first on LazyAdmin ..read more
Visit website
How to use Invoke RestMethod in PowerShell
LazyAdmin | PowerShell
by Rudy Mens
4M ago
When you need to interact with an REST API in PowerShell, you will need to use the Invoke RestMethod cmdlet. This cmdlet lets you send HTTP(S) requests to a REST web service from your command line or PowerShell script. REST ... Read moreHow to use Invoke RestMethod in PowerShell The post How to use Invoke RestMethod in PowerShell appeared first on LazyAdmin ..read more
Visit website
How to use PowerShell Variables
LazyAdmin | PowerShell
by Rudy Mens
4M ago
Variables in PowerShell are used to store values, data, or other information you need later in your script. They can also used to capture the results of a cmdlet. But how do you create variables, and use them outside a ... Read moreHow to use PowerShell Variables The post How to use PowerShell Variables appeared first on LazyAdmin ..read more
Visit website

Follow LazyAdmin | PowerShell on FeedSpot

Continue with Google
Continue with Apple
OR