NetScaler icon indicating copy to clipboard operation
NetScaler copied to clipboard

Missing Remove-NSSystemFile function

Open julkwiec opened this issue 8 years ago • 2 comments

Expected Behavior

NetScaler module should provide a Remove-NSSystemFile function that, as the name suggests, will delete a given file from NetScaler's filesystem.

Current Behavior

Currently there's no way to delete a system file.

Possible Solution

Self-explanatory 😄

Context

This function is needed to provide complete filesystem control through API calls. Personally I need it to manage SSL certificates installed on the device.

Your Environment

  • Module version used: 1.4.0
  • Operating System and PowerShell version: Windows 10, Powershell 5.1

julkwiec avatar Jul 21 '17 18:07 julkwiec

Hi @julkwiec,

I think it is already there (but in the dev branch): https://github.com/devblackops/NetScaler/blob/dev/NetScaler/Public/Remove-NSSystemFile.ps1

I had the exact same need you had a few months ago.

I'm sorry I did not react sooner, I'm currently on a much needed vacation.

dbroeglin avatar Jul 25 '17 10:07 dbroeglin

I finally got off my butt and merged all the PRs (including #72 from @dbroeglin ) which includes Remove-NSSystemFile. Master and dev branches are in sync as well. v1.5.0 has been pushed to PSGallery with these changes.

devblackops avatar Jul 26 '17 05:07 devblackops