Quiet the function output of useless information

This commit is contained in:
Jackbennett 2016-05-24 15:49:30 +01:00
parent 49cc35bccf
commit 2d812f1d02

View File

@ -79,7 +79,7 @@ function Register-Cmder(){
)
Begin
{
New-PSDrive -Name HKCR -PSProvider Registry -Root HKEY_CLASSES_ROOT
New-PSDrive -Name HKCR -PSProvider Registry -Root HKEY_CLASSES_ROOT > $null
}
Process
{
@ -98,7 +98,7 @@ function Register-Cmder(){
function Unregister-Cmder{
Begin
{
New-PSDrive -Name HKCR -PSProvider Registry -Root HKEY_CLASSES_ROOT
New-PSDrive -Name HKCR -PSProvider Registry -Root HKEY_CLASSES_ROOT > $null
}
Process
{