Fixed a bug in FromPowerShellCookbook
This commit is contained in:
parent
ac9c5ed352
commit
d85aec0480
|
@ -1 +0,0 @@
|
||||||
Edit-TextFile
|
|
|
@ -15,7 +15,7 @@ if( Get-Module PowerShellCookbook ) {
|
||||||
Import-Module PowerShellCookbook -Cmdlet Add-ObjectCollector
|
Import-Module PowerShellCookbook -Cmdlet Add-ObjectCollector
|
||||||
}
|
}
|
||||||
#
|
#
|
||||||
. Get-Command Add-ObjectCollector SilentlyContinue | ForEach-Object {
|
. Get-Command Add-ObjectCollector -ErrorAction SilentlyContinue | ForEach-Object {
|
||||||
Add-ObjectCollector
|
Add-ObjectCollector
|
||||||
Get-Item function:/Add-ObjectCollector | Remove-Item
|
Get-Item function:/Add-ObjectCollector | Remove-Item
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue