Powrshell DSC for Secondary/Additional IP

%3CLINGO-SUB%20id%3D%22lingo-sub-1979194%22%20slang%3D%22en-US%22%3EPowrshell%20DSC%20for%20Secondary%2FAdditional%20IP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1979194%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Everyone%2C%3CBR%20%2F%3EI%20am%20creating%20a%20Powershell%20script%20to%20deploy%20the%20configuration%20to%20the%20remote%20server%20using%20Desired%20State%20Configuration%20(%20without%20Pull%20Server)%20for%20Adding%20the%20additional%2FSecondary%20IP%20to%20the%20server%20NIC%20but%20the%20module%20which%20I%20am%20using%20(xNetworking)%20is%20written%20such%20a%20way%20that%20It%20is%20removing%20the%20existing%20IP%20from%20the%20target%20Machine%20and%20then%20set%20the%20new%20IPs%20%2C%20which%20is%20making%20the%20server%20out%20of%20network.%3CBR%20%2F%3ESo%26nbsp%3B%20can%20anyone%20help%20me%20to%20solve%20this%20in%20such%20a%20way%20it%20will%20only%20add%20the%20additional%20IPs%20and%20not%20change%20the%20exiting%20one.%26nbsp%3B%3CBR%20%2F%3EP.%20S.%20it%20needs%20to%20be%20done%20without%20Pull%20server%20only%20pushing%20the%20configuration%20is%20required.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1979194%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDSC%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eipaddress%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ExIPaddress%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ExNetworking%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Hi Everyone,
I am creating a Powershell script to deploy the configuration to the remote server using Desired State Configuration ( without Pull Server) for Adding the additional/Secondary IP to the server NIC but the module which I am using (xNetworking) is written such a way that It is removing the existing IP from the target Machine and then set the new IPs , which is making the server out of network.
So  can anyone help me to solve this in such a way it will only add the additional IPs and not change the exiting one. 
P. S. it needs to be done without Pull server only pushing the configuration is required.

0 Replies