Hi all,
How i can get a list of the VMX files from a specific datastore?
Something like this for example
$dsName = 'MyDS'
$ds = Get-Datastore -Name $dsName
New-PSDrive -Name DS -Location $ds -PSProvider VimDatastore -Root '\' | Out-Null
Get-ChildItem -Path DS: -Filter '*.vmx' -Recurse | select Name,FolderPath
Remove-PSDrive -Name DS
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Really?!?
A manual procedure in a community listed under Automation
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Didnt mean to offend anyone. Just wanted to give him the options.
BTW i am new so mistakes happen.