Windows Server List Features in Powershell

$domain= ”YOURDOMAIN”$pass=ConvertTo-SecureString -String ‘YOURPASS’ -AsPlainText -Force$creds=New-Object System.Management.Automation.pscredential -ArgumentList $domain, $pass (Get-Content c:\server_list.txt| Foreach{Invoke-Command -ComputerName $_ -Verbose -ScriptBlock{get-windowsfeature |Where-Object{$_.installed -eq $true -and $_.featuretype -eq ‘Role’} |select name, installed -ExcludeProperty subfeatures} -Credential $creds}) | `Format-Table -Property Name, Installed, @{name=’Server Name’;expression={$_.pscomputername}} -AutoSize

Unify Controller

docker create –name=unifi-controller -e PUID=1000 -e PGID=1000 -p 3478:3478/udp -p 10001:10001/udp -p 8080:8080 -p 8443:8443 -v /config –restart unless-stopped linuxserver/unifi-controller Restore the controller from a backup or reconfigure the controller. If the controller is new and not adopted then you…

Read More