dscresourcekit 

By: | 126 downloads | Last Updated: 9/19/2019 | Latest Version: 1.0.0

Create an AD Domain V2 based DFS namespace called software in the domain contoso.com with a three targets on the servers ca-fileserver, ma-fileserver and ny-fileserver. It also creates a IT folder in each namespace.

By: | 124 downloads | Last Updated: 4/3/2019 | Latest Version: 1.0.0

Import public key certificate into Trusted Root store.

By: | 124 downloads | Last Updated: 5/15/2019 | Latest Version: 1.0.0

This configuration sets the machine name to 'Server01' and joins the 'Contoso' domain using the domain controller 'dc1.contoso.com'. Note: this requires an AD credential to join the domain.

By: | 124 downloads | Last Updated: 5/15/2019 | Latest Version: 1.0.0

This example creates a scheduled task called 'Test task Run As Highest Privilege' in the folder task folder 'MyTasks' that starts a new powershell process once. The task will run as the credential passed into the $Credential parameter, running with the highest privileges.

By: | 123 downloads | Last Updated: 4/3/2019 | Latest Version: 1.0.0

Add a new host to the host file.

By: | 123 downloads | Last Updated: 4/3/2019 | Latest Version: 1.0.0

Creates the switch independent Network Team 'HostTeam' using the NIC1 and NIC2 interfaces. It sets the load balacing algorithm to 'HyperVPort'. The config will then wait for the 'HostTeam' to achieve the 'Up' status.

By: | 123 downloads | Last Updated: 4/3/2019 | Latest Version: 1.0.0

Add a net route to the Ethernet interface.

By: | 123 downloads | Last Updated: 5/15/2019 | Latest Version: 1.0.0

This example creates a scheduled task called 'Test task Run As gMSA' in the folder task folder 'MyTasks' that starts a new powershell process once. The task will run as the user passed into the ExecuteAsGMSA parameter.

By: | 123 downloads | Last Updated: 9/19/2019 | Latest Version: 1.0.0

Create an AD Domain V2 based DFS namespace called departments in the domain contoso.com with a single root target on the computer fs_1. Two sub-folders are defined under the departments folder with targets that direct to shares on servers fs_3 and fs_8.

By: | 123 downloads | Last Updated: 9/19/2019 | Latest Version: 1.0.0

Create a DFS Replication Group called Public containing two members, FileServer1 and FileServer2. The Replication Group contains a single folder called Software. A description will be set on the Software folder and it will be set to exclude the directory Temp from replication. The resource group topology is left set to 'Manual' so that the replicat... More info

By: | 122 downloads | Last Updated: 5/15/2019 | Latest Version: 1.0.0

This example will set the computer description.

By: | 121 downloads | Last Updated: 4/3/2019 | Latest Version: 1.0.0

Disable the weak host receive IPv4 setting for the network adapter with alias 'Ethernet'.

By: | 121 downloads | Last Updated: 5/15/2019 | Latest Version: 1.0.0

This example creates a scheduled task called 'TriggerOnServiceFailures' in the folder root folder. The task is delayed by exactly 30 seconds each time. The task will run when an error event 7001 of source Service Control Manager is generated in the system log. When a service crashes, it waits for 30 seconds and then starts a new PowerShell instance... More info

By: | 121 downloads | Last Updated: 5/15/2019 | Latest Version: 1.0.0

This example creates a scheduled task called 'Test task Startup' in the folder task folder 'MyTasks' that starts a new powershell process when the machine is started up repeating every 15 minutes for 8 hours.

By: | 119 downloads | Last Updated: 4/3/2019 | Latest Version: 1.0.0

Remove a host from the hosts file.

By: | 119 downloads | Last Updated: 5/15/2019 | Latest Version: 1.0.0

This configuration will set the computer name to 'Server01' and make it part of 'ContosoWorkgroup' Workgroup.

By: | 119 downloads | Last Updated: 5/15/2019 | Latest Version: 1.0.0

This example creates a scheduled task called 'Test task Daily' in the folder task folder 'MyTasks' that starts a new powershell process every day at 00:00 repeating every 15 minutes for 8 hours. If the task fails it will be restarted after 5 minutes and it will be restarted a maximum of two times. It will only run if the network is connected and wi... More info

By: | 119 downloads | Last Updated: 5/15/2019 | Latest Version: 1.0.0

Example script that sets the application Windows Event Log to mode AutoBackup and logsize to a maximum size of 2048MB with a logfile retention for 10 days and ensure it is enabled.

By: | 118 downloads | Last Updated: 5/15/2019 | Latest Version: 1.0.0

This example will create a scheduled task that will call PowerShell.exe every 15 minutes indefinitely to run a script saved locally. The task will start immediately. The script will be called as the local system account.

By: | 117 downloads | Last Updated: 5/15/2019 | Latest Version: 1.0.0

Example script that sets the application Windows Event Log to a maximum size 4096MB, the logmode to 'Circular' and ensure that it is enabled.