Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 293210

Editing .\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

$
0
0

Hi,

 

Is it possible to edit Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 so that all the PowerCLI snapins ("VMware.VimAutomation.Core", "VMware.VimAutomation.License",  "VMware.DeployAutomation", "VMware.ImageBuilder",  "VMware.VimAutomation.Cloud" ) and modules are avaliable by default without having to run the "VMware vSphere PowerCLI" shortcut on the desktop?


The reason I ask is I would like to write vCloud PowerCLI tasks and put them in a .PS1 file and execute them from the native powershell window via a scheduled task or something similar.

 

Thanks


Viewing all articles
Browse latest Browse all 293210

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>