nxtools
0.4.0-preview0001
Collection of Posix tools wrappers.
Minimum PowerShell version
6.2
Installation Options
Owners
Copyright
(c) Microsoft. All rights reserved.
Package Details
Author(s)
- Gael Colas
Tags
Functions
Compress-nxArchive Expand-nxArchive Add-nxFileLine Invoke-nxFileContentReplace Remove-nxFileLine Compare-nxMode Get-nxChildItem Get-nxItem Set-nxGroupOwnership Set-nxMode Set-nxOwner Find-nxAptPackageFromCache Install-nxAptPackage Remove-nxAptPackage Update-nxAptPackageCache Get-nxDpkgPackage Get-nxDpkgPackageInstalled Find-nxYumPackage Get-nxYumPackage Get-nxYumPackageInstalled Install-nxYumPackage Remove-nxYumPackage Find-nxPackage Get-nxPackage Get-nxPackageInstalled Get-nxSupportedPackageType Install-nxPackage Remove-nxPackage Disable-nxService Enable-nxService Get-nxService Restart-nxService Start-nxService Stop-nxService Get-nxDistributionInfo Get-nxKernelInfo Get-nxLSBRelease Add-nxLocalGroupMember Add-nxLocalUserToGroup Disable-nxLocalUser Enable-nxLocalUser Get-nxEtcShadow Get-nxLocalGroup Get-nxLocalUser Get-nxLocalUserMemberOf New-nxLocalGroup New-nxLocalUser Remove-nxLocalGroup Remove-nxLocalGroupMember Remove-nxLocalUser Set-nxLocalGroup Set-nxLocalGroupGID Set-nxLocalGroupMember Set-nxLocalUser
DSCResources
nxFile nxGroup nxUser nxPackage nxFileLine nxFileContentReplace nxService GC_LinuxGroup GC_msid110 GC_msid121 GC_msid232 GC_InstalledApplicationLinux GC_NotInstalledApplicationLinux GC_LinuxLogAnalyticsAgent
PSEditions
Dependencies
This module has no dependencies.
Release Notes
## [0.4.0-preview0001] - 2023-03-16
### Added
- Added KitchenCI tests for the packages on ubuntu-18.04, debian-10, and centos-7.5.
- Added the `Functions` test suite for Kitchen-Pester.
- Added `[nxFileLine]` and `[nxFileContentReplace]` DSC Resources to manage file content.
- Added examples for DSC Resources.
- Added GC Packages to the GitHub release publish step.
- Added cmdlets for Packages:
- `Get-nxPackageInstalled`: Getting the installed package basic info, automatically finding the Package Manager.
- `Get-nxYumPackageInstalled`: Getting the installed yum/rpm package basic info.
- `Get-nxDpkgPackageInstalled`: Getting the installed dpkg/apt package basic info.
- `Get-nxPackage`: Getting the installed package detailed info, automatically finding the Package Manager.
- `Get-nxYumPackage`: Getting the installed yum/rpm package detailed info.
- `Get-nxDpkgPackage`: Getting the installed dpkg/apt package detailed info.
- Added the DSC Resources classes
- `nxUser`
- `nxGroup`
- `nxFile`
- `nxArchive`
- `nxPackage`
- `nxFileLine`
- `nxFileContentReplace`
- Added GC policy config for creating GC packages
- InstalledApplicationLinux
- NotInstalledApplicationLinux
- linuxGroupsMustExclude
- linuxGroupsMustInclude
- msid110
- msid121
- msid232
### Fixed
- Fixed the issue on centos/red hat where the MODE contains a trailing `.`.
- Relying on ModuleVersion from Module manifest.
### Changed
- Setting up official pipeline.
### Removed
- Disabling changelog tests because of the way the private repo fetches and errors on the `git diff`.
FileList
- nxtools.nuspec
- en-US\nxGroup.strings.psd1
- Modules\DscResource.Common\0.14.0\DscResource.Common.psd1
- Modules\DscResource.Common\0.14.0\en-US\about_DscResource.Common.help.txt
- nxtools.psd1
- en-US\nxPackage.strings.psd1
- Modules\DscResource.Common\0.14.0\DscResource.Common.psm1
- Modules\DscResource.Common\0.14.0\en-US\DscResource.Common.strings.psd1
- nxtools.psm1
- en-US\nxtools.strings.psd1
- Modules\PSNativeCmdDevKit\0.1.0\PSNativeCmdDevKit.psd1
- Modules\PSNativeCmdDevKit\0.1.0\en-US\about_PSNativeCmdDevKit.help.txt
- en-US\about_nxtools.help.txt
- en-US\nxUser.strings.psd1
- Modules\PSNativeCmdDevKit\0.1.0\PSNativeCmdDevKit.psm1
- Modules\PSNativeCmdDevKit\0.1.0\en-US\PSNativeCmdDevKit.strings.psd1
- en-US\nxFile.strings.psd1
Version History
Version | Downloads | Last updated |
---|---|---|
1.4.0 | 4,098 | 2/8/2024 |
1.3.0 | 1,530 | 10/12/2023 |
1.2.0 | 611 | 9/8/2023 |
1.1.0 | 663 | 7/18/2023 |
1.0.0 | 214 | 5/25/2023 |
0.4.0-previe... (current version) | 115 | 3/16/2023 |
0.3.0-previe... | 41 | 3/22/2022 |
0.2.1-previe... | 18 | 1/13/2022 |
0.2.1-previe... | 15 | 7/2/2021 |
0.2.1-previe... | 13 | 7/2/2021 |
0.2.0 | 418 | 5/25/2021 |
0.2.0-previe... | 13 | 5/24/2021 |
0.2.0-previe... | 18 | 4/15/2021 |
0.2.0-previe... | 17 | 4/7/2021 |
0.1.1-previe... | 14 | 4/7/2021 |
0.1.1-previe... | 20 | 4/6/2021 |
0.1.1-previe... | 15 | 4/3/2021 |
0.1.1-previe... | 14 | 4/3/2021 |
0.1.1-previe... | 15 | 4/2/2021 |