Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, content switching, wmiprvse, uptimeindays' ordered by Date

Disable or Enable SSH on an VMware ESXi host 1.2.25

Using PowerCLI, Connect to vCenter and start or stop the SSH service on a host. Notet that , the computer running this script must have PowerCLI, and vCenter credentails are required during script execution. tags:$HypervisorPlatform="VMware",$SSHenabled
Created: 2019-10-04
Modified: 2019-10-04
Creator: mc
Downloads: 37

Get WMI provider details 2.2.5

Queries the WMI Event Log to show details for a WMI provider running within a WMIPRVSE process tags:wmi, wmiprvse
Created: 2019-05-24
Modified: 2020-06-07
Creator: Matt Reba
Downloads: 39

Schedule reboot 2.5.10

Schedule a reboot for a number of minutes/hours in the future by creating a scheduled task which runs once only. By default the reboot will not occur if there are logged on users or disconnected sessions in existence at the scheduled reboot time. This script will not message users, log them off or prevent further logons from occurring. Arguments: Minutes:hours - the number of hours/minutes in the future at which to schedule the reboot, e.g. 2:30 for 2 hours and 30 minutes in the future (default is 30 minutes) Force - if set to true then the reboot will occur even if there are connected or disconnected user sessions at the time of the reboot (default is false) Reason for Reboot - optional text which be placed in the event log tags:$Uptimeindays,$Uptimeindays>="8"
Created: 2018-09-29
Modified: 2018-12-13
Creator: Guy Leech
Downloads: 66

Retrieve NetScaler Content Switching Binding information 1.0.1

Retrieve NetScaler Content Switching binding information, using the Invoke-RestMethod cmdlet for the REST API calls. tags:NetScaler, Content Switching,
Created: 2018-07-18
Modified: 2018-07-18
Creator: Esther Barthel, MSc
Downloads: 41