Coder Social home page Coder Social logo

Comments (5)

JoelStuart avatar JoelStuart commented on August 16, 2024

Which version have been reporting problems? Might try to test out the older ones when I get to it.

Looking to check $PSVersionTable.PSVersion at startup, but dont want to pre-terminate for older versions that are still runnable.

from strippy.

cavejay avatar cavejay commented on August 16, 2024

I'll have to do some testing for this. The following have been reported by others during attempted processing:

  • previous versions of Strippy used write-information which was unavailable prior to v5
  • Chris attempted to run Strippy on a client site and the logging code broke somewhere.

My plan was to run with various versions and take note of what failed. v5 is a guaranteed working version and that's what the code has been developed in.

While it is currently untested Strippy should also be perfectly cross platform. While it wasn't the case originally I now make sure to use platform agnostic directory cmdlets

from strippy.

cvidler avatar cvidler commented on August 16, 2024

I've tested Strippy with the linux Powershell distribution, it worked fine, but that was a very old version of Strippy, may need further testing.

from strippy.

cavejay avatar cavejay commented on August 16, 2024

Using the #Requires -version 5.0 comment convention should apparently prevent this script from running in older versions of powershell

from strippy.

cavejay avatar cavejay commented on August 16, 2024

a954581 finally implements this. Not sure why it took so long.

The main-line release of Strippy is now limited to Powershell 5.0 and higher. (unless you remove the first line of the script...)

from strippy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.