-
Notifications
You must be signed in to change notification settings - Fork 2
Cmdlets
Manu P edited this page Jan 8, 2021
·
3 revisions
This wiki makes available all list of Cmdlets
-
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>]
-
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>]