VegaShell.psm1
#VegaShell Get-ChildItem -Path $PSScriptRoot\*.ps1 | Foreach-Object { . $_.FullName } Get-ChildItem -Path $PSScriptRoot\*\*.ps1 | Foreach-Object { . $_.FullName } #Set-Alias -Name ncel -Value New-VegaShellEventLog Export-ModuleMember -function 'TryCatchError', 'WriteLog', 'RebootService', 'SelectItemListed', 'PopUpWindows', 'SendMsgToTeams', 'PingServer', 'ConnectMongoDb', 'FindMongo', 'UpdateMongo', 'InsertMongo', 'DeleteMongo', 'GetKeyVault', 'DownloadFileAzureStorageContainer', 'UploadFileAzureStorageContainer', 'GetSQLInstanceInfo', 'DeleteSqlDatabase', 'CheckInstanceAvailability' #-alias 'ncel' |