Guest User

Untitled

a guest
Oct 18th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. configuration DemoConfig {
  2.  
  3. Import-DscResource -ModuleName PSDesiredStateConfiguration
  4. Import-DscResource -ModuleName ComputerManagementDSC
  5.  
  6. Node 'localhost' {
  7.  
  8. xDSCFirewall DomainProfileOff
  9. {
  10. Zone = "Domain"
  11. Ensure = "Absent"
  12. }
  13.  
  14. xDSCFirewall PrivateProfileOff
  15. {
  16. Zone = "Private"
  17. Ensure = "Absent"
  18. }
  19.  
  20. xDSCFirewall PublicProfileff
  21. {
  22. Zone = "Public"
  23. Ensure = "Absent"
  24. }
  25.  
  26.  
  27. }
  28.  
  29. }DemoConfig
Add Comment
Please, Sign In to add comment