Scripts

11 posts

Using PowerShell with Microsoft Graph to query Intune Devices

What is Microsoft Graph? Microsoft Graph connects resources across Office 365 services. Using https://graph.microsoft.com you can connect to these services and access a wealth of resources, relationships and intelligence. You can read more on Microsoft Graph at https://docs.microsoft.com/en-us/graph/overview How do I use Microsoft Graph? If you have a requirement to […]

Identifying and Updating SCCM Collection Evaluations with PowerShell

I’ve seen this subject discussed and explained very well in other blogs. The following post is my approach and understanding on managing Collection Evaluations using a bit of PowerShell (ok so there is some SQL stuff in here too).  Collection Evaluations A Collection Evaluation occurs on a defined schedule, event […]

O365 – How to add a mail.onmicrosoft.com smtp address using PowerShell

So you are on-boarding user mailboxes to Exchange Online and your user does not have a <domain>.mail.onmicrosoft.com smtp address. STOP. Your mailbox migration will fail without it. (Maybe you know this and this is why you are here 🙂 ) If you used the Exchange Hybrid Configuration Wizard, by default, […]

Signing PowerShell Scripts for an SCCM App Detection Method

In this blog post we will look at signing the PowerShell scripts we use in the “App Detection Method” when distributing apps with ConfigMgr. The PowerShell Execution Policy can be modified in Client Settings to allow ConfigMgr to execute unsigned scripts. If your environment needs to be a bit tighter […]

Office 365 Migration – User Attribute Discovery and Export using Powershell

Identity is key. I cannot emphasise this enough as you begin to move workloads into Exchange Online, SharePoint Online and Skye for Business Online. One of the first pieces of advice you should have been given is the user UPN should match the primary SMTP address. Here is why:- The […]

AppSense Environment Manager Custom Action Script Exit Codes

AppSense Environment Manager Custom Action Script Exit Codes

Hands up, fair cop. In a recent blog post on scripting Internet Explorer Favorites I forgot to mention using script exit codes when I dealt with the custom actions. Any custom script you include in your configuration is always interpreted as completing successfully by the agent on exit unless you specify otherwise in your […]

Adding Corporate Favorite Items to a Users Profile using AppSense Environment Manager

Adding Corporate Favorite Items to a Users Profile using AppSense Environment Manager

Well this is certainly something we wanted to do in our environment. Based on different group memberships and user requirements for different web apps we wanted to post links into the users favorites folders in Internet Explorer. Historically, users managed their own app shortcuts in the Favorites folder but this […]

Mitel-PrairyieFyre-Contact-Center-Client 58-Silent-Install

Mitel/PrairyieFyre Contact Center Client 5.8 Silent Install

Rolling out Windows 7 64bit prompted me to create an installation script for our PrairieFyre Contact Center Client. It is fairly basic, we install some prerequisites, the Contact Center Client (CCC) with the IP address of the server and then do a bit of cleaning up (vcredist is so messy […]