Get scope router and scope duration and set it to 1 day

################################################################################# ## ## get scope router and scope duration and set it to 1 day ## Evert-Jan van de Keuken ## Date : 01-02-2017 ## Version : 1.0 ## Email: info@it-solved.nl ################################################################################ #get scope router and scop duration and set is to 1 day $scopes = Get-DhcpServerv4Scope -ComputerName wvs-dhcp01 $lt = New-TimeSpan -Hours 24 foreach …read more →

Create DHCP scopes based on CSV file

Difference between where-object and select-object

The two cmdlets perform very different things. Where-object restricts which objects are returned, for example: Get-Process | Where-Object {$_.Name -eq “WmiPrvSE”} Will only return objects whose name is WmiPrvSE. Now compare to Select-Object, e.g. Get-Process | Select-Object -Property Name, ID Returns the name and process ID for every process. You could put these together: Get-Process …read more →

Powershell – Balloon notification

Powershell – Removing Built-in apps from Windows 10 / Windows 8.1 / Windows 8

https://gallery.technet.microsoft.com/Removing-Built-in-apps-65dc387b#content

Powershell – read remote registry AD computers

Powershell – get last logon timestamp AD users

Powershell – Logging function

Exchange – Enable protocol logging

Use the EAC to enable or disable protocol logging on a Send connector or a Receive connector in the Transport service on a Mailbox server, or on a Receive connector in the Front End Transport service on a Client Access server, do the following: In the EAC, navigate to Mail flow > Send connectors or …read more →