This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-MultiFileHash | |
{ | |
[CmdletBinding(DefaultParameterSetName = 'Path')] | |
param ( | |
[Parameter( | |
Mandatory, | |
ParameterSetName = 'Path' | |
)] | |
[string[]] $Path, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Invoke-PercentCalculation | |
{ | |
<# | |
.SYNOPSIS | |
Invoke a Percentage Calculation | |
.DESCRIPTION | |
Invoke a Percentage Calculation for one of the | |
three following calculation types: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Update your desktop wallpaper from Windows Spotlight using PowerShell | |
.NOTES | |
Author: Shannon Graybrook | |
Github: github.com/realslacker | |
#> | |
#requires -version 5.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Update your desktop wallpaper from Windows Spotlight using PowerShell | |
.NOTES | |
Author: Shannon Graybrook | |
Github: github.com/realslacker | |
#> | |
#requires -version 5.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-ThingiverseFile | |
{ | |
[CmdletBinding()] | |
[OutputType([void])] | |
param ( | |
[Parameter(Mandatory)] | |
[uint32] $Id, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires -Module ActiveDirectory | |
using namespace Microsoft.ActiveDirectory.Management; | |
function Get-ADUserLastLogon | |
{ | |
<# | |
.SYNOPSIS | |
Get the last recorded login for one or more users across one or more domain controllers |
The purpose of this Code of Conduct is to ensure a positive, respectful, and productive environment for pair programming. All participants are expected to uphold these principles.
- Respect: Treat your pair programming partner with respect. Be open to their ideas and suggestions. Remember, everyone brings unique skills and perspectives to the table.