---
# System prepended metadata

title: Teste Pedro Santos
tags: [teste, tutorials]

---


# Teste Pedro Santos

###### tags: `tutorials` `teste`

<h1> :mmc: </h1>

cmd
file | add-remove snap-in
Active Directory Users...
Group Policy Managment
Ok
file | save
nome | guardardestino


************************

# :windows_shell:

importar:
import-module servermanager

visualizar:
get-windowsfeature

instalar:
install-windowsfeature -name web-server -includemanagementtools -restart(opcional)

verificar:
get-windowsfeatue web*


verificar stopped
Get-Service | Where-Object {$_.status -eq "stopped"}

verificar running  (*dhcp ex)
Get-Service *dhcp*

parar serviços:
Stop-Service «nome_serviço»

start serviço
START-Service «nome_serviço»

Exportar a listar p página web
Select-Object Status, name, Displayname | ConvertTo-Html | out-file c:\pag.html

*****************
# :printer:

Server Manager | Add role and services
Print and Documents Service.
Roles Services | Distributed Scan Server & Internet Printing

instalar cutepdf
browse cutpdf writer


Tools | *print management*

![](https://i.imgur.com/LHFAqVv.png) 

![](https://i.imgur.com/CZOp1aJ.png)

![](https://i.imgur.com/3yZJ3x6.png)


