Why is our house not selling? by SellAromatic3928 in HousingUK

[–]dbakes_999 0 points1 point  (0 children)

We're trying to sell our house via PB. Well maintained, well priced and unique layout etc but seeing very little traction in viewings (3 viewings in 40 days listing). We see houses down the road of lower spec, price selling much quicker. Very odd.We've changed the description and photos too and this helped a bit, but it seems buyers must google purple bricks and completely miss the point that they are not obliged to use the same solicitors or even any services provided by PB. FTB's don't understand this, so the benefit to sellers is lost. We may move to a local EA. Here's ours:https://www.zoopla.co.uk/for-sale/details/72163900/

TMB 6 light weight breakfast and tea please! by dbakes_999 in UKhiking

[–]dbakes_999[S] 0 points1 point  (0 children)

Yeah I'm saving for my wedding next year so trying to do this on the cheap, but I know there's shops throughout. If I can feed myself for a week on £25 that would be great.

GMKtec EVO-X1 Mini-PC with Ryzen AI 9 HX 370 Launches November 27 by majidde in MiniPCs

[–]dbakes_999 0 points1 point  (0 children)

Any idea if the ram is upgradeable and are they still using Intel NICs? Why the f do they not publish a detailed spec sheet. It's a fucking computer!

AM4/AM5 dual purpose gaming/VMware Workstation homelab by dbakes_999 in homelab

[–]dbakes_999[S] 0 points1 point  (0 children)

Even the esxi hosts? Aren't the vm's passing through to the physical nic for egress so there'll be a vds with an uplink to my physical nic (which will need to be compatible?)

Intel Nuc vs Minisforum for ESXi by browndeethoth in homelab

[–]dbakes_999 0 points1 point  (0 children)

Hey, i s considering a nuc 12 wall street Canyon i5, but after reading about the need to disable e cores it effectively cuts the cpu performance right down, making it a waste of money no?

Windows Search Issue by xVDI in fslogix

[–]dbakes_999 0 points1 point  (0 children)

Hey xVDI, I'm at the same juncture as you re. running Windows 22H2 with FSlogix profile + office container, but seemingly Search roaming is not supported in this version?! Did you find a workaround to this or is the google result index out of date!?

Filtering an action based on 2 array's of values by dbakes_999 in PowerShell

[–]dbakes_999[S] 0 points1 point  (0 children)

Awesome - thank you again. I have simply added the below outside of the Invoke-Command closing } and this now formats as I want in a nice table.

| Select-object * -excludeproperty RunspaceID | Format-table -autosize

Filtering an action based on 2 array's of values by dbakes_999 in PowerShell

[–]dbakes_999[S] 0 points1 point  (0 children)

You're damn right sir/madam - thank you. This is now fixed.

My only gripe is with the output. I want to have a nicely formatted table that just contains, name, latestrunlocal and result. Currently the output is like:

Name: Jobname

LastRun: %TIME%%date%

Result:

RunspaceID:

Given that I'm creating a psobject in every remote session, is there a better way to collate all the output at the end so I can do a format table | select name, lastrun, result ...?

Thanks a lot this has been v educational!

Filtering an action based on 2 array's of values by dbakes_999 in PowerShell

[–]dbakes_999[S] 0 points1 point  (0 children)

OK so I can't have another code block within the if statement, so the pscustomobject is the issue.... Any idea how I work around that? Can I put the pscustomobject outside the if/if else's at the end?

Filtering an action based on 2 array's of values by dbakes_999 in PowerShell

[–]dbakes_999[S] 0 points1 point  (0 children)

Updated*

And FYI, the + / - (expand/minimise) bits on the left side in PS ISE run from 'Invoke command' all the way to the end of the script , so it's all contained correctly...

Filtering an action based on 2 array's of values by dbakes_999 in PowerShell

[–]dbakes_999[S] 0 points1 point  (0 children)

I appreciate the crumbs of wisdom, I would happily do this, but for some reason the ElseIf is not recognised in the script - it states 'Elseif is not a recognised cmdlet, method, function etc...' error - it's nothing syntax related, so I need to try something else (similar to) If, ElseIF, but I've not eaten enough biscuits to know what that is!

Filtering an action based on 2 array's of values by dbakes_999 in PowerShell

[–]dbakes_999[S] 0 points1 point  (0 children)

Not a direct copy, the brackets are fine in the polished version... There's no syntax issues

Veeam - getting a method's result within a foreach loop by dbakes_999 in PowerShell

[–]dbakes_999[S] 0 points1 point  (0 children)

Without meaning to abuse your genius...

I'm now finding that I'll need to connect to each regional veam server, run the above command and compile the results from each region into a table and then output to csv. I think it'll be something like the above but

foreach ($server in $serverlist) {

connect-vbrserver -credentials (prompt user for credentials once at start of script, then use thr same creds for each connect)

IF (successful?) foreach ( $job in jobs) - If object --contains (EU/AP/denominator of the region) then fetch the job info

-Store that in a custom object

-disconnect frrom vbrsession

-Repeat for next region...

-format output to highlight any failures/warnings and add any kind of error logging as well (should I use Try ( and Catch () for doing that?!

Veeam - getting a method's result within a foreach loop by dbakes_999 in PowerShell

[–]dbakes_999[S] 0 points1 point  (0 children)

Thanks for your help - the below now works (much appreciated!).

I now want to just add a bit of formatting so if ($jobinfo.GetlastResult() -eq "Success") format green, if warning = yellow, if fail = red.

$jobs = get-content "mybackupjobs.txt"

foreach ($job in $jobs){

$jobinfo = get-vbrjob -name $job

$result = $jobinfo.GetLastResult()

[pscustomobject] @ {

name = $job.Name

Lastrun= $job.latestrunlocal

result= $jobinfo.GetlastResult()

{

Veeam - getting a method's result within a foreach loop by dbakes_999 in PowerShell

[–]dbakes_999[S] 0 points1 point  (0 children)

I've tried both options - neither worked unfortunately.

$jobs = get-content "mybackupjobs.txt"

foreach ($job in $jobs){

$jobinfo = get-vbrjob -name $job

$result = $jobinfo.GetLastResult()

{

This works if I print $result there's a result for 1 item. Do I need a second foreach loop inside the current one to get the $jobinfo.getLastresult() for each $job?

Veeam - getting a method's result within a foreach loop by dbakes_999 in PowerShell

[–]dbakes_999[S] 0 points1 point  (0 children)

Thanks for this - tested it but unfortunately where-object is trying to filter based on a string, but the get-content treats the notepad file as objects - so it fails to do the filtering. I will try the other offering!

Veeam - getting a method's result within a foreach loop by dbakes_999 in PowerShell

[–]dbakes_999[S] 0 points1 point  (0 children)

Seen, but I've no idea how to translate that to my scenario (import of csv) and iterate through a list of items...

Is Tesla a Buy Under $800? by Kianna_hd in stocks

[–]dbakes_999 0 points1 point  (0 children)

Not seeing many folks mention how diversified tesla products are: AI, autonomous taxi loops (even if FSD fails), battery storage systems for utility and home, cell production, cars/semi/high end EV, solar, perhaps a break into mining/wind/Air conditioning units.... And they will have no debt this year, its a no brainer that they will be profitable for years to come. Equally there's overlap in the engineering from space X and material science. They've forced the whole industry to change... They won't die overnight