How to Find App Bundle ID for iOS Apps

Background Sometimes when working with Intune you will come across settings that require you to supply the App Bundle ID for apps you want to configure.The documentation for Intune has a list of all build-in apps from Apple and can be found here. An example of when this would be required is when you want to configure the Show or Hide Apps (supervised only) or Restricted Apps settings for iOS. Unfortunately there is no way to find the App Bundle ID directly in the App Store without some tricks. Solution When you have an app that you want to add…

0 Comments
Create Powershell GUI with WPF

I recently switched to WPF to create graphical interfaces for my tools.In this post I will show you a very simple way of creating the GUI using Visual Studio. Previously I was using WinForms and creating everything manually and eventually, I got tired of this since it took a lot of time.I've also tried to use Powershell Studio but since that is a product that is not free of charge and WinForms is getting old I felt like this was a good transition.The switch to WPF really sped things up for me and made my tools look really fresh and modern.…

0 Comments
PowerShell – Implicit remoting issue after Windows Update

Implicit remoting issue after Windows Update Today I discovered a problem on my computer when trying to connect to Exchange Online.I was about to add some mailbox permissions in Exchange Online when I was interrupted during the sign in process. Issue When running my script to connect to Exchange Online I was greeted by an error message instead of the usual information.I usually run my script, supply my credentials and continue happily. It looked like this: I was using this a few days ago without any problem so something must have happened recently.This means that it was unable to import the…

0 Comments
Powershell – Connect to Exchange Online

Connect to Exchange Online using powershell I thought that I would share my script to connect to Exchange Online. It is quite simple but is required to be able to work with Exchange Online together with Powershell.This version also uses an URI that supports uploading user photos that are up to 100kb in size.   Solution Copy this code and run it as a script in Powershell ISE. $Credentials = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/?proxymethod=rps -Credential $Credentials -Authentication Basic -AllowRedirection Import-PSSession $Session When running this script you will be prompted for credentials to your Office 365 tenant.Supply…

0 Comments
Unable to apply image during build MDT2013 Update 1

In this post I will explain an issue with ZTIDiskpart that I ran into when trying to deploy Windows 10 with MDT 2013 Update 1. I had just installed MDT 2013 Update 1 along with ADK 10 and I created a brand new deployment share.My goal was to try creating a reference image for Windows 10 to prepare for deployment in my company and for my customers. The only changes I had made to the Task Sequence was to add a step that installed .NET 3.5 prior to running Windows Update.Updating the deployment share and creating the boot iso worked…

0 Comments
Office 365 – A users password is not working

Hi, In my environment there is a DirSync server with password sync, an Active Directory and a tenant for Office 365.Some users had issues logging on to their Outlook and Skype even though they were using the correct information.After some troubleshooting we noticed that the password sync had failed for these users. The first step to figure this out was to change the users password from the Office 365 administration portal.We had no issues logging on with the new password that was created. To solve this we took the following steps.On the DirSync server, open powershell and run Import-Module Dirsync.Run…

0 Comments
Office 365 – Change UPN for an existing user

Hello, Sometimes you might have to change the UPN for a user that has already been synced to the cloud.This can be due to typos during creation, a new surname or similar scenarios. You can change the UPN in the local Active Directory but this will not sync to the cloud with DirSync.This is due to that the UPN in Azure Active Directory is created during the first sync and it will not be changed by any future sync. To resolve this you have to change the value manually using powershell.You need to download and install this Microsoft Online Services…

0 Comments
Desired State Configuration – Start-DscConfiguration job fails.

Hi, When I began pushing out configuration files in my lab environment I encountered an issue.The background job that ran after the command was entered failed. I spent quite some time trying to troubleshoot the firewalls, PSRemoting and other things that came to mind after reading the error messages. However it turned out that it wasn't a configuration error but instead an update that was required. I had to install it on both my Server 2012 R2 and Windows 8.1 nodes. The update in question is KBKB3037315 and it can be found here.After installing it and rebooting the nodes I…

0 Comments
Desired State Configuration – Creating a configuration file for DSC

Hi, Desired State Configuration (DSC) is a new feature that was introduced with PowerShell 4.It enables you to deploy configuration data to clients in or outside your network. In some aspects DSC can be compared to GPO, except that it can be used to configure Linux and Mac clients.Windows support is native but you can download new Resources to use with Linux and Mac. DSC uses a few components to perform the configuration you want.First you need the configuration file that specifies how to identify a node and what that node should do.This file will be used to create a…

0 Comments
Powershell: Add or Remove access rights to shared mailboxes in Exchange 2010.

I had a user that was unable to open existing shared mailboxes in Office 2013.The user had upgraded Office from 2010 and was unable to expand the shared mailboxes afterwards.To solve this we had to reassign permissions to the mailboxes. I used the following command to get a list of mailboxes that the user had access to instead of checking each of them manually. $Users = "username" Get-MailboxPermission -Identity * -ResultSize Unlimited | Where-Object {$_.User -like $User} | select identity,user | Export-Csv c:users.csv I edited the CSV to be imported properly by Import-Csv.When the CSV is ready I used the…

0 Comments