Skip to content

Cmdlets

Manu P edited this page Jan 8, 2021 · 3 revisions

Available Cmdlets as of 0.2.1-alpha

This wiki makes available all list of Cmdlets

General Utilities

  • Move-Trash - Moves a file or directory to the Recycle Bin instead of erasing it off the system.

    Move-Trash [-Path] <string> [[-List]] [<CommonParameters>]
  • Compare-Hash - Compares a file hash with a known signature and displays whether the signature was a match

    Compare-Hash [-Hash] {SHA256 | SHA512 | MD5} [-Path] <string> [-Signature] <string> [<CommonParameters>]

Alias Utilities

  • New-Byname - Creates a new alias by running New-Alias internally, but writes the command to the $PROFILE to persist the alias information.

    New-Byname [-Name] <string> [-Value] <string> [-Description <string>] [-Option {None | ReadOnly | Constant | Private | AllScope | Unspecified}] [-PassThru] [-WhatIf] [-Confirm] [-Scope {Global | Local | Private | Numbered scopes | Script}] [-Force] [<CommonParameters>]
  • Set-Byname - Sets a new alias by running Set-Alias internally, but writes the command to the $PROFILE to persist the alias information.

    Set-Byname [-Name] <string> [-Value] <string> [-Description <string>] [-Option {None | ReadOnly | Constant | Private | AllScope | Unspecified}] [-PassThru] [-WhatIf] [-Confirm] [-Scope {Global | Local | Private | Numbered scopes | Script}] [-Force] [<CommonParameters>]
  • Remove-Byname - Removes a "Byname" by running Remove-Alias internally, but removes the byname from the $PROFILE to remove the persisted information.

    Remove-Byname [-Name] <string> [-Scope {Global | Local | Private | Numbered scopes | Script}] [-Force] [<CommonParameters>]
Clone this wiki locally