All PowerShell Code

28 hits, 3 pages | Prev | Next | Advanced Search

Title Posted On Description
Auto Downloading SCEP Definitions with PowerShell 2016-07-08

I've been asked how to automate the download of fresh definitions for SCEP definitions in an enterprise environment, so here is an easy way to do it with PowerShell.

Basic PowerShell CheatSheat 2017-12-10

We all need to peek at the answers from time to time. This post is simply a quick reference guide for basic PowerShell tips, tricks, how-to's, explanations, etc.

Check Remote Services with Powershell 2014-08-02

If you need to check the status of a service across several machines, and don't have monitoring in place, you can use PowerShell to get Running/Stopped/Starting status quickly.

Checking Profile Existence on Remote Machines with PowerShell 2016-02-23

Need to find every workstation that a user has logged on to? Security event logs rolled over or you can't otherwise get that info from the domain controllers? Here is a way to get it.

Creating an Event Log with PowerShell 2016-12-06

Programmatically creating an new Windows Event Viewer log can be quite useful during automated processes. While some folks know how this is done, others might needs some guidance. Here's how to do it with PowerShell.

Dumping from a database, revisited 2017-03-19

Some time ago, a user named VB6Boy posted a handy little VBScript that dumps out records from a database table to a series of text files. The method works fine, but takes an exorbitant amount of time for large datasets. Can we do better?

Find User Profiles on Domain Computers 2017-12-17
This script does nothing more than search a list of computers for a specified user profile.
Get a list of Wifi networks with PowerShell 2017-12-12

Returns the parsed output of netsh wlan show network mode=bssid in psobject form. Does exactly what it says on the tin. Requires Vista/2008 or higher, or XP SP3 with a hotfix (I can't recall which one, sorry.)

Get the managers email address 2016-07-15

Sometimes, you need to tattle on a user to their manager. But how to find out who their manager is, and their email address? Here is how I did it with PowerShell.

Get Windows Product Key with PowerShell 2017-12-10
Retrieve the windows product key of a specified machine using WMI, via PowerShell.

28 hits, 3 pages | Prev | Next | Advanced Search

Code Links