Releases: darksidemilk/FogApi
2411.9.17
What's Changed
- update dev by @darksidemilk in #25
- Bring updated choco packaging into master by @darksidemilk in #26
- Update receive-fogimage and test choco publish by @darksidemilk in #31
- Markdown fixes and spell checking by @geotsot in #30
Full Changelog: 2409.9.16...2411.9.17
Full Release Note History: https://fogapi.readthedocs.io/en/latest/ReleaseNotes/
2409.9.16
What's Changed
- add publishing chocolatey package to release flow by @darksidemilk in #22
Full Changelog: 2409.9.4...2409.9.16
Full Release Note History: https://fogapi.readthedocs.io/en/latest/ReleaseNotes/
2409.9.4
- Adding chocolatey package install method with automation for publishing new versions.
Full Changelog: 2408.9.3...2409.9.4
Full Release Note History: https://fogapi.readthedocs.io/en/latest/ReleaseNotes/
2408.9.3
- Fixed typo where $pkgList param in
Set-FogSnapins
was[string]
instead of[string[]]
- Fixed build and release action so that the build and release commit done within github actions is authored by the github actions bot so that it actually commits
Full Changelog: 2408.9.2...2408.9.3
2408.9.2
What's Changed
- Add send-fogwol function #7 started work on this in a separate branch… by @darksidemilk in #13
- 10-add-get-fogversion by @darksidemilk in #14
- 11-add-get-fogsetting-and-set-fogsetting by @darksidemilk in #16
- Handled Auto add aliases on build #9 so added aliases are available to users.
- Implemented Add foghost name tab completion #8
- Added github actions for testing build and releasing versions
- Fixed issue with getting fog inventory in 1.6
- Implemented #16 for getting and setting fog global settings in fog 1.6
- Implemented #14 for getting the fog version
- Implemented #13 for invoking wol task for a host
- Added basic pipeline functionality for foghost objects in all applicable functions.
- Made it possible to send multiple specified snapins in a single start-fogsnapin call
- Added tab completion of server specific host names and snapin names in various functions like get-foghost, start-fogsnapin. set-fogsnapins, remove-usbmac
- removed advanced function begin/end blocks where they weren't being used as such, kept things in process block
- implemented Add https option to fog server settings #15 by making it so you can put http://fogserver or https://fogserver or fogserver as the fogserver property in settings to implement that change with minimal issues with existing setting configs. Added an enable-FogApiHTTPS funcction as well as a disable to easily enable that.
- Implemented A function for attempting to set windows machine to boot to pxe from within windows #17 see
Set-WinToBootToPxe
Additional Information
- Side note, the version jumped from xxxx.6.x to xxxx.9.x, this was an accident that I didn't notice till today (a week after release)... It should have been 2408.7.x. It was probably a typo or I just didn't see it after the tests of the new build and release system. Since there were already 500+ downloads on xxxx.9.2 I'm not going to go redoing them as xxxx.7.x. Apologies if anyone caught that and was confused.
Full Changelog: 2311.6.4...2408.9.2
2311.6.4
Typo bug fix there was a stray extra character.
Added switch for Set-FogSnapins
called -repairBeforeAdd
to allow running the repair before attempting to add.
Added in more try catch logic to Set-FogSnapins
Cleaned up release notes in manifest to just include the latest release to allow for faster import of module and updated master release notes format and building of master release notes in build script
Full Changelog: 2310.6.3...2311.6.4
2310.6.3
2310.6.3
Realized that I don't have an automated way in my build script to add aliases to module manifest (causes #9 )
Manually added aliases to the manifest and republishing so the various aliases actually work and its less likely to cause breaking changes for existing scripts using old method names.
This version can be installed from the powershell gallery https://www.powershellgallery.com/packages/FogApi/2310.6.3
Full Changelog: 2310.6.2...2310.6.3
2310.6.2
2310.6.2 Release notes - bug fix and minor functionality additions
- Fixed issue where using Get-FogAssociatedSnapins could result in a 404 error if a host had a snapin association with a snapinid of 0
- Renamed Get-FogAssociatedSnapins to Get-FogHostAssociatedSnapins as it is getting them for the current or specified host, kept old name and some other names as aliases. Because a function name changed, made it a major version.
- Added a Get-FogSnapinAssociations to get all snapin associations on the server
- Added Repair-FogSnapinAssociations to find and fix any associations on the server that belong to non-existent hosts, or that have invalid hostids or snapinids that are 0 or negative
- Added checks for if a snapinid is 0 before getting the snapin record of an association in Get-FogHostAssociatedSnapins and when setting a snapin on a host in Set-FogSnapins to further prevent related errors
Full Changelog: 2304.5.41...2310.6.2
2304.5.41
FogAPI Powershell Module 2304.5.41
This version (released in April 2023 (2304) major version 5, revision 41) is a bugfix and minor enhancement release
See also https://www.powershellgallery.com/packages/FogApi/2304.5.41
You can update the module with
Update-Module FogApi
Install for new systems with
Install-Module FogApi
Configure/connect the module to your fog server (for new installs, current installs don't need to update this) with
Set-FogServerSettings -interactive
#or you can define the parameters
Set-FogServerSettings -fogserver "fog-server-hostname-or-ip" -fogApiToken "yourFogServerAPITokenHere" -fogUserToken "yourFogUserTokenHere"
- Fix test-path error on get-foglog
Development change
- Fix version incrementing in build script for manual building to dynamically get the current date and have a switch for incrementing the 'major' version in the minor spot.
Full Changelog: 2303.5.33...2304.5.41
2303.5.33
FogAPI Powershell Module 2303.5.33
This version (released in March 2023 (2303) major version 5, revision 33) is a bugfix and minor enhancement release
See also https://www.powershellgallery.com/packages/FogApi/2302.5.33
You can update the module with
Update-Module FogApi
Install for new systems with
Install-Module FogApi
Configure/connect the module to your fog server (for new installs, current installs don't need to update this) with
Set-FogServerSettings -interactive
#or you can define the parameters
Set-FogServerSettings -fogserver "fog-server-hostname-or-ip" -fogApiToken "yourFogServerAPITokenHere" -fogUserToken "yourFogUserTokenHere"
- Added a
-exactNames
switch to Set-FogSnapins so you can specify when-pkgList
is a list of strings that exactly match, the default behavior is to use-match
to find snapins that match the name which can result in multiple matches when finding the snapin ids which ends in an api call with an error. So if you use this function and run into issues, you can specify that-eq
should be used for finding the snapins by name instead of-match
See also - Make set security of settings file have less output. I had an
out-host
call every time the security of the settings file was being checked or updated. This was a redundant output, but I kept it in-verbose
mode. - Added an icacls method for setting the settings file security in windows. The
set-acl
command requires a specific administrative se privilege, so if your user doesn't have it (i.e. not a local admin) this would result in an erroneous error, the icacls method is in a catch block after trying the set-acl method. See Set-FogServerSettingsFileSecurity - Added example and notes to Update-FogObject concerning host updates where name isn't changing. Also added condition for a future change to location of fog log in windows
- Updated the theme of the docs page to mkdocs material and added a new (work in progress) logo/favicon to the docs page.
(Fun Fact, My 3-year-old helped me make the icon)
Full Changelog: 2303.5.26...2303.5.33