Daily Shaarli
March 5, 2017
Dism++ can be considered as an GUI version of DISM, but it does not depend on MS DISM, and based directly on the lower-level CBS( Component Based Servicing Reference ).
Static
$IP = "192.168.1.101"
$Mask = 24
$Gateway = "192.168.1.1"
$DNS1 = "192.168.1.2"
$DNS2 = "80.67.169.12"
$IPType = "IPv4"
$adapter = Get-NetAdapter | ? {$_.Status -eq "up"}
If (($adapter | Get-NetIPConfiguration).IPv4Address.IPAddress) {
$adapter | Remove-NetIPAddress -AddressFamily $IPType -Confirm:$false
}
If (($adapter | Get-NetIPConfiguration).Ipv4DefaultGateway) {
$adapter | Remove-NetRoute -AddressFamily $IPType -Confirm:$false
}
$adapter | New-NetIPAddress -AddressFamily $IPType -IPAddress $IP -PrefixLength $Mask -DefaultGateway $Gateway
$adapter | Set-DnsClientServerAddress -ServerAddresses ("$DNS1","$DNS2")
DHCP
$IPType = "IPv4"
$adapter = Get-NetAdapter | ? {$_.Status -eq "up"}
$interface = $adapter | Get-NetIPInterface -AddressFamily $IPType
If ($interface.Dhcp -eq "Disabled") {
If (($interface | Get-NetIPConfiguration).Ipv4DefaultGateway) {
$interface | Remove-NetRoute -Confirm:$false
}
$interface | Set-NetIPInterface -DHCP Enabled
$interface | Set-DnsClientServerAddress -ResetServerAddresses
}Repeatable, reboot resilient windows environment installations made easy using Chocolatey packages. When its time to repave either bare metal or virtualized instances, locally or on a remote machine, Boxstarter can automate both trivial and highly complex installations. Compatible with all Windows versions from Windows 7/2008 R2 forward.
DNS, or domain name system, is the internet protocol that turns human readable website names (such as sordum.org) into machine readable numeric addresses. In some cases, you can improve browsing speed and/or improve your security by replacing the DNS provided by your internet service provider. DNS Jumper is a tool which makes this easy for you.
Small and very fast portable launcher and updater for Chromium.
CCExtractor is a tool that produces subtitles from TV use. Global accessibility (all users, all content, all countries) is the goal. With so many different formats, this is a constantly moving target, but we intend to keep up with all sources and formats.
Convert .NET is an integrated, powerful, multi-purpose conversion and developer tool (7-in-1)
Console tool for sysadmins and other peoples who need to autoupdate "hosts" file.
