Desired State Configuration (DSC) : How to remove it ???

Hello all,
I would agree that DSC is a great feature, but is it me or it is very badly documented ??
Anyhow, what I am looking for is a way to remove a pushed configuration without having to push an "inverse" one.
Is there an official and clean way to do this ?  Is my server doomed to run this DSC config even if it does not require it ? 
Please Microsoft, You need to provide all the tools, not only part of them.
Thanks for any ideas or solutions.
Chantal

-->Is there an official and clean way to do this ?  Is my server doomed to run this DSC config even if it does
not require it ? 
seems no...
how push work... http://blogs.msdn.com/b/powershell/archive/2013/11/26/push-and-pull-configuration-modes.aspx
Best,
Howtodo

Similar Messages

  • Configure Replace (How to remove vlans ? )

    Hello guys.
    As you know we can remove vlans without reload, just with the command "no vlan 1-4094. For example:
    SW1(config)#vlan 15
    SW1(config-vlan)#no vlan 1-4094
    %Default VLAN 1 may not be deleted.
    %Default VLAN 1002 may not be deleted.
    %Default VLAN 1003 may not be deleted.
    %Default VLAN 1004 may not be deleted.
    %Default VLAN 1005 may not be deleted.
    SW1(config)#do sh vlan
    VLAN Name                             Status    Ports
    1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                    Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                    Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                    Fa0/13, Fa0/14, Fa0/15, Fa0/16
                                                    Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                    Fa0/21, Fa0/22, Fa0/23, Fa0/24
                                                    Gi0/1, Gi0/2
    1002 fddi-default                     act/unsup
    1003 trcrf-default                    act/unsup
    1004 fddinet-default                  act/unsup
    1005 trbrf-default                    act/unsup
    As you can see VLAN15 was succesfully removed!
    There is good command to clear our device configuration. #configure replace dir:filename.cfg
    Take a look what happens when we wan't to remove VLANs. Our new configuration ( we will replace running config with this):
    SW1#more flash:config.cfg
    version 15.0
    no service pad
    service timestamps debug datetime localtime
    service timestamps log datetime msec localtime
    service timestamps log uptime
    no service password-encryption
    hostname SW1
    boot-start-marker
    boot-end-marker
    enable password cisco
    no aaa new-model
    clock timezone GMT+2 2
    clock summer-time GMT+2 recurring last Sun Mar 2:00 last Sun Oct 3:00
    system mtu routing 1500
    ip subnet-zero
    vtp mode transparent
    no vlan 2-1000
    end
    When we run "configure replace" command:
    SW1#configure replace flash:config.cfg list force
    <...>
    % Default interface VLAN 1 may not be deleted.
    % Default interface VLAN 1 may not be deleted.
    00:07:26: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
    <...>
    Rollback aborted after 5 passes
    The following commands are failed to apply to the IOS image.
    no interface Vlan1
    <...>
    Mhm, VLAN 1 may not be deleted? That's ok. But why VLAN15 is still there?
    SW1#sh vlan
    VLAN Name                             Status    Ports
    1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                    Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                    Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                    Fa0/13, Fa0/14, Fa0/15, Fa0/16
                                                    Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                    Fa0/21, Fa0/22, Fa0/23, Fa0/24
                                                    Gi0/1, Gi0/2
    15   VLAN0015                         active   
    1002 fddi-default                     act/unsup
    1003 trcrf-default                    act/unsup
    1004 fddinet-default                  act/unsup
    1005 trbrf-default                    act/unsup
    Is it possible to use configure replace command and succesfully remove VLANs? Which command I am missing in my new configuration file?
    Thank you very much for your time and your help!

    This is also interesting. I can't remove VLANs with TCL script too, please take a look guys:
    Switch(tcl)#puts [open "flash:no_vlan.tcl" w+] {
    +>puts [ios_config "no vlan 1-4094" "end"]
    +>}
    Switch(tcl)#tclquit
    Switch#sh vlan
    VLAN Name                             Status    Ports
    1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                    Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                    Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                    Fa0/13, Fa0/14, Fa0/15, Fa0/16
                                                    Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                    Fa0/21, Fa0/22, Fa0/23, Fa0/24
                                                    Gi0/1, Gi0/2
    10   VLAN0010                         active
    1002 fddi-default                     act/unsup
    1003 token-ring-default               act/unsup
    1004 fddinet-default                  act/unsup
    1005 trnet-default                    act/unsup
    Switch#tclsh flash:no_vlan.tcl
    %Default VLAN 1 may not be deleted.
    %Default VLAN 1002 may not be deleted.
    %Default VLAN 1003 may not be deleted.
    %Default VLAN 1004 may not be deleted.
    %Default VLAN 1005 may not be deleted.
    Switch#sh vlan
    VLAN Name                             Status    Ports
    1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                    Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                    Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                    Fa0/13, Fa0/14, Fa0/15, Fa0/16
                                                    Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                    Fa0/21, Fa0/22, Fa0/23, Fa0/24
                                                    Gi0/1, Gi0/2
    10   VLAN0010                         active
    1002 fddi-default                     act/unsup
    1003 token-ring-default               act/unsup
    1004 fddinet-default                  act/unsup
    1005 trnet-default                    act/unsup

  • Java Application in ERROR State not stopable - how to remove?

    Hi,
    I have created a Java Application and published to the HCP Trial. After successful testing I stopped and uninstalled the App and the respective assets (e.g. database Schema) Nevertheless this process was interrupted by the shutdown of the landscape for maintenance 2 days ago. Now the App is visible again in the Cockpit with state "Application Error" - when I try to stop it nothing is happening. If I want to go to the details screen of that application it also does not come up and still shows the table of all the applications.
    As you can only have one started Java Application in the Trial - I am really keen on getting to know how to stop that application to be able to go on with other tests.
    Any Guides - or any possibility to stop/delete the application?
    Thanks in advance,
    Arne

    Hi, here are the screenshots of settings and error:
    (If I change the application name here without changing any other settings I am able to successfully create a new application on the server)

  • How to remove data guard broker configuration when  ORA-16625?

    I setup data guard broker for a standby database. However, we recreate the database and re-setup the standby database. But find the earlier broker configuration still exists. But I cannot remove or disable the configuration or any database within the configuration. When I try to do so I got the error, although all network settings are correct:
    Error: ORA-16625: cannot reach the database
    How to remove the configuration at this stage?
    Thanks for help,

    Hi, I saw same issue when doing switchover testing in my lab environment.prerequisite is primary role and standby role switched and og can be applied without data guard broker.
    Here is the step I resolved the issue
    1)on both primary and standby database
    SQL> alter system set dg_borker_start=false;
    on primary DB:
    SQL>alter system set dg_broker_config_file1='?/dbs/dr1afterswichoverpry.dat';
    SQL>alter system set dg_broker_config_file1='?/dbs/dr2afterswichoverpry.dat';
    on standby DB:
    SQL>alter system set dg_broker_config_file1='?/dbs/dr1afterswichoverstby.dat';
    SQL>alter system set dg_broker_config_file1='?/dbs/dr2afterswichoverstby.dat';
    2) enable dg_borker_start on both primay and sandbby db
    SQL> alter system set dg_borker_start=true;
    3)on primary database to create configuration
    Hope this can help you!
    email: [email protected]

  • How to remove logical standby database configuration cleanly

    Hello,
    We are on RHL with 11.2.0.3 DB version. Due to various unknown reasons we would like to recreate logical standby database and for that purpose I would like to cleanly remove/uninstall/drop LOGICAL STANDBY DATABASE from the DATA GUARD configuration we have.
    The DG setup already has 1 PHYSICAL STANDBY DATABASE which is working fine. PRIM,PHYSICAL, and LOGICAL all are on different HOSTS. Could you please guide or suggest us exact MOS Doc id regarding this? I have found one MOS Doc id which is close enough but its steps include removing dg configuration completely which I don't want. Only Logical Standby database needs to be remove cleanly so that it can be installed again properly.
    We are using GRID CONTROL and DATA GUARD BROKER.
    Bundle of thanks in advance.
    Best Regards

    Hello;
    I would review this Oracle note:
    How to remove a Data Guard Configuration from Primary Database (Doc ID 733794.1)
    Best Regards
    mseberg

  • How to remove Cisco ip inspect (cbac) statements

    Could anyone help me clarify how to remove "ip inspect SDM_LOW out" from a Cisco 2900 router.
    Interface FastEthernet1
     description WAN-Outside
     ip inspect SDM_LOW out
    I would like to remove CBAC completely and just run this router without it.  When removing this command it kills the internet connection.  I understand that when this command is removed that there is no longer an ACL allowing incoming traffic (return traffic) on the outside interface which is why http traffic is blocked.
    But my question is:  On a default router config not using CBAC there is no incoming ACL on the outside interface either.  Why does the internet work in that situation?
    My goal is to remove CBAC and make this router run as a standard NAT/PAT router allowing internet access.
    see attached config
    This topic first appeared in the Spiceworks Community

    Mahesh,
    As Rick stated, those entries are no longer dynamically created, so if you have any traffic that was inspected by the inspect rule, but explicitly denied by the acl, you'll need to modify the acl to now allow that traffic. You will need to take both acls into account when modifying them as to what type of traffic was allowed out/in by the inspect.
    For example, if you have an inspect that inspects http traffic. Your acl may deny all http traffic inbound:
    access-list 100 deny tcp any any eq 80
    access-list 100 permit ip any any
    Your inspect may allow it:
    ip inspect name FW http
    On your interface, you have both:
    int g0/1 (wan interface)
    ip inspect FW out
    ip access-group 100 in
    When someone on the inside needs to get to a web page, a session gets created and it allows the return traffic in even though the acl explicitly denies the http traffic. If you remove the inspects, as Rick noted, those rules don't get created any longer. Now the users would not be able to get to the internet because the acl is explicitly denying traffic coming from port 80 which includes return traffic. You would need to change acl 100 in the example to now allow 80 inbound. This is also why I said you'd need to take a look to see what the inspects were inspecting. If you have any non-standard ports configured, you'd need to take those into account in your acl.
    HTH,
    John

  • How to remove actual XML content from Weather Web Service Client's standard output?

    Hi,
    I tried web service example examples.webservices.rpc.weatherEJB.Weather with WLS6.1,
    it works fine, but on client side, ( either Client or DClient ), I always see
    the actual XML content being sent and received from standard output, like
    "------------- RECEIVING XML -------------", and I can't find any related System.out.println
    statement in client source code, Please explain how to remove it, may there is
    a configurable parameter for this? any help will be highly appreciated.
    Thanks
    Naichen

    Hi Naichen,
    To suppress showing the actual SOAP request and response going to standard out,
    change the following line in the Client.java:
    h.put("weblogic.soap.verbose", "true" );
    to read:
    h.put("weblogic.soap.verbose", "false" );
    Regards,
    Mike Wooten
    "Naichen Liu" <[email protected]> wrote:
    >
    Hi,
    I tried web service example examples.webservices.rpc.weatherEJB.Weather
    with WLS6.1,
    it works fine, but on client side, ( either Client or DClient ), I always
    see
    the actual XML content being sent and received from standard output,
    like
    "------------- RECEIVING XML -------------", and I can't find any related
    System.out.println
    statement in client source code, Please explain how to remove it, may
    there is
    a configurable parameter for this? any help will be highly appreciated.
    Thanks
    Naichen

  • How to Remove JCO Connection Config?

    I have a NW2004s system that will not start. The Message Server and IGS Watchdog are running, but the Dispatcher is in a yellow state.
    The last thing that was done on the server before it was restarted was 2 JCO connections were added. Now the system will not start and I do not know how to remove the JCO connections.
    I cannot find relevant configuration within the Config Tool or the Offline Configuration Editor. I am unable to access the Visual Administrator.
    Any ideas?
    Thanks.
    Paul

    Hi,
    If you created JCO connection, then you can remove as follows
    1>go to Portal URL(Ex:http://102.26.88.65:50100/irj/portal)
    2>Go to content administration ->webdynpro-> Maintain JCo connections ->Remove what ever your JCo conn created.
    or search for the JCO connections you created in search box left -->delete

  • How to remove a particular gadget from windows7 image

    sir how to remove a particular gadget from all other existing gadgets in windows 7sp1 image, can we do it by DISM?

    Hi,
    If the above method doesn't work, you can try pre-configuring sidebar gadgets using unattend.xml, which can be used to override Sidebar default settings.
    To disable Windows sidebar gadgets when windows load, you can configure this following in your unattend.xml.
    <unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Sidebar" publicKeyToken="31bf3856ad364e35" language="neutral"
    versionScope="nonSxS" processorArchitecture="x86">
    <SidebarOnByDefault>false</SidebarOnByDefault>
    </component>
    </settings>
    </unattend>
    For detailed information, you can refer to
    http://blogs.msdn.com/b/sidebar/archive/2007/03/08/pre-configuration-of-sidebar-gadgets-using-unattend-xml.aspx
    Or try customize windows using sysprep tool
    http://www.sevenforums.com/tutorials/286053-system-preparation-tool-use-customize-windows.html
    Andy Altmann
    TechNet Community Support

  • How to remove project customizations

    I have a problem viewing a project file on a particular Project 2007 installation. The problem is the Grant chart is always overlapping the task schedules when the file is launched. However, I don't have this problem when the file is opened on another computer
    or even in the same computer with other user logged on. I believed the problem is the customization the user made to the Project installation but I am not sure how to remove it so that the file can be viewed properly. I tried uninstalling and reinstalling
    project on that computer and it didn't help. Any idea?
    Thansk

    Hello,
    You can reset Project 2007 to it's vanilla configuration with the following steps:
    Log in as the affected user
    Ensure the users folder options are set to "Show hidden files and folders"
    Ensure MS Project is closed
    Assuming your using Windows 7, navigate to C:\Users\[username]\AppData\Roaming\Microsoft\MS Project\12\1033"
    Rename the file "Global.mpt" as "Old Global.mpt"
    Restart MS Project
    RESULT: Project 2007 will now have reverted back to its vanilla state.
    Largely the same for 2010, except there are some settings that are no longer contained within the global, such as the ribbon, and some of the project options settings.
    Hope that helps,
    Andrew

  • How to remove blank lines in the end of list .

    hi,
    in a complex report ,when there are only 20 pages,and linecount is 65(2) ,in the last page only 27 lines are filled and data is completed.then blank lines are printing from 27th line to 63 line.then end of page is triggering.
    so plz help me how to remove the blank lines here and immediately print the endof page.

    Hi,
    will this work for you.
    SET BLANK LINES OFF.
    These statements allow you to specify whether you want to output blank lines or not. Use SET BLANK LINES ON to output blank lines or SET BLANK LINES OFF to suppress them.
    Regards
    Viswanath Babu

  • How to remove the Options and Task from the toolbar

    In the FLM portal initially we can see 'Options' in the menu bar after we log in. Below it there is 'Tasks' and 'Reports'. on clicking 'Tasks' and new menu bar 'Tasks' can be seen, under which 'New Tasks' option is there. When we click on 'New Forms' it shows the list of forms and when we select the desired form it opens the interactive form.
    My problem is when this form is opened on the header the 'Options' and 'Tasks' bar can be seen, under which the adobe menu bar comes (Print, Save, Zoom etc.) . This 'Options' and 'Tasks'  how to remove from the interactive forms page.
    Edited by: NIKHILKUMAR POOJARI on Feb 13, 2009 4:24 PM

    Dear Mano,
    By using Authorizations you can remove the Drag and Relate Menu
    Goto Administration ---> System Initialization -
    > Authorization -
    > General Authorization
    General -
    > Drag & Relate -
    > No authorization
    Regarding Authorizations, click the below link to get details
    [Define Authorizations|https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_HIER_KEY=701100035871000437965&_OBJECT=011000358700000481572006E&_SCENARIO=01100035870000000183&]
    Regards,
    Bala

  • How to remove the standard Exit and Help buttons from the iviews

    Hi All,
    We migrated the ESS application from standalone ITS based on 4.6c to ECC 6 based Integrated one.  After converting that into ICF service and when we created the iview for it in the portal(EP 7)  It is showing two hyperlink items EXIT and HELP by default at the top of every iview.  So, Can anybody tell me how to remove them from visibility.
    And also, the iviews are not showing the table grids etc in the integrated environment.  Is there any change that need to be done, for getting the table grids and all to look as it is in the previous envoronment.
    Thanks & Regards,
    Ravi

    Hello Ravi,
    You should be aware that many of the ESS transaction are not supported on the Integrated ITS, see note 870126 for more details.
    To remove the "Exit" and "Help" you can use the ~webgui_simple_toolbar parameter, please see note 1010519. 
    Some tables have an option to show the gridlines or not.  Please see if there is a table options icon in the upper right of the table to change the configuration.  I'm not sure if what kind of table you're referring to so it may or may not be available.
    Edgar

  • How to remove credit card details? "None" option not there.

    I have read discussions on how to remove your credit card because I recently deactivated it, however supposedly there is a "None" option to press to take your credit card off, however it does not appear on my computer. I live in the united states. please help

    You can change your billing info to another card if you'd like. Otherwise, you can also redeem a gift card as you had asked.
    Apple ID's aren't associated with iPods.  If you want to set up an start using a new Apple ID on your iPod, you can head to Settings -> Store and tap Sign Out. Then sign in with your new account.
    Keep in mind that all previous purchases made with the old ID are permanently attached to that ID.  So if you have an app with an update that was purchased with the old ID, you'll need to use the old ID credentials to update it.
    B-rock

  • How to remove options in context menu of the task in UWL.

    Hi,
    How to remove options or customize the context menu of the task in UWL.
    I have 4 options(Edit,Remove,Forward,Resubmit) is appearing in the context menu.
    My requirement is to delete Forward option form the menu list and only 3 options
    should appear in the list.
    Can anybody suggest where to change?
    Thanks,
    Vikas

    Hi vikas,
    Go to System Admin ->System Config->UWL Admin.
    select your system alias.
    Click on Click to Click to Administrate Item Types and View Definitions.
    Select your UWL configuration.
    Download DTD as well as XML file through Download Configuration.
    Then you can edit the xml file using XML spy editor or anyone.
    to upload go back to the same page and select the tab...Upload new configuration.
    Do not forget to clear the cache after upload.
    Hope this helps you.
    Regards
    Atul Shrivastava

Maybe you are looking for

  • Album more expensive than sum of tracks

    I've found that with some albums, the album is more expensive than all the individual tracks together. For example, take Staind's new album: http://music.ovi.com/za/en/pc/Product/Staind/Staind/19390411 Note: I can only see the South African pricing -

  • Focusing a field/column in the new row of adf table

    Hi all,      I am using JDeveloper 11.1.2.4.0. and UI-Shell Template in Main application and sub applications are added to this master application as ADF library jar files. Application is working fine. I am trying to focus to make focus on a column i

  • Mac Mini Server no login screen but server is running

    Folks, I am facing a very strange issue with my Mac Mini Server (Mavericks 10.9.5, latest Server.app). It started as the inability to see my Firewire external drive. So I took the whole thing on my table and simulated the problem, after connecting a

  • Itunes 11 will not download

    itunes 11.  Whenever I open itunes it attempts a whole lot of updates, including itunes 11.  However, it gets stuck on the first download, "Files shared by these updates".  It downloads 19.2 mb of a 20.47 mb update, and wont go any further.  Anyone e

  • SS7 to 8i on NT (Text to Long)

    When I map the SQL Server Text columns to and Oracle CLOB or Varchar2 type everything works like a charm. When I map from SS7 Text to Oracle Long the migration workbench constantly crashes! Half of the time with an 6fbf6ener7cx error :] the other hal