Hi guys,
Im new in the power cli world !!
Hi guys,
Im new in the powercli world and i need help and read/practice a lot.
I have a problem when a create a task sheduler in W2K8R2 i got an error and the folowwing param is not
recognized by the script when i add the cli add-PSSnapin VMware.VimAutomation.Core
:
param (
[String[]]$vCenters
)
When i remove the script recognize the param !
----------------------------------------------------
add-PSSnapin VMware.VimAutomation.Core
param (
[String[]]$vCenters
)
$fecha = get-date -uFormat "%d%m%y"
I check few posts with people that have the same issue but i dont find the solution.
I need to but a wildcard ?
Many Thanks
Carlos