PSSummitDemo.psm1
# Unblock files if Windows. if ($PSVersionTable.Platform -eq 'Windows') { Get-ChildItem -Path $PSScriptRoot -Recurse | Unblock-File } # Dot source public functions. Get-ChildItem -Path $PSScriptRoot\Functions\Public\*.ps1 | Foreach-Object { . $_.FullName } # Dot source private functions. Get-ChildItem -Path $PSScriptRoot\Functions\Private\*.ps1 | Foreach-Object { . $_.FullName } # Dot source classes. # Get-ChildItem -Path $PSScriptRoot\Classes\*.ps1 | Foreach-Object { . $_.FullName } # PS1XML to customize output. # If needed will go here. Comment stub, deal with it. # Argument completion. # If needed will go here. Comment stub, deal with it. |