Exchange 2019 Dynamic DLs
It’s a pity but Ex2019 doesn’t have full UI for dynamic DLs. You can’t create custom rules as it was before. You have to do it via PowerShell. Get-DynamicDistributionGroup -Identity managers | fl Set-DynamicDistributionGroup -Identity managers -RecipientContainer “local.com/Container” -RecipientFilter “((((((Title -like ‘Lead‘) -or (Title -like ‘Manager‘))) -and (RecipientType -eq ‘UserMailbox’))) -and -not(UserAccountControl -eq ‘AccountDisabled, NormalAccount’) […]
RDWeb and webclient don’t work cause: Your session ended because an unexpected server authentication certificate was received from the remote PC
The issue appeared after changing the main certificate. All the stuff in the console looked OK but published applications stopped working. This link helped me: http://roundtec.blogspot.com/2019/09/replace-remote-desktop-broker.html The certificate for WebClient must be changed too. Load the RDWebClientManagement-module i PS elevated mode: “Import-Module -Name RDWebClientManagement” Check what certificate the WebClient expects now: “Get-RDWebClientBrokerCert” If this is […]
WinRM doesn’t listen to an IPv4
I couldn’t connect to a PC with WinRM configured. Netstat showed there were no 5985 listening port. winrm qc complained about firewall and public network. I played around but with no success. I checked netsh http show iplist and there were [::] only. So, I added 127.0.0.1 and the IPv4 address. netsh http add iplisten […]
ESXi update from CLI
esxcli network firewall ruleset set -e true -r httpClient esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i ESXi-6.5.0-2020 esxcli software profile update -p ESXi-6.5.0-20170702001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml esxcli network firewall ruleset set -e false -r httpClient
Cisco getting DHCP slow issue
You can use the Interface range command: interface range fa0/1 – 24 spanning-tree portfast Be careful that no switches are connected to ports within the range.
PFSense + Installing packages
You can install packages from the command line: e.g.: pkg install -y pfsense-pkg-stunnel if something blocks it you will see: Updating pfSense-core repository catalogue…pfSense-core repository is up to date.Updating pfSense repository catalogue…pfSense repository is up to date.All repositories are up to date.process with pid 12837 still holds the lock Tnen you can kill it: kill […]
Extend LVM partition in CentOS 7/8 under VmWare
Add more space on the disk in VmWare console. Run cfdisk and check that you see free space after /dev/sda5. In my case there are /dev/sda4 as extended partition and /dev/sda5 as LVM2 partition in extended. Remember start sectors for /dev/sda4 and sda5. Delete /dev/sda5. Don’t worry – your data will be OK. Delete /dev/sda4. […]
IIS + get configuration
get-website | ForEach-Object -Process { $xSite=”IIS:\sites\”+$_.Name cd $xSite $xSite $myWebApp=get-webApplication $myWebApp | Format-Table -AutoSize Path , @{Label= “anonim:” ; Expression = {(Get-WebConfigurationProperty -Filter /system.webServer/security/authentication/anonymousAuthentication -Name Enabled -PSPath $xSite -location $_.Path).value }}, @{Label= “Basic:”; Expression = {(Get-WebConfigurationProperty -Filter /system.webServer/security/authentication/basicAuthentication -Name Enabled -PSPath $xSite -location $_.Path).value }}, @{Label= “ClientCert:”; Expression = {(Get-WebConfigurationProperty -Filter /system.webServer/security/authentication/clientCertificateMappingAuthentication -Name Enabled -PSPath […]