GithubHelp home page GithubHelp logo

powershellrecipes's Introduction

PowershellRecipes

A set of powershell scripts that are useful or show a reusable technique. There are no dependencies between scripts - each one is standalone and acts upon existing data (ie: MP3/Zip files, cert store, etc.) or configuration created by the script.

ArchiveOldLogs.ps1 - cleans up log folders by moving logs matching a date filter into a monthly archive

AsciiMenu.ps1 - shows an ASCII box menu and allows selecting single or multiple choices

AttachVisualStudioDebuggerToAppPool.ps1 - Attaches a running (as admin) instance of Visual Studio to the DefaultAppPool worker process

CertificateFunctions.ps1 - GetCertThumbprintFromStore gets matching certs and prompts if many match

Choose.ps1 - choose from a list

CopyFileListToClipboard.ps1 - like ctrl-C in Explorer, copies files and metadata to clipboard

CountDownTimer.ps1 - shows a countdown timer 3..2..1 before something happens

DecodeJwtAccessToken.ps1 - decodes Base 64 JWT AccessToken for OAuth

DownloadGitHubRepoZipped.ps1 - Downloads the latest revision of a GitHub repo and saves the zip to desktop

DynamicParameters.ps1 - a minimal example that allows choosing a folder name at the command line

EnablePreview.ps1 - allows the preview window in Windows Explorer to show specified file types as text

FileSystemWatcher.ps1 - Monitors desktop and reports filesystem changes

Forms1.ps1 - Sample Winforms app

GDataClient.ps1 - Performs Oauth 2.0 authorization and authentication/re-auth to get an Oauth access_token, allowing REST API calls

GroupableGrid.ps1 - WPF Grid that allows grouping by a heading

ID3v1-Edit.ps1 - Parse and set ID3v1 tags in the last 128 bytes of a file

IsFederalHoliday.ps1 - Determine if the date supplied is a Federal Observed Holiday

ListWP.ps1 - List Worker Processes

MergedRowsGrid.ps1 - Merge Rows in a WinForms DataGridView if values equal

Microsoft.PowerShell_profile.ps1 - settings for the Powershell console at startup

README.md Create - this file

Rot13.ps1 Rot13 'encryption' with inline Switch -Regex

ShellContextMenuVerb.ps1 - Use Windows Shell object to pop up a properties window for a specified file

SpeechSoundboard.ps1 - a simple list of words as buttons that are spoken when clicked

TraySnippets.ps1 - Creates an icon from base64-zipped string to put in system tray, with scriptblocks available from rt-click menu

TimeoutWarning.ps1 - Beeps when screen saver and lockout is about to engage

Write-Columns.ps1 - Displays an array of multi-row strings as newspaper style columns

ZipFunctions.ps1 - Add/Read/Delete files from a .Zip in memory

powershellrecipes's People

Contributors

mossrich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

powershellrecipes's Issues

Title bar repeated

Command line:

Show-BoxMenu (Get-ChildItem -Path . -file | Select-Object -ExpandProperty FullName) -selected @($true,$false,$true) -MultiSelect

Repeats title bar:
┌──Select with spacebar─┐┌──Select with spacebar─┐

after moving the highlight

Powershell script for monthly archives

I am new in powershell and trying to find in the script to modify file creation from monthly to date wise however unable to find. Looking for little help or input.

Artist recorded at "Contributing Artist"

Hi,

Perhaps I'm using the script wrong but I'm trying to save an Artist field.
When i pass it

Set-ID3v1 -path $fileout -Title ("Breakfast Show "+$dayis_) -Artist "Chris Evans" -Album "Daily Breakfast Show"

The Artist is being saved by Windows as Contributing Artist and Album Artist is being left blank.
This is causing Plex to not read the meta data correctly.

Am I using this script wrong? was it designed to work this way?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.