PackageMaker

Gesamt Übersicht allen installierten Packete pkgutil –pkgs Liste allen installierten Files in einem PKG pkgutil –files com.apple.pkg.update.security.2008.002 PKG convertieren pkgutil –expand ISG_Skype.pkg ISG_EXPAND_Skype.pkg pkgutil –flatten ISG_EXPAND_Skype.pkg ISG_Skype.pkg Variablen $0 = Script path («current» path») $1 = Package path $2 = Target location $3 = Target volume Ein pkg aus der command line erstelen (pkgbuild) pkgbuild –component … Read more

Drucker per Skript / Command Line auf Mac OS X anlegen / löschen

neuen Drucker anlegen #!/bin/bash # printerhostname.company.lan # Xerox DocuColor 4 LP PS # Tests to see if printer exists – sidesteps a variable scope issue # Requires the printer name as a parameter. Returns 1 if the printer exists. function printerExists() { if [ $# -ne 1 ]; then echo «Incorrect parameters» return 0 else … Read more

Apple Remote Desktop über Command Line konfigurieren

Ein «Apple Remote Desktop Zugriff» für einen Admin auf einem entfernten Rechner über SSH konfiguriert man wie folgt: sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor -specifiedUsers sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users «admin’s shortname, like admin or localadmin» -privs -all -restart -agent sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate  

ESXi – HP Tools, Smartarray, iLO um HP Server Stati unter vsphere zu monitoren

Installation: Installing Offline Bundles on an vSphere 6.0 Host Using vSphere CLI 6.0 esxcli Utility You can use the esxcli utility in conjunction with offline bundles or with a depot. This topic describes the procedure using offline bundles. This bundle includes the following software versions: hp-smx-provider 600.03.09.00.15-2768847 char-hpcru 6.0.6.14-1OEM.600.0.0.2159203 char-hpilo 600.9.0.2.8-1OEM.600.0.0.2159203 hp-ams 600.10.3.0-15.2494585 hp-esxi-fc-enablement 600.2.4.6-2494585 This is not … Read more

Disable or Enable Windows Automatic updates from command line

If the computers are in a domain, you can configure this setting via Group Policy. Otherwise, you can manually configure the relevant Registry value: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\AUOptions Don’t check Check but don’t download Download but don’t install Download and install  ——- wuauclt.exe /UpdateNow ——- The registry settings that you need to change are placed on HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU. … Read more

Esxi 5.n how can i cancel a file copy in progress

I shut-down a virtual machine and using the data-store browser did a copy/paste to copy the VM to a new datastore with additional space. The file copy performance was very poor, and due to time constraints I decided to cancel the copy task. However the copy task showing in the vsphere client can not be … Read more

Add A Knowledge Base Question !

+ = Verify Human or Spambot ?