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 – get last logon timestamp AD users

Powershell – Logging function

Generalize APP-V 5 for Citrix Provisioning

If you want to use APP-V in combination with Citrix Provisioning (PVS) you need to generalize the system before closing the pvs image. I have written a script that does the generalize every time that the PVS server boots from the network. You can simply add this script to the startup in active directory. What …read more →