Invoke-XApp (untested)
Find-MTU (grabbed from web)
Get-FreeDiskSpace (Wmi based)
WinCreds package
Generate-FancyZones for FancyZones PowerToy
This commit is contained in:
Gal Szkolnik 2021-11-30 22:04:04 -05:00
parent c2675e2346
commit 1c4e9feb1f
8 changed files with 371 additions and 0 deletions

View file

@ -0,0 +1,13 @@
[CmdletBinding()] param (
[string]$Pattern
)
begin {
}
process {
cmdkey /list | Where-Object { $_ -like "*Target:*" -and $_ -like "$Pattern" }
}
end {
}

View file

@ -0,0 +1,26 @@
[CmdletBinding(SupportsShouldProcess,ConfirmImpact='High')] param (
# Specifies a path to one or more locations.
[Parameter(Mandatory=$true,
Position=0,
ParameterSetName="ParameterSetName",
ValueFromPipeline=$true)]
[ValidateNotNullOrEmpty()]
[string[]]$EntryName,
[switch]$PassThru
)
begin {
}
process {
foreach( $local:entryname_ in $EntryName ) {
$local:Entry = $entryname_ -replace " ","" -replace "Target:",""
if ($PSCmdlet.ShouldProcess("$Entry", "Remove Credential Entry")) {
cmdkey /del:$Entry | Out-Null
if( $PassThru ) { Write-Output $Entry }
}
}
}
end {
}

BIN
WinCreds/_.package.json Normal file

Binary file not shown.