Navigating the Digital Realm: PowerShell Precision

Unveiling System Insights with PowerShell

Dive into the efficiency of PowerShell to uncover critical service information across multiple devices. This script, designed for systematic scrutiny, scans registry entries to check for a specific service, compiles data into individual CSV files, and amalgamates the findings into a comprehensive report, embodying a seamless blend of thoroughness and automation.

# Script Name: Automation - CIPC Checker.ps1
# Author: Wesley Ellis
# Date: 2019-04-27
# Description: Checks registry on devices for a specific service, exports results to CSV, and merges into a single file.

Set-ExecutionPolicy RemoteSigned

$computers = Get-Content -Path "$env:USERPROFILE\Desktop\CIPC-Devices.txt"

Write-Host "CIPC Viewer" -ForegroundColor Magenta
Write-Host "Checking PS Remoting...." -ForegroundColor Yellow

ForEach ($computer in $computers) {
    Start-Process -Filepath "$env:USERPROFILE\Desktop\PSExec.exe" -Argumentlist "\\$computer -h -d winrm quickconfig -q"

Leverage this script by populating a text file with target device names, situated on your desktop as CIPC-Devices.txt. Initiate the script to orchestrate a network-wide service audit, culminating in a neatly consolidated CSV report, ready for analysis.


Leave a Reply

Your email address will not be published. Required fields are marked *