diff --git a/PS5/README.md b/PS5/README.md index 6f017595..9a25dd6d 100644 --- a/PS5/README.md +++ b/PS5/README.md @@ -14,4 +14,4 @@ or have dependencies that are no longer available in PowerShell 6+. - **[Enable-Certificate.ps1](Enable-Certificate.ps1)**: Unsets the Archived property on a certificate. - **[Export-Fake4TargetsGraph.ps1](Export-Fake4TargetsGraph.ps1)**: Exports a graph of a Fake4 build script's targets. - + diff --git a/README.md b/README.md index fe0de07f..7b983b88 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Useful General-Purpose Scripts [![Pester tests status](https://github.com/brianary/scripts/actions/workflows/pester.yml/badge.svg)][pester.yml] [![Pester tests results](https://gist.githubusercontent.com/brianary/4642e5c804aa1b40738def5a7c03607a/raw/badge.svg)][pester.yml] -[![Pester tests coverage](https://img.shields.io/badge/Pester_coverage-2482_%E2%80%B1-red)](https://github.com/brianary/scripts/tree/main/test) +[![Pester tests coverage](https://img.shields.io/badge/Pester_coverage-2473_%E2%80%B1-red)](https://github.com/brianary/scripts/tree/main/test) [![GitHub license badge](https://badgen.net/github/license/brianary/Scripts?icon=github)](https://mit-license.org/ "MIT License") [![GitHub stars badge](https://badgen.net/github/stars/brianary/Scripts?icon=github)](https://github.com/brianary/scripts/stargazers "Stars") [![GitHub watchers badge](https://badgen.net/github/watchers/brianary/Scripts?icon=github)](https://github.com/brianary/scripts/watchers "Watchers") @@ -318,6 +318,7 @@ PowerShell Scripts - **[Measure-TextFile.ps1](Measure-TextFile.ps1)**: Counts each type of indent and line ending. - **[New-RandomVehicle.ps1](New-RandomVehicle.ps1)**: Generates random vehicle details with a valid VIN. - **[Optimize-Path.ps1](Optimize-Path.ps1)**: Sorts, prunes, and normalizes both user and system Path entries. +- :new: **[Remove-PocketArticle.ps1](Remove-PocketArticle.ps1)**: Removes an article from a Pocket account. - **[Repair-AppxPackages.ps1](Repair-AppxPackages.ps1)**: Re-registers all installed Appx packages. - **[Restore-Workstation.ps1](Restore-Workstation.ps1)**: Restores various configuration files and exported settings from a ZIP file. - **[Save-PodcastEpisodes.ps1](Save-PodcastEpisodes.ps1)**: Saves enclosures from a podcast feed. @@ -336,4 +337,4 @@ Office VBA Scripts - **[OutlookPasteFormattedIndented.vba](OutlookPasteFormattedIndented.vba)**: Outlook will strip single-space indents when displaying emails. If you've got, for example, syntax highlighted source code that employs any indentation of only one space, you'll want to add two spaces to the each line (adding one will not appear for text that isn't indented). This Outlook script will paste formatted text, and indent it. Requires Tools -> References -> Microsoft Word 14.0 Object Library (later versions may also work) - **[OutlookPasteTsvTable.vba](OutlookPasteTsvTable.vba)**: This Outlook VBA Sub can be connected to a toolbar button for pasting TSV data as an attractive, formatted table. -BL Requires Tools -> References -> Microsoft Word 14.0 Object Library (later versions may also work) - + diff --git a/docs/Remove-PocketArticle.ps1.md b/docs/Remove-PocketArticle.ps1.md new file mode 100644 index 00000000..356f33aa --- /dev/null +++ b/docs/Remove-PocketArticle.ps1.md @@ -0,0 +1,105 @@ +--- +external help file: -help.xml +Module Name: +online version: True +schema: 2.0.0 +--- + +# Remove-PocketArticle.ps1 + +## SYNOPSIS +Removes an article from a Pocket account. + +## SYNTAX + +``` +Remove-PocketArticle.ps1 [-ItemId] [-Vault ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +{{ Fill in the Description }} + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> {{ Add example code here }} +``` + +{{ Add example description here }} + +## PARAMETERS + +### -ItemId +The Pocket-assigned article ID. + +```yaml +Type: Int64 +Parameter Sets: (All) +Aliases: item_id + +Required: True +Position: 1 +Default value: 0 +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### -Vault +The name of the secret vault to retrieve the Pocket API consumer key from. +By default, the default vault is used. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.Management.Automation.PSObject +## NOTES + +## RELATED LINKS diff --git a/docs/index.md b/docs/index.md index 370ae598..1777ebd6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,7 +2,7 @@ [![Pester tests status](https://github.com/brianary/scripts/actions/workflows/pester.yml/badge.svg)][pester.yml] [![Pester tests results](https://gist.githubusercontent.com/brianary/4642e5c804aa1b40738def5a7c03607a/raw/badge.svg)][pester.yml] -[![Pester tests coverage](https://img.shields.io/badge/Pester_coverage-2480_%E2%80%B1-red)](https://github.com/brianary/scripts/tree/main/test) +[![Pester tests coverage](https://img.shields.io/badge/Pester_coverage-2473_%E2%80%B1-red)](https://github.com/brianary/scripts/tree/main/test) [![GitHub license badge](https://badgen.net/github/license/brianary/Scripts?icon=github)](https://mit-license.org/ "MIT License") [![GitHub stars badge](https://badgen.net/github/stars/brianary/Scripts?icon=github)](https://github.com/brianary/scripts/stargazers "Stars") [![GitHub watchers badge](https://badgen.net/github/watchers/brianary/Scripts?icon=github)](https://github.com/brianary/scripts/watchers "Watchers") @@ -311,7 +311,7 @@ Scripts from the [Scripts](https://github.com/brianary/Scripts/) repo. - **[Measure-TextFile.ps1](Measure-TextFile.ps1.md)**: Counts each type of indent and line ending. - **[New-RandomVehicle.ps1](New-RandomVehicle.ps1.md)**: Generates random vehicle details with a valid VIN. - **[Optimize-Path.ps1](Optimize-Path.ps1.md)**: Sorts, prunes, and normalizes both user and system Path entries. -- **[Remove-PocketArticle.ps1](Remove-PocketArticle.ps1.md)**: Removes an article from a Pocket account. +- 🆕 **[Remove-PocketArticle.ps1](Remove-PocketArticle.ps1.md)**: Removes an article from a Pocket account. - **[Repair-AppxPackages.ps1](Repair-AppxPackages.ps1.md)**: Re-registers all installed Appx packages. - **[Restore-Workstation.ps1](Restore-Workstation.ps1.md)**: Restores various configuration files and exported settings from a ZIP file. - **[Save-PodcastEpisodes.ps1](Save-PodcastEpisodes.ps1.md)**: Saves enclosures from a podcast feed. diff --git a/syscfg/README.md b/syscfg/README.md index 18133317..dd91f132 100644 --- a/syscfg/README.md +++ b/syscfg/README.md @@ -13,4 +13,4 @@ A collection of scripts that only need to be run once to modify a system. - **[Set-DefaultSecurityProtocols.ps1](Set-DefaultSecurityProtocols.ps1)**: Enable TLS versions in Outlook on Windows 7. - **[Use-SystemCrypto.ps1](Use-SystemCrypto.ps1)**: Sets the .NET Frameworks prior to 4.7.1 to inherit the system TLS settings. - + diff --git a/test/README.md b/test/README.md index c6059dea..676ff010 100644 --- a/test/README.md +++ b/test/README.md @@ -1,7 +1,7 @@ Script Tests ============ -
224 ‰ Scripts repo (205) 📅 421 days +
223 ‰ Scripts repo (206) 📅 421 days
  • 1000 ‰ A (9) 📅 209 days
    • 1000 ‰ Add (9) 📅 209 days @@ -270,19 +270,20 @@ Script Tests - ✖️ Push-WorkspaceLocation.ps1
  • -
  • not started R (16) +
  • not started R (17)
    • not started Read (2) - ✖️ Read-ChocolateySummary.ps1 - ✖️ Read-Choice.ps1
    • -
    • not started Remove (4) +
    • not started Remove (5) - ✖️ Remove-CachedCredential.ps1 - ✖️ Remove-LockyFile.ps1 - ✖️ Remove-NullValues.ps1 - ✖️ Remove-ParameterDefault.ps1 +- ✖️ Remove-PocketArticle.ps1
    • not started Rename (2)