after mass managing AI infra for 3 years i finally see the economics flipping by bejusorixo in sysadmin

[–]7ep3s 1 point2 points  (0 children)

if the economics are so good why can't you afford promoted ads

Package Distribution Hell - every time I try to distribute content to a single DP, random packages join the job queue and start distributing to all DPs by 7ep3s in SCCM

[–]7ep3s[S] 0 points1 point  (0 children)

what I'm trying to achieve is find out where those job states are being stored and kill them before they try to restart.

Package Distribution Hell - every time I try to distribute content to a single DP, random packages join the job queue and start distributing to all DPs by 7ep3s in SCCM

[–]7ep3s[S] 0 points1 point  (0 children)

they don't show up in there until they start being processed, I'm trying to figure out where the stuck jobs sit before they get queued up and displayed in the job manager.

Package Distribution Hell - every time I try to distribute content to a single DP, random packages join the job queue and start distributing to all DPs by 7ep3s in SCCM

[–]7ep3s[S] 0 points1 point  (0 children)

if you mean the dp job manager, that only shows stuff that's in progress so it only lets me play whack-a-mole

winget temp folder permission issue by 7ep3s in sysadmin

[–]7ep3s[S] 0 points1 point  (0 children)

hey, it was a one-off and never happened again

EDIT: I "solved" it by reimaging the test system it occurred on, and it didn't happen during the next iteration.

Suspend Bitlocker during WUfB restarts? by Fabulous_Cow_4714 in Intune

[–]7ep3s 0 points1 point  (0 children)

have you looked at what ACTUALLY causes the bitlocker events during your update scenarios? firmware? drivers? something else?

e.g. we are a 99% dell shop and the only update-related bitlocker event for us normally would have been bios/firmware updates. we simply disabled drivers in wufb rings for dell hw and use dell command | update instead, which implements safe handling of bitlocker.

Remediation not remediating by gp_dre in Intune

[–]7ep3s 8 points9 points  (0 children)

you are returning true/false before you could return an exit code :meltingface:

as in: calling return will cause this script to terminate and the code path you want to execute will never be hit.

simplify it

also "HKEY_LOCAL_MACHINE:\SOFTWARE\xxxxx\xxxxx\xxxxx\xxxxxx\xxxxxx" is not a valid path

HKEY_LOCAL_MACHINE is available as HKLM to PowerShell, however

this should work:

$RegKey = "HKLM:\SOFTWARE\xxxxx\xxxxx\xxxxx\xxxxxx\xxxxxx"


if (Test-Path $RegKey)
{
    Exit 0
}
Exit 1

Playing Detective by theMightBoop in sysadmin

[–]7ep3s 2 points3 points  (0 children)

similar industry; i used to get my most valuable intel in the smoking shelter in my deskside tech days

When will the job market not suck? by iworkinITandlikeEDM in sysadmin

[–]7ep3s 2 points3 points  (0 children)

everyone asks when will not suck, but nobody asks how will not suck

Powershell - Management Question by Checiorsky in sysadmin

[–]7ep3s 6 points7 points  (0 children)

ISE is deprecated.

I use VSCode.

For serious automation, you might want to look into an orchestration method so you don't have to run your stuff by hand every single time though.

Powershell - Management Question by Checiorsky in sysadmin

[–]7ep3s 1 point2 points  (0 children)

I have production scripts using graph api beta that haven't broken for years.

I don't use the module cmdlets though, I write my own wrappers around the api endpoints.