Hey LucD, thanks for the reply.
I changed it as per your suggestion, but got exactly the same result.
It created a new 2fTest folder with the vmdk in it.
I dont understand why it works outside the scriptblock!
Hey LucD, thanks for the reply.
I changed it as per your suggestion, but got exactly the same result.
It created a new 2fTest folder with the vmdk in it.
I dont understand why it works outside the scriptblock!
Thank You for your help.
Below line was in my code . and PSOUTPUT is going as NULL. Therefore i am getting the error.
if(psOutput.indexOf("Error In Operation") == -1)
Have you passed Powershell output from Workflow item to another ?
How did you passed the Powershell output ??? I mean the PSOUTPUT Variable that we are passing should be declared as string ??
Like this.
For the user that created the snapshot, you will have to search the events.
See for example Re: snapshot who created it
{
param(
[VMware.Vim.VirtualMachineSnapshotTree]$Snapshot
)
process
{
$snapshot| Select Name, Description, CreateTime
if($Snapshot.ChildSnapshotList.Count-gt0)
{
$Snapshot.ChildSnapshotList|%{
Get-SnapChild-Snapshot $_
}
}
}
}
foreach($vminGet-View-ViewType VirtualMachine -Property Name, Snapshot -Filter @{'Snapshot'=''})
{
$vm.Snapshot.RootSnapshotList|%{
Get-SnapChild-Snapshot $_|
Select @{N='VM';E={$vm.name}},
@{N='Snapshot';E={$_.Name}},
@{N='Description';E={$_.Description}},
@{N='CReated';E={$_.CreateTime}}
}
}
Hello everybody,
I've some troubles configuring ghettoVCB for automatic backup in cron system of my VMware ESXi 6.5 machine...
Actually, I've configured ghettoVCB as good as well and I'm able to backup my virtual machines by starting ghettoVCB via cli but I'm not able to modify the file /var/spool/cron/crontabs/root in order to add instructions to start the shell command: I've change chmod +w to allow modifications but when I try to save the system answers "Operation not permitted"...
Someone else encountered this problem?
Let me know, maybe I'm doing something wrong but I'm not able to understand what...
Best
Max
my script
var output;
var session;
try {
session = host.openSession();
var script = '& "' + powershellscript + '" ' + scriptparameter;
output = session.invokeScript(script);
var psOutput = output.getHostOutput();
System.log(psOutput);
if(psOutput.indexOf("Error In Operation") == -1)
{
isPsExecuted = true;
}
else
{
isPsExecuted = false;
}
} finally {
if (session){
host.closeSession(session.getSessionId());
}
}
Hi All, I have one esxi host and I would like to use vCenter to manage it - in particular, I would like to have update manager. The problem is that I do not want to buy a Windows Server license. I was wondering if is possible to stand up another esxi host in my environment - using free license, just to put the VCSA on it for updating my other licensed esxi instance? I am not sure if the free eSXI would allow me to run VCSA on it? Thanks.
I believe that's possible, but it makes very little sense to stand up a dedicated vCenter to manage one ESXi host for the sole purpose of using Update Manager. Learn how to patch an ESXi host using the command line instead. It eliminates complexity you don't need.
Hi Everyone,
I've been trying to piece together a powercli script that will pull the IP address from each VM in a text file list. I can get as far as polling ALL VM's and displaying to the terminal with this: Get-VM | Select Name, @{N="IP Address";E={@($_.guest.IPAddress[0])}}
The problem though is that I only need a particular set of VM's, not all, and I need to export it to a .csv file. I've been working on it so long with so many variations that now I've just confused myself. Can someone help with the correct syntax? I know I have to use the Export-CSV commandlet but I've had it ask for the object and retun and empty file.
Thanks.
Try something like this.
The names of the VMs can be specified in the .txt file, one name per line.
ForEach-Object-Process {
Get-VM-Name $_| Select Name,@{N="IP Address";E={@($_.guest.IPAddress[0])}}
}|Export-Csv-Path .\report.csv -NoTypeInformation -UseCulture
Hi,
vsphere_client_virgo logs are the vCenter web client logs which record the information regarding web client. Ideally it should not be deleted.
However, you can delete the older ones. Also, vsphere_messaging as well, you can delete the older ones but keep latest one.
Thanks.
Also, the localaccess_host_log files are from 2017, you can go ahead and delete those but I am not sure about what are they for.
I've got the root password reset OK. I still have one vcenter showing as red and when I try and re-enter the password, it says it's expired.. but I've used the same user for all of the vCenters and set them up all about the same time. How would I reset the PW on the vCenter account user for skyline or set it to not expire?
If there's not already a link from within Fusion itself, here is the web page... https://my.vmware.com/group/vmware/info/slug/infrastructure_operations_management/vmware_vcenter_converter_standalone/6_…
Post #25 from nimdach worked for me.
Thanks
Hello Everyone,
I would like to get some guidance about Application Blocking through UEM. What we would like to accomplish is to pack as many applications as we can into Master Image but then use UEM to block usage of them on all users with the exception of the AD group that should be able to use it. We have many in-house applications that run from the root of C drive instead of Program Files directories.
From what I see the first step is to Enable application blocking. After I do that I get the following message:
So to me it means that only programs from those 2 directories will be able to run. Question 1: do I set the condition set here to Domain Users?
Question 2:Then, in order to allow those other applications to run from outside of %Program FIles% can I just simply say to allow C:\* and set it to allow for all and then specify another rule to block a specific application and set the condition set to whoever who is not part of a particular AD group?
Question 3: Is it working like firewall where more specific rule should be on top and all all C:\* should be on the bottom? Or does it not matter?
As a good example I would like to put MS Visio on a Master Image because it is a little bit of a pain to maintain it with it being on appstack and having multiple master images in different pools. Since it is a licensed product we only want to allow specific group of people to have access to it.
Also, I should probably also mention that we use Appvolumes writable profile only and couple of appstacks
Any advice would be much appreciated
Seems more like a limitation on the web interface, Import-Vapp doesn't seem to have a problem with it.
Welcome to the Community,
... it installs but gives the same error
Which error? Please provide details.
Which (exact) processor do you have in your system? Depending on the error message it's either an issue with an unsupported CPU, or maybe just a BIOS setting issue.
See also "System Requirements" at VMware Workstation 15 Pro Release Notes
André
Did you ever solve this problem? I'm seeing the exact same thing. Looked at converge.log and it's stopped at the same place your's was. I successfully did two of these last week following the exact same process and using the same vCenter build so not sure what's going on.