WindowsUpdateTools.psd1

#
# Module manifest for module 'WindowsUpdateTools'
#
# Generated by: Anthony Balloi - CSOLVE
#
# Generated on: 6/16/2025
#

@{

# Script module or binary module file associated with this manifest.
RootModule = 'WindowsUpdateTools.psm1'

# Version number of this module.
ModuleVersion = '1.1.0'

# Supported PSEditions
CompatiblePSEditions = @('Desktop', 'Core')

# ID used to uniquely identify this module
GUID = 'a8f8e8d0-4c1e-4b2f-9a3d-1e5f7c9b2a4d'

# Author of this module
Author = 'Anthony Balloi - CSOLVE'

# Company or vendor of this module
CompanyName = 'CSOLVE'

# Copyright statement for this module
Copyright = '(c) 2025 CSOLVE. All rights reserved.'

# Description of the functionality provided by this module
Description = 'Comprehensive PowerShell module for diagnosing, analyzing, and remediating Windows Update issues in enterprise environments. Includes SetupDiag integration, automated remediation, and detailed health reporting.'

# Minimum version of the PowerShell engine required by this module
PowerShellVersion = '5.1'

# Name of the PowerShell host required by this module
# PowerShellHostName = ''

# Minimum version of the PowerShell host required by this module
# PowerShellHostVersion = ''

# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
DotNetFrameworkVersion = '4.7.2'

# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# ClrVersion = ''

# Processor architecture (None, X86, Amd64) required by this module
ProcessorArchitecture = 'None'

# Modules that must be imported into the global environment prior to importing this module
# RequiredModules = @()

# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()

# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
# FormatsToProcess = @()

# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = @(
    'Test-WindowsUpdateHealth',
    'Repair-WindowsUpdate'
)

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()

# Variables to export from this module
VariablesToExport = @(
    'ExitCodes'
)

# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = @(
    'Test-WUHealth',
    'Repair-WU'
)

# DSC resources to export from this module
# DscResourcesToExport = @()

# List of all modules packaged with this module
# ModuleList = @()

# List of all files packaged with this module
FileList = @(
    'WindowsUpdateTools.psm1',
    'WindowsUpdateTools.psd1',
    'Public\Test-WindowsUpdateHealth.ps1',
    'Public\Repair-WindowsUpdate.ps1',
    'Private\Write-WULog.ps1',
    'Private\Get-WUSystemInfo.ps1',
    'Private\Test-WUServices.ps1',
    'Private\Get-WUEventLogs.ps1',
    'Private\Test-WUComponentStore.ps1',
    'Private\Resolve-WUSystemPartition.ps1',
    'Private\Resolve-WUGenericErrors.ps1',
    'Private\Invoke-WUComprehensiveRemediation.ps1',
    'Private\Remove-WUProblematicDrivers.ps1',
    'Private\Clear-WUUpgradeBlockingRegistry.ps1',
    'Private\Invoke-WUEnhancedDiskCleanup.ps1',
    'Private\Resolve-WUWSUSIssues.ps1',
    'Private\Invoke-WUTroubleshooter.ps1',
    'Private\Invoke-WUSetupDiag.ps1',
    'Private\New-WUHealthIssue.ps1',
    'Private\Get-WUConfiguration.ps1',
    'Private\Get-WUPendingUpdates.ps1',
    'Private\Get-WUSystemHealth.ps1',
    'Private\Get-WUUpdateHistory.ps1',
    'Private\Resolve-WUComponentStore.ps1',
    'README.md'
)

# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData = @{

    PSData = @{

        # Tags applied to this module. These help with module discovery in online galleries.
        Tags = @(
            'WindowsUpdate',
            'Remediation', 
            'Diagnostics',
            'Enterprise',
            'Intune',
            'SCCM',
            'SetupDiag',
            'Windows10',
            'Windows11',
            'WSUS',
            'Troubleshooting',
            'Automation',
            'SystemAdmin'
        )

        # A URL to the license for this module.
        LicenseUri = 'https://github.com/YourOrg/WindowsUpdateTools/blob/main/LICENSE'

        # A URL to the main website for this project.
        ProjectUri = 'https://github.com/YourOrg/WindowsUpdateTools'

        # A URL to an icon representing this module.
        IconUri = 'https://github.com/YourOrg/WindowsUpdateTools/blob/main/icon.png'        # ReleaseNotes of this module
        ReleaseNotes = @'
WindowsUpdateTools v1.1.0 Release Notes
 
New Features:
- Test-WindowsUpdateHealth: Comprehensive Windows Update health assessment and analysis
- Repair-WindowsUpdate: Automated Windows Update remediation and repair operations
- Invoke-SetupDiag: Integration with Microsoft SetupDiag tool
- Comprehensive Analysis: Analysis of Windows Update installation history and configuration
- Private Remediation Functions: Internal functions for advanced troubleshooting
 
Public Functions:
- Test-WindowsUpdateHealth (Alias: Test-WUHealth)
- Repair-WindowsUpdate (Alias: Repair-WU)
 
Remediation Capabilities:
- System Reserved Partition disk space issues
- Component store corruption detection and repair using DISM and SFC
- Windows Update service reset and repair
- Driver installation hang resolution
- Generic Windows Update service failures
- WSUS deployment issues and Windows 11 24H2 compatibility
- Comprehensive or targeted repair strategies
 
Enterprise Features:
- Intune-compatible exit codes (0, 1, 1641, 3010)
- Structured logging with timestamps and severity levels
- PowerShell pipeline support with -PassThru
- SCCM Configuration Item templates
- Bulk enterprise reporting capabilities
 
System Requirements:
- Windows 10 1809+ or Windows Server 2019+
- PowerShell 5.1 or later
- .NET Framework 4.7.2+ (for SetupDiag functionality)
- Administrator privileges for remediation operations
'@


        # Prerelease string of this module
        # Prerelease = ''

        # Flag to indicate whether the module requires explicit user acceptance for install/update/save
        RequireLicenseAcceptance = $false

        # External dependent modules of this module
        # ExternalModuleDependencies = @()

    } # End of PSData hashtable

} # End of PrivateData hashtable

# HelpInfo URI of this module
HelpInfoURI = 'https://github.com/YourOrg/WindowsUpdateTools/blob/main/docs/'

# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}