Change the Connect-CisServer cmdlet to use Windows integrated logon if no explicit credentials are supplied like connect-viserver does.
When using connect-cisserver from within a scheduled task running as Active Directory domain user one can connect to vcenter without explicit providing credentials, it's automatic using the windows integrated credentials of the user running the ta...