scan_structure_module.psm1
function Scan-Structure { [CmdletBinding()] param( [Parameter(Mandatory=$false)] [string]$Path = (Get-Location) ) Write-Host "Scanning structure at path: $Path" Get-ChildItem -Path $Path -Recurse -Force | Select-Object FullName, Length, LastWriteTime } |