Script Library

Order by
Showing controlup scripts that tagged 'folder redirection, host' ordered by Date

Redirect URLs to 127.0.0.1 in HOSTS file 1.4.19

This script can be used as a quick way to block access to a URL. The provided URLs (comma separated) are placed in a 'ControlUp' section of the HOSTS file, where they are directed to 127.0.0.1. As a result DNS lookup of these URLs always point to home, essentially preventing access to a website unless you know the IP number. After this the command IPCONFIG /FLUSHDNS is run to clear the DNS cache. tags:ip blocking, hosts
Created: 2020-03-30
Modified: 2020-03-30
Creator: Ton de Vreede
Downloads: 18

Set host state to maintenance 1.4.10

Placing a host in Maintenance will migrate the powerred on VMs to other hosts in the cluster. If the Evacuate switch is passed all offline machines a migrated too. This script will only place a host in Maintenance if the cluster it is part of is DRSFullyAutomated. If the host uses a VSAN and the PowerCLI version is high enough the default VsanEvacuationMode setting will be used. This is only supported with PowerCLI 6 or higher. tags:vsphere,host,maintenance,vmware
Created: 2019-02-21
Modified: 2019-03-31
Creator: Ton de Vreede
Downloads: 25

Show host NIC details 1.1.10

This script will retreive the physical network adapters of the hypervisor machine and output their details tags:vmware, host, nic
Created: 2018-11-25
Modified: 2019-02-10
Creator: Ton de Vreede
Downloads: 109

Find Folder Redirection Errors 2.3.8

This script looks for Folder Redirection errors (Event ID 502) that occurred on the selected managed computer within the last 30 days. tags:FileRedirection, EventLog,folder redirection,group policy
Created: 2017-05-21
Modified: 2019-03-17
Creator: Carl Webster
Downloads: 378

List redirected user folders 4.1.8

Shows which folders are redirected for selected user session/s. tags:Folder Redirection, User Shell Folders, PowerShell, Folder Enumeration,
Created: 2014-06-23
Modified: 2016-06-15
Creator: Zeev Eisenberg
Downloads: 699