The racadm cli command with getsensorinfo subcommand fetches real-time live hardware sensor data such as temperature, voltage, and power, memory, processor status and other hardware information from a Dell server's iDRAC system. This is very useful to system administrators for monitoring server hea…
Blog posts : "Powershell"
Turn Your PowerShell Into a Web Server: Instantly Share Local HTML & Files!
While working on some project I wanted a quick web server for testing. Instead of deploying and using full fledged production web servers such as IIS, Apache, HTTPD, NGINX etc. I created very lightweight web server using PowerShell which serve the purpose to use it for just quick web testing purpose…
From Manual to Automated - Managing Dell iDRAC Power via Redfish API and PowerShell
Managing server power states manually is time-consuming, especially in large-scale environments or remote setups. For IT administrators overseeing Dell PowerEdge servers, automation is key to efficiency. Enter iDRAC (Integrated Dell Remote Access Controller) and the Redfish API—a modern RESTful st…
OpenSSH Server configuration for Windows
I had a requirement to test configuring OpenSSH server on Microsoft Windows and connect it through OpenSSH client. Using given below steps in this article we can setup OpenSSH server on Windows server and connect through Linux SSH client.
First go to Settings >> Apps & features >> Optional featu…
Get Nutanix virtual machine details using PowerShell
This article is demonstration on how to connect to Nutanix using PowerShell and fetch virtual machine inventory. This is the view of Nutanix prism central portal and on the dashboard I can see all the information related to Nutanix objects.
In this prism central I can see virtual machines. My…
Create PowerShell array of object in different way
When working with arrays and PSObject
in PowerShell, there are several efficient methods for creating and managing array elements. Below are examples that highlight both the creation of arrays and the addition of elements in different ways.
To create an empty array in PowerShell, you have two m…
Configure SNMP Service on HPE ILO Redfish Rest API using PowerShell
In our team, a colleague was tasked with configuring SNMP settings on multiple HPE ILO portals. To streamline this process and avoid manual labor, they sought my expertise in automation. I leveraged the HPE ILO Redfish REST API with PowerShell to automate the task, utilizing the comprehensive API do…
Reboot remote Linux server from PHP PowerShell web server for privileged users
This HTML tool enables users to restart Linux servers remotely from their web browser, providing a convenient and efficient way to manage server operations. Built using HTML, PHP, and PowerShell, this project is designed to be hosted on a Windows XAMPP server only.
For added security and author…
Generate GUID using PowerShell GUI tool
This PowerShell script provides a graphical user interface (GUI) for generating new GUIDs. Each time the "Generate" button is clicked, a new GUID is created using the [guid]::NewGuid() command. The interface is built using Windows Forms, offering a user-friendly way to quickly generate and view uniq…
Create storage account and Service Principal using PowerShell for Terraform Azure Backend
While working on earlier article Configure Azure Storage Account Blob as Terraform backend to store tfstate file, I wanted to test terraform backend configuration with Azure Service Principal (App registrations) account. To configure initial resources on Azure for backend, I have automated all the …
Automate chrome browser with PowerShell using selenium
Working with deprecated Internet Explorer using PowerShell to automate it was very easy earlier. To automated clicks or auto type on Internet Explorer, I was just using native .net com objects, which was a very simple and comprehensive. But since Internet Explorer is deprecated, I switched to Google…
PowerShell convert shared folder permissions SDDL to readable format
While working with shared folder permissions, I wanted to document access and permissions of folders in readable format in automation way with PowerShell, You can see the permissions with below command of a folder. Access and permissions are in SDDL format, not in user friendly format to read, it co…
Generate PowerShell Tree View HTML diagram of Active Directory group recursive memberships
Long back I wrote article on Powershell Active Directory: Show treeview of User or Group memberof hierarchy, where it was showing group Tree View on the PowerShell command console. In the hierarchy it was only showing Tree View of groups only. I improvised this script and included users as well. A…
Testing domain AD credential with PowerShell one liner
This is a one liner command script to connect to Active Directory and verify user name and password credentials provided. I am using System.DirectoryServices.DirectoryEntry .net object here to connect to LDAP server (In my case it is Active Directory). When you are connected successful with correct…
PowerShell WPF Mouse cursor tracker
Currently I am working on a PowerShell GUI project where I need to track Mouse Cursor. In this article this is a sample code to track Mouse Cursor. As you move mouse on GUI console, it shows the position of mouse.
In this sample code it uses MouseMove event and Windows.Input.Mouse position…
PowerShell HTML Server Racks Cabinet Live Diagram maker Demo
This is test code I built to create dynamic Server / Racks cabinet live diagram on HTML as frontend from provided input inside Excel CSV using PowerShell script. I am still working on the code, whatever code I have worked so far I am posting it online. Basically after generating Diagram on HTML webp…
Bulk change multiple file names with OneLiner PowerShell command
This is a one liner PowerShell script to change multiple files names in bulk. In this below given example I had multiple png images. I will take one file name Button_Icon_Black.png as an example. I wanted to just keep the name of the file with the Black.png (color name). Using below command you can…
PowerShell HTML based Live Ping Monitor Demo
This is small demo where I combined PowerShell + HTML to create a dashboard report for ping. Basically what it does is? when you put some servers entries in Pinglist.txt file which you want to ping and start a PowerShell Get_PingData.ps1 script. It shows the Live Dashboard on HTML web page as per…
PowerShell WPF XAML multibinding datacontext template example - Part 4
PowerShell WPF XAML DataGrid control databinding datacontext example - Part 3
Earlier I wrote two articles regarding PowerShell WPF for DataBinding examples. In this article I will be using DataBinding to use with DataGrid control.
PowerShell WPF XAML simple data binding datacontext example - Part 1
PowerShell WPF XAML control to control data binding datacontext example…
Blog Search
Page Views
13078505
Archive
- July 2025 (1)
- June 2025 (8)
- May 2025 (5)
- April 2025 (4)
- February 2025 (1)
- December 2024 (1)
- November 2024 (2)
- October 2024 (7)
- September 2024 (12)
- August 2024 (22)
Comments
-
AzraelJanuary 28, 2025 01:28AM
-
raghavendraJanuary 16, 2025 02:13PM
-
jose antonioJanuary 11, 2025 09:53PM
-
DanDecember 22, 2024 10:49PM
-
ChriSDecember 1, 2024 05:27PM