logo

Saggie Haim - Automate Everything

How to Connect to Azure With Powershell

How to Connect to Azure With Powershell

PowerShell is the Automator’s best friend. I automate everything with PowerShell, and you can also. When it comes to Azure, I can’t remember the last time I created a resource in the Portal. I either use PowerShell or IaC to provision resources or modify them.
2 minutes to read
Saggie Haim
Install Powershell 7 on Wsl and Ubuntu

Install Powershell 7 on Wsl and Ubuntu

WSL or Windows Subsystem for Linux, is a feature that let us run full Linux distributions on top of our Windows OS without the overhead of running a virtualization tools.
4 minutes to read
Saggie Haim
Background Jobs Start Threadjob vs Start Job

Background Jobs Start Threadjob vs Start Job

PowerShell can run background jobs with the Start-Job cmdlet. Most of the cmdlet also have -AsJob switch to instantly run the cmdlet as a background job. Each job runs a cmdlet in the background without interacting with the current session.
4 minutes to read
Saggie Haim
Sorting Group Policy

Sorting Group Policy

Group Policy. It’s almost the same in every company. it’s historical, contain a lot of Group Policy and if you ever try to touch it, half of the systems stop working.
7 minutes to read
Saggie Haim
Updating Sharepoint Online List With Powershell the Easy Way

Updating Sharepoint Online List With Powershell the Easy Way

In this post, I share my journey of automating a weekly update of a SharePoint Online list using PowerShell. Faced with the challenge of importing an HR CSV report, I discovered the PnP PowerShell module, which greatly simplified the process. I cover how to connect to SharePoint, import data, empty the list, and update it, while also addressing the challenge of matching username formats. This guide aims to make your first experience with SharePoint Online and PowerShell automation smoother and more efficient.
3 minutes to read
Saggie Haim
PowerShell History

PowerShell History

Technically, PowerShell has two type of commands history. One is the command line buffer, which is part of the graphical terminal application. Second is the built-in command history feature, that provides detailed information about the commands you have run.
5 minutes to read
Saggie Haim
Create Vmware Snapshots Report

Create Vmware Snapshots Report

In this post, I share how I used PowerShell and PowerCLI to manage VMware ESXi snapshots during a recent trip to Japan. Follow my step-by-step guide to connect to vCenter, retrieve snapshot data, and generate detailed HTML reports, ensuring efficient snapshot management and avoiding storage issues.
7 minutes to read
Saggie Haim
Assessing New Domain Environment

Assessing New Domain Environment

n this blog post, I share insights on assessing a new domain environment, highlighting key steps and considerations. The article covers preliminary checks, tools to use, and best practices to ensure a smooth evaluation process. Whether you’re setting up a new network or auditing an existing one, this guide provides practical advice to help you effectively manage and secure your domain environment.
5 minutes to read
Saggie Haim