public/Get-OSDWorkspace.ps1
function Get-OSDWorkspace { <# .SYNOPSIS Displays information about the OSD.Workspace PowerShell Module. .DESCRIPTION Displays information about the OSD.Workspace PowerShell Module including upcoming events and links to resources. .NOTES David Segura #> [CmdletBinding()] param () #================================================= $Error.Clear() Write-Verbose "[$((Get-Date).ToString('HH:mm:ss'))][$($MyInvocation.MyCommand)] Start" $ModuleName = $($MyInvocation.MyCommand.Module.Name) Write-Verbose "[$((Get-Date).ToString('HH:mm:ss'))][$($MyInvocation.MyCommand.Name)] ModuleName: $ModuleName" $ModuleBase = $($MyInvocation.MyCommand.Module.ModuleBase) Write-Verbose "[$((Get-Date).ToString('HH:mm:ss'))][$($MyInvocation.MyCommand.Name)] ModuleBase: $ModuleBase" $ModuleVersion = $($MyInvocation.MyCommand.Module.Version) Write-Verbose "[$((Get-Date).ToString('HH:mm:ss'))][$($MyInvocation.MyCommand.Name)] ModuleVersion: $ModuleVersion" #================================================= Write-Host -ForegroundColor DarkCyan 'OSDWorkspace Team' Write-Host -ForegroundColor DarkGray "David Segura $($OSDWorkspace.links.david)" Write-Host -ForegroundColor DarkGray "Michael Escamilla $($OSDWorkspace.links.michael)" Write-Host Write-Host -ForegroundColor DarkCyan 'NWSCUG: OSD 2025 Preview' Write-Host -ForegroundColor DarkGray "March 28 2025 $($OSDWorkspace.links.nwscug)" Write-Host Write-Host -ForegroundColor DarkCyan 'MMSMOA: OSDWorkspace and OSDCloud' Write-Host -ForegroundColor DarkGray "May 5-8 2025 $($OSDWorkspace.links.mmsmoa)" Write-Host Write-Host -ForegroundColor DarkCyan 'WPNinjasUK: OSDWorkspace and OSDCloud' Write-Host -ForegroundColor DarkGray "June 16-17 2025 $($OSDWorkspace.links.wpninjasuk)" Write-Host Write-Host -ForegroundColor DarkCyan 'OSDWorkspace on PowerShell Gallery' Write-Host -ForegroundColor DarkGray $($OSDWorkspace.links.powershellgallery) Write-Host Write-Host -ForegroundColor DarkCyan 'OSDWorkspace on Discord' Write-Host -ForegroundColor DarkGray $($OSDWorkspace.links.discord) #================================================= Write-Verbose "[$((Get-Date).ToString('HH:mm:ss'))][$($MyInvocation.MyCommand)] End" #================================================= } |