Difference between revisions of "Windows"
From My Wiki
(Created page with "== Delete HX user == $domain = "Domain_name.com" Get-AddressBookPolicy $domain* | Remove-AddressBookPolicy -Confirm:$false Get-AddressList $domain* | Remove-AddressList -...") |
|||
| Line 35: | Line 35: | ||
| + | == Export IIS bindings == | ||
| + | |||
| + | %windir%\system32\inetsrv\appcmd list site > c:\sites-list.txt | ||
== Links == | == Links == | ||
IIS 8.5 A+ SSL Labs [https://www.hass.de/content/setup-your-iis-ssl-perfect-forward-secrecy-and-tls-12] | IIS 8.5 A+ SSL Labs [https://www.hass.de/content/setup-your-iis-ssl-perfect-forward-secrecy-and-tls-12] | ||
Revision as of 16:19, 11 June 2017
Contents
Delete HX user
$domain = "Domain_name.com" Get-AddressBookPolicy $domain* | Remove-AddressBookPolicy -Confirm:$false Get-AddressList $domain* | Remove-AddressList -Confirm:$false Get-GlobalAddressList $domain* | Remove-GlobalAddressList -Confirm:$false Get-OfflineAddressBook $domain* | Remove-OfflineAddressBook -Confirm:$false
Identify Worker Process in IIS 7.0
- From IIS 7.0 you need you to run IIS Command Tool ( appcmd ) .
- Start > Run > Cmd
- Go To Windows > System32 > Inetsrv
- Run appcmd list wp
Installing terminal licenses server 2012 2008 R2
- In powershell enter the following commands:
$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
$obj.ChangeMode(4)
$obj.SetSpecifiedLicenseServerList("$env:computername")
$obj.GetSpecifiedLicenseServerList()
Remote control windows server 2012
qwinsta mstsc.exe /shadow:sessionID /control /noConsentPrompt
Export IIS bindings
%windir%\system32\inetsrv\appcmd list site > c:\sites-list.txt
Links
IIS 8.5 A+ SSL Labs [1]