- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Coozybones,
By default, when you run the PowerCLI cmdlet "Connect-VIServer" it tries to use the current user to login.
So I just run Windows scheduled tasks with a service account called something like "svc_CPReport" and give that account read-only access to my vCenter.
That way, you don't have to hardcode a username/password inside the script.
- Marc