I hereby claim:
- I am ambrosektal on github.
- I am ambrosektal (https://keybase.io/ambrosektal) on keybase.
- I have a public key whose fingerprint is A4D5 9465 CD46 8E1B 30DA 189D F940 D9A2 7D13 A879
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#Source www.cze.cz | |
#This script is tested with "Cisco AnyConnect Secure Mobility Client version 3.1.00495" | |
# Usage: & '.\Cisco_Anyconnect.ps1' [-Server <server name or ip>] [-Group <group>] [-User <user>] [-Password <password>] | |
#Please change following variables | |
#IP address or host name of cisco vpn, Username, Group and Password as parameters | |
param ( | |
[string]$Server = $( Read-Host "Input server, please" ), |
# A simple generator wrapper, not sure if it's good for anything at all. | |
# With basic python threading | |
from threading import Thread | |
try: | |
from queue import Queue | |
except ImportError: | |
from Queue import Queue | |
# Author: Ambrose KTal | |
# Last Updated: 2019-Nov-21 | |
# | |
# # enable the local windows 10 administrator | |
# net user administrator /active:yes | |
# net user administrator * | |
# Enter in a password | |
# Now this will run from invoke-vm | |
# I have added a local admin disable at the end of the gist. | |
# |