Skip to content

Commit

Permalink
Re-enable modules
Browse files Browse the repository at this point in the history
  • Loading branch information
patzobil committed May 3, 2021
1 parent cfa98b6 commit 2faf991
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Get-EndpointInfo-HTML.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#* Progress Bar
. .\functions\Write-Progress.ps1
$script:steps = ([System.Management.Automation.PsParser]::Tokenize((Get-Content "$PSScriptRoot\$($MyInvocation.MyCommand.Name)"), [ref]$null) | Where-Object { $_.Type -eq 'Command' -and $_.Content -eq 'Write-ProgressHelper' }).Count
$script:steps = ([System.Management.Automation.PsParser]::Tokenize((Get-Content "$PSScriptRoot\Get-EndpointInfo-HTML.ps1$($MyInvocation.MyCommand.Name)"), [ref]$null) | Where-Object { $_.Type -eq 'Command' -and $_.Content -eq 'Write-ProgressHelper' }).Count
$stepCounter = 0

#* Get Date and Time
Expand Down Expand Up @@ -89,11 +89,11 @@ Write-ProgressHelper "Getting Hosts File Info" -StepNumber ($stepCounter++)
Write-Log -LogText "Getting Hosts File Info"

Write-ProgressHelper "Getting Application Info" -StepNumber ($stepCounter++)
# . .\modules\ApplicationsInfo.ps1
. .\modules\ApplicationsInfo.ps1
Write-Log -LogText "Getting Application Info"

Write-ProgressHelper "Getting Windows Services Info" -StepNumber ($stepCounter++)
# . .\modules\WindowsServices.ps1
. .\modules\WindowsServices.ps1
Write-Log -LogText "Getting Windows Services Info"
#! ************************************** MODULES ***************************************
#endregion
Expand Down

0 comments on commit 2faf991

Please sign in to comment.