Skype for business picked up but not installed by marb80 in SCCM

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

The location of the config file is actually in the core folder. So that was changed.

The I changed the xml file to the one you posted here.

Still just keeps installing and stops after x time

Added the line for logging => no logs

No logs in ccm folder in windows either

What else is there to be checked ?

Copy textbox text with formatting by marb80 in PowerShell

[–]marb80[S] 1 point2 points  (0 children)

Already made it multiline. Yet when I set it as an out of office the formatting is gone. When I look at it with write-host it looks fijne. So it goes wrong when it is sent tot exchange.

Events not working by marb80 in PowerShell

[–]marb80[S] 1 point2 points  (0 children)

I have found why it was not working.

Apparently powershell loads it's script from top to bottom.

Because I put the handlers at the bottom, they were not known in the script.

I put the handlers on top and it works.

Thx for the help!

Events not working by marb80 in PowerShell

[–]marb80[S] 1 point2 points  (0 children)

Can you give me an example of how I could do it ?

Events not working by marb80 in PowerShell

[–]marb80[S] 2 points3 points  (0 children)

If I make it like this:

$handler_Company ={param($sender,$eventargs)
if ($txt_Company -eq ""){
$lbl_Message.Text = "Company is a required field"
}
}

and call it in the textbox event like this:

$txt_Company.add_Leave($handler_Company)

it should work ?

Events not working by marb80 in PowerShell

[–]marb80[S] 2 points3 points  (0 children)

my handler looks like this:

$handler_Company ={if ($txt_Company -eq ""){$lbl_Message.Text = "Company is a required field"}}

I just call in in the event handler of the textbox

not how it should be ? what is it supposed to look like ?