mirror of
https://github.com/freedbygrace/PSOPNSenseAPI.git
synced 2026-08-21 15:47:44 +00:00
Added comprehensive cmdlet documentation and updated module version to 2025.04.15.1033
This commit is contained in:
@@ -0,0 +1,84 @@
|
||||
# Start-OPNSenseFirmwareUpgrade
|
||||
|
||||
## SYNOPSIS
|
||||
Starts a firmware upgrade on an OPNSense firewall.
|
||||
|
||||
## SYNTAX
|
||||
|
||||
```
|
||||
Start-OPNSenseFirmwareUpgrade [-WhatIf] [-Confirm]
|
||||
```
|
||||
|
||||
## DESCRIPTION
|
||||
The Start-OPNSenseFirmwareUpgrade cmdlet starts a firmware upgrade on an OPNSense firewall. This cmdlet performs a major version upgrade, not just an update.
|
||||
|
||||
## EXAMPLES
|
||||
|
||||
### Example 1: Start a firmware upgrade
|
||||
```powershell
|
||||
Start-OPNSenseFirmwareUpgrade
|
||||
```
|
||||
|
||||
This example starts a firmware upgrade on the OPNSense firewall.
|
||||
|
||||
### Example 2: Start a firmware upgrade with confirmation
|
||||
```powershell
|
||||
Start-OPNSenseFirmwareUpgrade -Confirm
|
||||
```
|
||||
|
||||
This example prompts for confirmation before starting the firmware upgrade.
|
||||
|
||||
## PARAMETERS
|
||||
|
||||
### -WhatIf
|
||||
Shows what would happen if the cmdlet runs. The cmdlet is not run.
|
||||
|
||||
```yaml
|
||||
Type: SwitchParameter
|
||||
Parameter Sets: (All)
|
||||
Aliases: wi
|
||||
|
||||
Required: False
|
||||
Position: Named
|
||||
Default value: None
|
||||
Accept pipeline input: False
|
||||
Accept wildcard characters: False
|
||||
```
|
||||
|
||||
### -Confirm
|
||||
Prompts you for confirmation before running the cmdlet.
|
||||
|
||||
```yaml
|
||||
Type: SwitchParameter
|
||||
Parameter Sets: (All)
|
||||
Aliases: cf
|
||||
|
||||
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
|
||||
|
||||
### None
|
||||
|
||||
## OUTPUTS
|
||||
|
||||
### System.Object
|
||||
Returns an object representing the result of the operation.
|
||||
|
||||
## NOTES
|
||||
This cmdlet requires a connection to an OPNSense firewall. Use Connect-OPNSense to establish a connection.
|
||||
Upgrading the firmware will require a reboot of the firewall for the changes to take effect.
|
||||
It is strongly recommended to create a backup of the firewall configuration before upgrading the firmware.
|
||||
This cmdlet performs a major version upgrade, which may have significant changes and potential compatibility issues.
|
||||
|
||||
## RELATED LINKS
|
||||
|
||||
[Get-OPNSenseFirmware](Get-OPNSenseFirmware.md)
|
||||
[Update-OPNSenseFirmware](Update-OPNSenseFirmware.md)
|
||||
Reference in New Issue
Block a user