# If inside vmware install vmware tools (these are just as good as the commercial ones)
sudo apt-get install open-vm-tools open-vm-tools-desktop
# Install git
sudo apt-get install git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum UserRight { | |
SeAssignPrimaryTokenPrivilege # Replace a process level token | |
SeAuditPrivilege # Generate security audits | |
SeBackupPrivilege # Back up files and directories | |
SeBatchLogonRight # Log on as a batch job | |
SeChangeNotifyPrivilege # Bypass traverse checking | |
SeCreateGlobalPrivilege # Create global objects | |
SeCreatePagefilePrivilege # Create a pagefile | |
SeCreatePermanentPrivilege # Create permanent shared objects | |
SeCreateSymbolicLinkPrivilege # Create symbolic links |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function WSUSUpdate { | |
$Criteria = "IsInstalled=0 and Type='Software'" | |
$Searcher = New-Object -ComObject Microsoft.Update.Searcher | |
try { | |
$SearchResult = $Searcher.Search($Criteria).Updates | |
if ($SearchResult.Count -eq 0) { | |
Write-Output "There are no applicable updates." | |
exit | |
} | |
else { |