diff --git a/.github/workflows/update-catalog-dell.yaml b/.github/workflows/update-catalog-dell.yaml index b13d2d8..95720cc 100644 --- a/.github/workflows/update-catalog-dell.yaml +++ b/.github/workflows/update-catalog-dell.yaml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: main diff --git a/.github/workflows/update-catalog-hp.yaml b/.github/workflows/update-catalog-hp.yaml index ddd24b8..fed139d 100644 --- a/.github/workflows/update-catalog-hp.yaml +++ b/.github/workflows/update-catalog-hp.yaml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: main diff --git a/.github/workflows/update-catalog-lenovo.yaml b/.github/workflows/update-catalog-lenovo.yaml index f473e16..f57f3d3 100644 --- a/.github/workflows/update-catalog-lenovo.yaml +++ b/.github/workflows/update-catalog-lenovo.yaml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: main diff --git a/.github/workflows/update-catalog-microsoft.yaml b/.github/workflows/update-catalog-microsoft.yaml index a6d3201..447b2ae 100644 --- a/.github/workflows/update-catalog-microsoft.yaml +++ b/.github/workflows/update-catalog-microsoft.yaml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: main diff --git a/OSDCloud/OSDCloud.psd1 b/OSDCloud/OSDCloud.psd1 index 148027a..bf7d700 100644 --- a/OSDCloud/OSDCloud.psd1 +++ b/OSDCloud/OSDCloud.psd1 @@ -8,7 +8,7 @@ @{ # --- Identity --- RootModule = 'OSDCloud.psm1' - ModuleVersion = '26.6.29.1' + ModuleVersion = '26.7.25.1' CompatiblePSEditions = @('Core','Desktop') GUID = '2fbd5c65-79c7-4561-9a2e-c4a4eebc89c7' @@ -24,7 +24,6 @@ # --- Exports --- FunctionsToExport = @( 'Deploy-OSDCloud', - 'Deploy-OSDCloudCLI', 'Get-OSDCloudCache', 'Get-OSDCloudModulePath', 'Get-OSDCloudModuleVersion', diff --git a/OSDCloud/docs/Deploy-OSDCloudCLI.md b/OSDCloud/docs/Deploy-OSDCloudCLI.md deleted file mode 100644 index 7c03d59..0000000 --- a/OSDCloud/docs/Deploy-OSDCloudCLI.md +++ /dev/null @@ -1,206 +0,0 @@ ---- -external help file: OSDCloud-help.xml -Module Name: OSDCloud -online version: https://github.com/OSDeploy/OSDCloud/blob/main/PRIVACY.md -schema: 2.0.0 ---- - -# Deploy-OSDCloudCLI - -## SYNOPSIS -Starts an OSDCloud operating system deployment in CLI mode. - -## SYNTAX - -``` -Deploy-OSDCloudCLI [-SkipFirmwareUpdate] [-Force] [-ProgressAction ] - [-OperatingSystem ] [-OSEdition ] [-OSActivation ] [-OSLanguageCode ] - [-Task ] [] -``` - -## DESCRIPTION -Initializes and runs an OSDCloud deployment workflow directly in the current -console session without launching the graphical UX. -This function is a CLI-only -entry point and immediately invokes workflow tasks after initialization. - -## EXAMPLES - -### EXAMPLE 1 -``` -Deploy-OSDCloudCLI -``` - -Runs the default OSDCloud workflow immediately in the current console session. - -### EXAMPLE 2 -``` -Deploy-OSDCloudCLI -OperatingSystem 'Windows 11 24H2' -``` - -Runs the CLI workflow and overrides the OperatingSystem default. - -### EXAMPLE 3 -``` -Deploy-OSDCloudCLI -OSEdition 'Enterprise' -OSLanguageCode 'en-gb' -``` - -Runs the CLI workflow with Enterprise edition and en-gb language. - -### EXAMPLE 4 -``` -Deploy-OSDCloudCLI -Task 'OSDCloud SkipFirmwareUpdate' -``` - -Runs the selected CLI workflow task. - -### EXAMPLE 5 -``` -Deploy-OSDCloudCLI -SkipFirmwareUpdate -``` - -Runs the default workflow and skips firmware update steps. - -### EXAMPLE 6 -``` -Deploy-OSDCloudCLI -Force -``` - -Runs the default workflow and suppresses supported confirmation prompts. - -## PARAMETERS - -### -SkipFirmwareUpdate -Skips firmware update download and apply steps in the workflow. - -```yaml -Type: SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: False -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Force -Skips confirmation prompts for destructive workflow steps that support force behavior. - -```yaml -Type: SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: False -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -OperatingSystem -{{ Fill OperatingSystem Description }} - -```yaml -Type: String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -OSActivation -{{ Fill OSActivation Description }} - -```yaml -Type: String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -OSEdition -{{ Fill OSEdition Description }} - -```yaml -Type: String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -OSLanguageCode -{{ Fill OSLanguageCode Description }} - -```yaml -Type: String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Task -{{ Fill Task Description }} - -```yaml -Type: String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### System.Void -## NOTES -This function does not display the graphical UX. -Workflow execution begins -immediately after initialization. - -## RELATED LINKS diff --git a/OSDCloud/en-US/OSDCloud-help.xml b/OSDCloud/en-US/OSDCloud-help.xml index a36c97b..a5ce746 100644 --- a/OSDCloud/en-US/OSDCloud-help.xml +++ b/OSDCloud/en-US/OSDCloud-help.xml @@ -137,282 +137,6 @@ - - - Deploy-OSDCloudCLI - Deploy - OSDCloudCLI - - Starts an OSDCloud operating system deployment in CLI mode. - - - - Initializes and runs an OSDCloud deployment workflow directly in the current console session without launching the graphical UX. This function is a CLI-only entry point and immediately invokes workflow tasks after initialization. - - - - Deploy-OSDCloudCLI - - SkipFirmwareUpdate - - Skips firmware update download and apply steps in the workflow. - - - SwitchParameter - - - False - - - Force - - Skips confirmation prompts for destructive workflow steps that support force behavior. - - - SwitchParameter - - - False - - - OperatingSystem - - {{ Fill OperatingSystem Description }} - - String - - String - - - None - - - OSActivation - - {{ Fill OSActivation Description }} - - String - - String - - - None - - - OSEdition - - {{ Fill OSEdition Description }} - - String - - String - - - None - - - OSLanguageCode - - {{ Fill OSLanguageCode Description }} - - String - - String - - - None - - - ProgressAction - - {{ Fill ProgressAction Description }} - - ActionPreference - - ActionPreference - - - None - - - Task - - {{ Fill Task Description }} - - String - - String - - - None - - - - - - SkipFirmwareUpdate - - Skips firmware update download and apply steps in the workflow. - - SwitchParameter - - SwitchParameter - - - False - - - Force - - Skips confirmation prompts for destructive workflow steps that support force behavior. - - SwitchParameter - - SwitchParameter - - - False - - - OperatingSystem - - {{ Fill OperatingSystem Description }} - - String - - String - - - None - - - OSActivation - - {{ Fill OSActivation Description }} - - String - - String - - - None - - - OSEdition - - {{ Fill OSEdition Description }} - - String - - String - - - None - - - OSLanguageCode - - {{ Fill OSLanguageCode Description }} - - String - - String - - - None - - - ProgressAction - - {{ Fill ProgressAction Description }} - - ActionPreference - - ActionPreference - - - None - - - Task - - {{ Fill Task Description }} - - String - - String - - - None - - - - - - - System.Void - - - - - - - - - This function does not display the graphical UX. Workflow execution begins immediately after initialization. - - - - - -------------------------- EXAMPLE 1 -------------------------- - Deploy-OSDCloudCLI - - Runs the default OSDCloud workflow immediately in the current console session. - - - - -------------------------- EXAMPLE 2 -------------------------- - Deploy-OSDCloudCLI -OperatingSystem 'Windows 11 24H2' - - Runs the CLI workflow and overrides the OperatingSystem default. - - - - -------------------------- EXAMPLE 3 -------------------------- - Deploy-OSDCloudCLI -OSEdition 'Enterprise' -OSLanguageCode 'en-gb' - - Runs the CLI workflow with Enterprise edition and en-gb language. - - - - -------------------------- EXAMPLE 4 -------------------------- - Deploy-OSDCloudCLI -Task 'OSDCloud SkipFirmwareUpdate' - - Runs the selected CLI workflow task. - - - - -------------------------- EXAMPLE 5 -------------------------- - Deploy-OSDCloudCLI -SkipFirmwareUpdate - - Runs the default workflow and skips firmware update steps. - - - - -------------------------- EXAMPLE 6 -------------------------- - Deploy-OSDCloudCLI -Force - - Runs the default workflow and suppresses supported confirmation prompts. - - - - - - Online Version: - https://github.com/OSDeploy/OSDCloud/blob/main/PRIVACY.md - - - Get-OSDCloudCache @@ -886,4 +610,4 @@ Runs Show-OSDCloudDeviceInfo to display comprehensive WinPE and device informati - \ No newline at end of file + diff --git a/OSDCloud/public/WinOS/Deploy-OSDCloudCLI.ps1 b/OSDCloud/private/Deploy-OSDCloudCLI.ps1 similarity index 100% rename from OSDCloud/public/WinOS/Deploy-OSDCloudCLI.ps1 rename to OSDCloud/private/Deploy-OSDCloudCLI.ps1