Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Releases: SynEdgy/nxtools_old

v0.2.1-preview0003

13 Jan 19:27
cfdc17a
Compare
Choose a tag to compare
v0.2.1-preview0003 Pre-release
Pre-release

[v0.2.1-preview0003]

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.
  • Update the classes and DSC Resources

  • 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 ..

v0.2.1-preview0002

02 Jul 20:16
84ba524
Compare
Choose a tag to compare
v0.2.1-preview0002 Pre-release
Pre-release

[v0.2.1-preview0002]

Added

  • Added GC Packages to the GH 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.
  • Update the classes and DSC Resources

  • Added GC policy config for creating GC packages

    • InstalledApplicationLinux
    • NotInstalledApplicationLinux
    • linuxGroupsMustExclude
    • linuxGroupsMustInclude
    • msid110
    • msid121
    • msid232

v0.2.0

25 May 19:06
86285dc
Compare
Choose a tag to compare

[v0.2.0]

Added

  • Initial addition of commandd:

    • Get-nxKernelInfo: A simple wrapper around uname -a.
    • Get-nxLinuxStandardBaseRelease: A quick wrap of lsb_release -a command (this lsb_release must be present on the system).
    • Get-nxDistributionInfo: Parsing information found in /etc/*-release.
    • Get-nxItem: Similar to Get-Item for file system provider but on Linux using ls -d.
    • Get-nxChildItem: Similar to Get-ChildItem for the FileSystem provider but on Linux, this will use the ls command.
    • Compare-nxFileSystemMode: An easy way to compare two sets of unix file system permissions.
      You can use a Symbolic notation (rwxrwxrwx), or the numericla permission (777 or 0777).
    • Get-nxLocalUser: Read and parse local users from /etc/passwd.
    • New-nxLocalUser: Create a new Local User using useradd.
    • Set-nxLocalUser: Set the properties of a Local User using usermod.
    • New-nxLocalGroup: Create a new Local Group using groupadd.
    • Get-nxLocalGroup: Read and parse local groups from /etc/group.
    • Set-nxLocalGroup: Set the properties of an existing local group using gpasswd.
    • Get-nxLocalUserMemberOf: Get the groups ([nxLocalGroup[]]) a Local user is member of.
    • Add-nxLocalGroupMember: Add users to a group using gpasswd.
    • Set-nxGroupOwnership: Set the group owning the files and folders using chgrp.
    • Add-nxLocalUserToGroup: Add user to groups using usermod.
    • Set-nxMode: Set files and folder mode (permisisons) using chmod.
    • Set-nxOwner: Set the owner for files and folders (and optionally the group ownership) using chown.
    • Set-nxLocalGroupMember: Set (and replace) the members of an existing group using gpasswd.
    • Remove-nxLocalUser: Delete a Local user using userdel.
    • Remove-nxLocalGroupMember: Removes users from a local group using gpasswd.
    • Remove-nxLocalGroup: Delete a local group using groupdel.
    • Get-nxEtcShadow: Get a user's /etc/shadow entry if it exists.
    • Disable-nxLocalUser: Lock a user's password, Expire its account and replace its Shell to /sbin/nologin.
    • Enable-nxLocalUser: Unlock a user's password, can set the ExpireOn date and replace the Shell from a value from /etc/shells.
    • Compress-nxArchive: Compress files and folders using the tar command.
    • Expand-nxArchive: Uncompress or read files and folder from an archive using the tar command.
  • Supporting Enums and Classes for File System permissions.

    • In order to make interpretation, Comparison, and manipulation of File system permissions easier,
      the module implements a few classes and enum to make that work.
  • DscResource:

    • nxUser: Simple resource to manage [nxLocalUser] accounts.
    • nxGroup: Simple resource to manage [nxLocalGroup] and group members.
    • nxFile: Simple resource to manage [nxItem] (file or directory).

Changed

  • Moved source in subfolders per categories (File/Folders, User/Groups).
  • Testing using Git Tools task (the new GitVersion).

Fixed

  • Fixed the main branch to release from to be main instead of master.
  • Removing the 'Configure winrm' tasks (as we're only running on linux).
  • Added the DocGenerator tasks to build.yaml.
  • Fixed casing to nxtools because I can't change PSGallery package casing.
  • Removing dupplicate files.

v0.2.0-preview0003

24 May 21:33
86285dc
Compare
Choose a tag to compare
v0.2.0-preview0003 Pre-release
Pre-release

[v0.2.0-preview0003]

Added

  • Initial addition of commandd:

    • Get-nxKernelInfo: A simple wrapper around uname -a.
    • Get-nxLinuxStandardBaseRelease: A quick wrap of lsb_release -a command (this lsb_release must be present on the system).
    • Get-nxDistributionInfo: Parsing information found in /etc/*-release.
    • Get-nxItem: Similar to Get-Item for file system provider but on Linux using ls -d.
    • Get-nxChildItem: Similar to Get-ChildItem for the FileSystem provider but on Linux, this will use the ls command.
    • Compare-nxFileSystemMode: An easy way to compare two sets of unix file system permissions.
      You can use a Symbolic notation (rwxrwxrwx), or the numericla permission (777 or 0777).
    • Get-nxLocalUser: Read and parse local users from /etc/passwd.
    • New-nxLocalUser: Create a new Local User using useradd.
    • Set-nxLocalUser: Set the properties of a Local User using usermod.
    • New-nxLocalGroup: Create a new Local Group using groupadd.
    • Get-nxLocalGroup: Read and parse local groups from /etc/group.
    • Set-nxLocalGroup: Set the properties of an existing local group using gpasswd.
    • Get-nxLocalUserMemberOf: Get the groups ([nxLocalGroup[]]) a Local user is member of.
    • Add-nxLocalGroupMember: Add users to a group using gpasswd.
    • Set-nxGroupOwnership: Set the group owning the files and folders using chgrp.
    • Add-nxLocalUserToGroup: Add user to groups using usermod.
    • Set-nxMode: Set files and folder mode (permisisons) using chmod.
    • Set-nxOwner: Set the owner for files and folders (and optionally the group ownership) using chown.
    • Set-nxLocalGroupMember: Set (and replace) the members of an existing group using gpasswd.
    • Remove-nxLocalUser: Delete a Local user using userdel.
    • Remove-nxLocalGroupMember: Removes users from a local group using gpasswd.
    • Remove-nxLocalGroup: Delete a local group using groupdel.
    • Get-nxEtcShadow: Get a user's /etc/shadow entry if it exists.
    • Disable-nxLocalUser: Lock a user's password, Expire its account and replace its Shell to /sbin/nologin.
    • Enable-nxLocalUser: Unlock a user's password, can set the ExpireOn date and replace the Shell from a value from /etc/shells.
    • Compress-nxArchive: Compress files and folders using the tar command.
    • Expand-nxArchive: Uncompress or read files and folder from an archive using the tar command.
  • Supporting Enums and Classes for File System permissions.

    • In order to make interpretation, Comparison, and manipulation of File system permissions easier,
      the module implements a few classes and enum to make that work.
  • DscResource:

    • nxUser: Simple resource to manage [nxLocalUser] accounts.
    • nxGroup: Simple resource to manage [nxLocalGroup] and group members.
    • nxFile: Simple resource to manage [nxItem] (file or directory).

Changed

  • Moved source in subfolders per categories (File/Folders, User/Groups).
  • Testing using Git Tools task (the new GitVersion).

Fixed

  • Fixed the main branch to release from to be main instead of master.
  • Removing the 'Configure winrm' tasks (as we're only running on linux).
  • Added the DocGenerator tasks to build.yaml.
  • Fixed casing to nxtools because I can't change PSGallery package casing.
  • Removing dupplicate files.

v0.2.0-preview0002

15 Apr 07:45
Compare
Choose a tag to compare
v0.2.0-preview0002 Pre-release
Pre-release

[v0.2.0-preview0002]

Added

  • Initial addition of commandd:

    • Get-nxKernelInfo: A simple wrapper around uname -a.
    • Get-nxLinuxStandardBaseRelease: A quick wrap of lsb_release -a command (this lsb_release must be present on the system).
    • Get-nxDistributionInfo: Parsing information found in /etc/*-release.
    • Get-nxItem: Similar to Get-Item for file system provider but on Linux using ls -d.
    • Get-nxChildItem: Similar to Get-ChildItem for the FileSystem provider but on Linux, this will use the ls command.
    • Compare-nxFileSystemMode: An easy way to compare two sets of unix file system permissions.
      You can use a Symbolic notation (rwxrwxrwx), or the numericla permission (777 or 0777).
    • Get-nxLocalUser: Read and parse local users from /etc/passwd.
    • Get-nxLocalGroup: Read and parse local groups from /etc/group.
    • Set-nxMode: Set files and folder mode (permisisons) using chmod.
    • Set-nxOwner: Set the owner for files and folders (and optionally the group ownership) using chown.
    • Set-nxGroupOwnership: Set the group owning the files and folders using chgrp.
    • Get-nxLocalUserMemberOf: Get the groups ([nxLocalGroup[]]) a Local user is member of.
    • New-nxLocalUser: Creates a new Local User using useradd.
    • Add-nxLocalGroupMember: Add a user to a group using useradd.
    • New-nxLocalGroup: Create a new Local Group using groupadd.
    • Set-nxLocalGroup: Set the properties of an existing local group using gpasswd.
    • Set-nxLocalGroupMember: Set (and replace) the members of an existing group using gpasswd.
    • Remove-nxLocalUser: Delete a Local user using userdel.
    • Remove-nxLocalGroupMember: Removes a user from a local group using gpasswd.
    • Remove-nxLocalGroup: Deletes a local group using groupdel.
  • Supporting Enums and Classes for File System permissions.

    • In order to make interpretation, Comparison, and manipulation of File system permissions easier,
      the module implements a few classes and enum to make that work.

Changed

  • Moved source in subfolders per categories (File/Folders, User/Groups).
  • Testing using Git Tools task (the new GitVersion).

Fixed

  • Fixed the main branch to release from to be main instead of master.
  • Removing the 'Configure winrm' tasks (as we're only running on linux).
  • Added the DocGenerator tasks to build.yaml.
  • Fixed casing to nxtools because I can't change PSGallery package casing.
  • Removing dupplicate files.

v0.2.0-preview0001

07 Apr 15:49
Compare
Choose a tag to compare
v0.2.0-preview0001 Pre-release
Pre-release

[v0.2.0-preview0001]

Added

  • Initial addition of commandd:

    • Get-nxKernelInfo: A simple wrapper around uname -a.
    • Get-nxLinuxStandardBaseRelease: A quick wrap of lsb_release -a command (this lsb_release must be present on the system).
    • Get-nxDistributionInfo: Parsing information found in /etc/*-release.
    • Get-nxItem: Similar to Get-Item for file system provider but on Linux using ls -d.
    • Get-nxChildItem: Similar to Get-ChildItem for the FileSystem provider but on Linux, this will use the ls command.
    • Compare-nxFileSystemMode: An easy way to compare two sets of unix file system permissions.
      You can use a Symbolic notation (rwxrwxrwx), or the numericla permission (777 or 0777).
    • Get-nxLocalUser: Read and parse local users from /etc/passwd.
    • Get-nxLocalGroup: Read and parse local groups from /etc/group.
    • Set-nxMode: Set files and folder mode (permisisons) using chmod.
    • Set-nxOwner: Set the owner for files and folders (and optionally the group ownership) using chown.
    • Set-nxGroupOwnership: Set the group owning the files and folders using chgrp.
    • Get-nxLocalUserMemberOf: Get the groups ([nxLocalGroup[]]) a Local user is member of.
  • Supporting Enums and Classes for File System permissions.

    • In order to make interpretation, Comparison, and manipulation of File system permissions easier,
      the module implements a few classes and enum to make that work.

Changed

  • Moved source in subfolders per categories (File/Folders, User/Groups).

Fixed

  • Fixed the main branch to release from to be main instead of master.
  • Removing the 'Configure winrm' tasks (as we're only running on linux).
  • Added the DocGenerator tasks to build.yaml.
  • Fixed casing to nxtools because I can't change PSGallery package casing.
  • Removing dupplicate files.

v0.1.1-preview0005

07 Apr 15:32
428a8fe
Compare
Choose a tag to compare
v0.1.1-preview0005 Pre-release
Pre-release

[v0.1.1-preview0005]

Added

  • Initial addition of commandd:

    • Get-nxKernelInfo: A simple wrapper around uname -a.
    • Get-nxLinuxStandardBaseRelease: A quick wrap of lsb_release -a command (this lsb_release must be present on the system).
    • Get-nxDistributionInfo: Parsing information found in /etc/*-release.
    • Get-nxItem: Similar to Get-Item for file system provider but on Linux using ls -d.
    • Get-nxChildItem: Similar to Get-ChildItem for the FileSystem provider but on Linux, this will use the ls command.
    • Compare-nxFileSystemMode: An easy way to compare two sets of unix file system permissions.
      You can use a Symbolic notation (rwxrwxrwx), or the numericla permission (777 or 0777).
    • Get-nxLocalUser: Read and parse local users from /etc/passwd.
    • Get-nxLocalGroup: Read and parse local groups from /etc/group.
    • Set-nxMode: Set files and folder mode (permisisons) using chmod.
    • Set-nxOwner: Set the owner for files and folders (and optionally the group ownership) using chown.
    • Set-nxGroupOwnership: Set the group owning the files and folders using chgrp.
    • Get-nxLocalUserMemberOf: Get the groups ([nxLocalGroup[]]) a Local user is member of.
  • Supporting Enums and Classes for File System permissions.

    • In order to make interpretation, Comparison, and manipulation of File system permissions easier,
      the module implements a few classes and enum to make that work.

Changed

  • Moved source in subfolders per categories (File/Folders, User/Groups).

Fixed

  • Fixed the main branch to release from to be main instead of master.
  • Removing the 'Configure winrm' tasks (as we're only running on linux).
  • Added the DocGenerator tasks to build.yaml.
  • Fixed casing to nxtools because I can't change PSGallery package casing.

v0.1.1-preview0004

06 Apr 12:19
Compare
Choose a tag to compare
v0.1.1-preview0004 Pre-release
Pre-release

[v0.1.1-preview0004]

Added

  • Initial addition of commandd:

    • Get-nxKernelInfo: A simple wrapper around uname -a.
    • Get-nxLinuxStandardBaseRelease: A quick wrap of lsb_release -a command (this lsb_release must be present on the system).
    • Get-nxDistributionInfo: Parsing information found in /etc/*-release.
    • Get-nxItem: Similar to Get-Item for file system provider but on Linux using ls -d.
    • Get-nxChildItem: Similar to Get-ChildItem for the FileSystem provider but on Linux, this will use the ls command.
    • Compare-nxFileSystemMode: An easy way to compare two sets of unix file system permissions.
      You can use a Symbolic notation (rwxrwxrwx), or the numericla permission (777 or 0777).
    • Get-nxLocalUser: Read and parse local users from /etc/passwd.
    • Get-nxLocalGroup: Read and parse local groups from /etc/group.
    • Set-nxMode: Set files and folder mode (permisisons) using chmod.
    • Set-nxOwner: Set the owner for files and folders (and optionally the group ownership) using chown.
    • Set-nxGroupOwnership: Set the group owning the files and folders using chgrp.
  • Supporting Enums and Classes for File System permissions.

    • In order to make interpretation, Comparison, and manipulation of File system permissions easier,
      the module implements a few classes and enum to make that work.

Fixed

  • Fixed the main branch to release from to be main instead of master.
  • Removing the 'Configure winrm' tasks (as we're only running on linux).
  • Added the DocGenerator tasks to build.yaml.
  • Fixed casing to nxtools because I can't change PSGallery package casing.

v0.1.1-preview0003

03 Apr 22:07
Compare
Choose a tag to compare
v0.1.1-preview0003 Pre-release
Pre-release

[v0.1.1-preview0003]

Added

  • Initial addition of commandd:

    • Get-nxFileSystemChildItem: Similar to Get-ChildItem for the FileSystem provider but on Linux, this will use the ls command.
    • Get-nxLinuxStandardBaseRelease: A quick wrap of lsb_release -a command (this lsb_release must be present on the system).
    • Get-nxOSDistributionInfo: Parsing information found in /etc/*-release.
    • Get-nxKernelInfo: A simple wrapper around uname -a.
    • Compare-nxFileSystemPermission: An easy way to compare two sets of unix file system permissions.
      You can use a Symbolic notation (rwxrwxrwx), or the numericla permission (777 or 0777).
  • Supporting Enums and Classes for File System permissions.

    • In order to make interpretation, Comparison, and manipulation of File system permissions easier,
      the module implements a few classes and enum to make that work.

Fixed

  • Fixed the main branch to release from to be main instead of master.
  • Removing the 'Configure winrm' tasks (as we're only running on linux).
  • Added the DocGenerator tasks to build.yaml.
  • Fixed casing to nxtools because I can't change PSGallery package casing.