Skip to content

Instantly share code, notes, and snippets.

View Natfan's full-sized avatar
😄
Poorly writing the next big hit!

Nathan Natfan

😄
Poorly writing the next big hit!
View GitHub Profile
@Natfan
Natfan / PromptMethod-dotNET.ps1
Last active June 22, 2022 20:33 — forked from JeffBrownTech/PromptMethod-dotNET.ps1
Create a PowerShell prompt using .NET classes
function Remove-MyItem {
[CmdletBinding()]
param(
[Parameter(Mandatory, Position = 1)]
[string]
$Path
)
$item = Get-Item -Path $Path