Welcome to the Jocha blog!

Detect and Elevate a PowerShell session

We’ve set out to help a customer with automation within their IT department.
Some daily tasks require an elevated prompt, there is no way around it. But it’s not obvious how to check if the current prompt is elevated, or how to elevate the session. So here is a how-to…

Azure Backup internal error (ID: 130001)

When installing the Azure Backup Agent you need to supply your vault credentials.
If doing so incorrectly you will get the following error…

Display all saved WiFi Passwords

We’ve all been there, wireless passwords tend get lost.

There are several tools to retrieve the missing information, but I strongly believe that the less stuff you download from the web, the safer you are. So why not use the built in functions instead?

Windows 8 can’t find WSUS updates

A customer of mine recently started deploying Windows 8 in their environment. MDT was set up and the deployment was working fine, but after deployment the Windows 8 machines wouldn’t connect to the WSUS server.

When trying to connect to the WSUS-server through the Control Panel I got an error message.

Get Active Directory pictures in Windows 10

We have been working on migrating a customer from Windows 7 over to Windows 10. Our goal is to have Windows 8 and 10 clients pull the pictures from Active Directory to the users local profiles.

Application Installation Error 0x87D00607

Application Installation Error 0x87D00607

I ran into this issue when switching between our production and test environment. If you’re receiving the 0x87D00607 error you are most likely connected to a network/site which does not have a Configuration Manager Boundary or Boundary Group.

SCCM Client Installation Error 53

SCCM Client Installation Error 53

If you’re having trouble deploying the SCCM client and you’re getting Error 53 you should verify that the Client Installation account is local administrator and that Remote administration is turned on.

Password Generator

Password Generator

Security is very important, especially when it comes to IT.
We’ve created a password generating script to assist in making sure we all use high security passwords.

Sending Emails via Powershell

Sending Emails via Powershell

Lately I’ve been setting up a back-end script for one of our customers. The full script creates Domain users, generates passwords and emails the manager/CEO the user information.

This post will only contain the Email function, more functions will be posted later.

SCCM 2012: Create Collections and AD Groups

SCCM 2012: Create Collections and AD Groups

After setting up a new domain and deploying SCCM 2012 I came to realize how much work it actually is to set up new applications.
I have made a script which creates AD groups and Collections.

Convert VBS to Powershell

Convert VBS to Powershell

I’ve always liked VB scripting, but I have officially converted to Powershellism (?!).
If you’d like to convert your old VBS scripts to Powershell check this out…

Printer Problem 0x00000006 and 0x00000002

Printer Problem 0x00000006 and 0x00000002

I started my day troubleshooting a Windows 7 SP1 client which couldn’t install a specific printer. After verifying that the server was not the issue I started looking into the computer configuration…

Actions in Configuration Manager Client

Actions in Configuration Manager Client

Understanding how the Configuration Manager client works is a crucial part of troubleshooting.
Here you will find information about how to retrieve policies from the SCCM server.