Collection of Posix tools wrappers.

Minimum PowerShell version


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name nxtools

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name nxtools

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Gael Colas


(c) Microsoft. All rights reserved.

Package Details



linux sysadmin helper


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


nxFile nxGroup nxUser nxPackage nxFileLine nxFileContentReplace nxService nxScript GC_LinuxGroup GC_msid110 GC_msid121 GC_msid232 GC_InstalledApplicationLinux GC_NotInstalledApplicationLinux GC_LinuxLogAnalyticsAgent




This module has no dependencies.

Release Notes

## [1.3.0] - 2023-10-12

### Fixed

- Fixed nxFile not able to delete files.
- Fixed nxService crashing when auditing a service that does not exist.
- Fixed nxUser failing if any users in /etc/passwd have uppercase letters in their username.


Version History

Version Downloads Last updated
1.3.0 (current version) 777 10/12/2023
1.2.0 605 9/8/2023
1.1.0 647 7/18/2023
1.0.0 205 5/25/2023
0.4.0-previe... 110 3/16/2023
0.3.0-previe... 36 3/22/2022
0.2.1-previe... 12 1/13/2022
0.2.1-previe... 9 7/2/2021
0.2.1-previe... 7 7/2/2021
0.2.0 404 5/25/2021
0.2.0-previe... 7 5/24/2021
0.2.0-previe... 12 4/15/2021
0.2.0-previe... 11 4/7/2021
0.1.1-previe... 8 4/7/2021
0.1.1-previe... 14 4/6/2021
0.1.1-previe... 9 4/3/2021
0.1.1-previe... 8 4/3/2021
0.1.1-previe... 9 4/2/2021
Show more