Giter Club home page Giter Club logo

Comments (4)

brianlic-msft avatar brianlic-msft commented on June 14, 2024

I reached out to the SDN engineering team. I'll post an update here when I hear back.

from windows-powershell-docs.

AnirbanPaul avatar AnirbanPaul commented on June 14, 2024

Hi
I agree that this is challenging. You can do a couple of things:
a. If you look at the "New" cmdlets for each noun, you will see the inputs needed for the resource in the description of "Properties" field and the "Inputs" field.
b. Additionally, if you look at the example, you will find the actual object being used for the Properties, like "Microsoft.Windows.NetworkController.RouteProperties". Enumerating this will also give you the exact properties' names.

We are planning to add the exact property names as well to the cmdlet documentation soon.

Thanks
Anirban

from windows-powershell-docs.

rdbartram avatar rdbartram commented on June 14, 2024

I ended up pulling the NetworkController Module apart and found the definitions for Microsoft.Windows.NetworkController but I guess this is only a list of the options supported by the module not everything supported by the API.

@AnirbanPaul Are there plans to add the property names directly to the cmdlets or just to the documentation. The reason I ask is because I am currently developing a .NET Core module to do the same crud operations but with simpler command syntax. Is there a plan to open source the module so I can contribute rather than me having a completely separate module?

from windows-powershell-docs.

AnirbanPaul avatar AnirbanPaul commented on June 14, 2024

Hi
There is no plan to change the cmdlets at this point. So, to be able to add new resources to the Network Controller, you will have to use the "New" cmdlets in their current form. We are looking to bolster the documentation for this, but for now, you can take a look at the examples in all the "New" cmdlets to understand how you can add/update a resource.

Thanks
Anirban

from windows-powershell-docs.

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.