Fixed a bug in FromPowerShellCookbook

このコミットが含まれているのは:
Gal Szkolnik 2020-11-04 11:45:53 -05:00
コミット d85aec0480
2個のファイルの変更1行の追加2行の削除

ファイルの表示

@ -1 +0,0 @@
Edit-TextFile

ファイルの表示

@ -15,7 +15,7 @@ if( Get-Module PowerShellCookbook ) {
Import-Module PowerShellCookbook -Cmdlet Add-ObjectCollector
}
#
. Get-Command Add-ObjectCollector SilentlyContinue | ForEach-Object {
. Get-Command Add-ObjectCollector -ErrorAction SilentlyContinue | ForEach-Object {
Add-ObjectCollector
Get-Item function:/Add-ObjectCollector | Remove-Item
}