Forum Discussion

10 Replies

    • AB21805's avatar
      AB21805
      Bronze Contributor
      Hi Harm

      This doesnt seem to have worked well I cant tell if its been deployed yet as I am unsure how to check the status of excluded groups for config profiles. I set it to exclude a group containing the test laptop like over an hour ago and the device has checked in with intune aswel several times. Is there a way via powershell to do this instead?
      • You could run a PowerShell script with this content, if you use the normal Scripts pane in Endpoint Manager it will only run once and remove the wireless profile you specify

        netsh wlan delete profile name="SSID that you want to remove" i=*

        Information:

        C:\Users\HarmV> netsh wlan delete profile
        One or more parameters for the command are not correct or missing.

        Usage: delete profile [name=]<string> [[interface=]<string>]

        Parameters:

        Tag Value
        name - Name of the profile to delete.
        interface - Interface name.

        Remarks:

        Remove a wireless network profile from an interface or all interfaces.

        Parameter name is required. It is the name of the profile to be deleted.
        Parameter interface is optional. If it is given then the profile will
        be deleted from specified interface only. If it is omitted then the
        profile will be deleted from all the interfaces that have such a profile.

        Profile name can have wildcard characters and multiple profiles with
        matching name will be removed.

        Examples:

        delete profile name="Profile 1" interface="Wireless Network Connection"
        delete profile name="Profile 1" i=*
    • AB21805's avatar
      AB21805
      Bronze Contributor
      I have just set the test now I will let you know.

Resources