Skip to content

Instantly share code, notes, and snippets.

View danido95's full-sized avatar

Daniel danido95

View GitHub Profile
@jborean93
jborean93 / Get-ServiceCredential.ps1
Last active August 27, 2024 13:37
Get's the username and password for installed Windows services
# Copyright: (c) 2019, Jordan Borean (@jborean93) <[email protected]>
# MIT License (see LICENSE or https://opensource.org/licenses/MIT)
Function Get-ServiceCredential {
<#
.SYNOPSIS
Retrieve the username and plaintext password for all services installed on the local computer.
.DESCRIPTION
Will retrieve the username and plaintext password for the service(s) specified. This must be run as an