Sections:
|
VMWare
VMWare Server Tasks to perform
- obtain VM inventory - change power status - change config values - add disks - add memory - take snapshots - revert snapshots Active Directory
Get-AdUser function
WMI
Execute a process remotely using the Win32_Process WMI class
see http://groups.google.com/group/microsoft.public.windows.powershell/msg/95512b83367ab5b3 Misc
Execute PS1 file from CMD
powershell -nologo -command "& {c:\scripts\myps.ps1}" VI SDK powershell code so far:
[reflection.assembly]::loadfrom("$pwd\vimservice.dll") $vimService = new-object vimService $svcRef = new ManagedObjectReference $svcRef.set_type("ServiceInstance") $svcRef.set_value("ServiceInstance") Instantiating an Instance and Opening a User
Session VMTN Discussion Forums: how do i figure out the Web service ...
www.vmware.com/community/thread.jspa?messageID=600... |