Search This Blog

Sunday, April 2, 2017

Access Nano Server to Disable Windows Firewall

We are going to temporary disable Windows Firewall on Nano Server.

To start with:-
1. Open Powershell ISE with elevated right (run as administrator)
2. Set the trusted host

Set-Item WSMan:\LocalHost\Client\TrustedHosts "192.168.0.208" 
#Above ip is Nano Server IP 

Set-Item WSMan:\LocalHost\Client\TrustedHosts *
3. Start the session

Enter-PSSession –ComputerName "192.168.0.208" -Credential ~\Administrator
Enter your credential


4. To disable the Windows firewall, enter
netsh advfirewall set allprofiles state off

To enable back,
netsh advfirewall set allprofiles state on

5. To exit the session

Exit-PSSession



5 comments:

  1. Michael Kors Handbags On Sale,
    You can find Michael Kors handbags in many department stores around the country.
    Michael Kors Purses Outlet,
    They are being seen all over the place.
    Michael Kors Bags On Sale,
    There are so many fabulous handbags to fall in love with.
    MK Handbags,
    To find these amazing handbags you can also shop online for all your Michael Kors products.

    ReplyDelete
  2. Uno de los estilos más populares hechos por mk hoy es el Bolsos Michael Kors Rebajas. El Bolsos Michael Kors Baratos es un estilo clásico y funcional que las mujeres aman. Bolsas Michael Kors Outlet de materiales de calidad con artesanía detallada. Con todas estas ventajas, no es de extrañar que los bolsos michael kors baratos sean tan populares. Este bolsos michael kors rebajas es un bolso estilo embrague que es más tradicional en su diseño.

    Denna MK Väska kan bära böcker om du är en student och alla dina hemma arbeten om du har gått in i arbetslivet. Michael Kors Väska Rea gör också en påse stil väska och en swing stil. Väskor Michael Kors Rea har utökat sin linje för att inkludera en mängd tillbehör som inkluderar plånböcker, nyckelkedjor, kortväskor, checkbooköverdrag och kameratäckar. michael kors väska rea erbjuder också en fransk handväska och mini plånbok. michael kors väska har blivit känd som en kvalitetsdesigner som tillverkar en kvalitetsprodukt.

    Posséder un Longchamp Soldes Destockage n'est pas simplement une déclaration de mode. Toute femme intéressée par la qualité, la fonctionnalité et l’accessibilité financière devrait envisager un Sac Longchamp Bandouliere. Sac A Main Pas Cher, l’une des gammes de sacs à main et d’accessoires les plus populaires sur le marché à ce jour, propose une vaste gamme de produits longchamp soldes destockage. Puisque longchamp est si populaire, les sac longchamp pas cher sont souvent copiés.

    ReplyDelete
  3. Ray Ban Sunglasses Sale Uk are prepping for that fashionable holiday.
    Ray Ban Sale Uk are in the savvy eye of the stylish beholder.
    Ray Ban Sunglasses Sale Uk are much cheaper than you would pay in a regular store.
    Sunglasses UK meant for women are slightly different from men' varieties, so when you are choosing sun glasses for the women, you should keep in mind certain factors.
    Oakley Sunglasses Sale are very functional and known as spy sunglasses, because they are meant for recording videos and images.
    Cheap Oakley Sunglasses also offer polarization feature of the lens.

    ReplyDelete