PowerShell

PowerShell App Deployment Toolkit – Part 4

How can you work smarter in your application deployment? By asking for the software state or something else on the device, before trying to execute whatever you want to install. We look at the 3 functions to master registry modification. How to use If you did not see the chapter

Continue to read »

Microsoft Intune – Where is my filter used?

Introduction Have you started using the awesome filters in MEM? If the answer to this question is NO, then you should get started and try them out. I did a blog post on how to get started with filters and you can read more here   But what if you

Continue to read »

MEMCM debug in-place upgrade (IPU) using Azure blob

Introduction A couple weeks ago I showed you how to get vital logs from a client without disturbing the user. This blog post will cover how to deal with in-place upgrades that did not go as expected. Now as most people still work from home, it can be difficult to

Continue to read »

MEMCM debug using Azure blob

Introduction Transitioning more and more to modern, many strive to get rid of the classic VPN for their endpoints. As we have more options managing endpoint without building a large and complex infrastructure it become natural to disconnect the traditional access model and build more enterprise applications to authenticate with

Continue to read »

OneDrive Error message 0x80071129

Introduction When we buy license to use office365 services we have lots of collaboration possibilities. One of the great features is OneDrive. OneDrive gives us the possibilities to backup folders like desktop, documents and pictures what makes the life of working on multiple devices much easier. (e.g., some of this

Continue to read »

Microsoft Endpoint Analytics – Proactive remediations

Introduction Proactive remediations in Endpoint analytics will help your organization to fix common issues automatically. Stuff that you know are broken or reoccur can be automated and your helpdesk and Admins will save time. It can also be used for monitoring in your environment, and in this blog post I

Continue to read »

Access to Teams based on our own extension attributes – PowerShell

In the last two post we looked at extending Azure AD with our own attributes http://blog.mindcore.dk/2019/10/azure-ad-extension-attributes.html and how to use this attribute to dynamically grant access to a Microsoft team http://blog.mindcore.dk/2019/10/access-to-teams-based-on-our-own.html. This time we will create the team and dynamic group using PowerShell instead. In order to do this we

Continue to read »

Azure PowerShell Az module

Starting in December 2018, the Azure PowerShell Az module is in general release and now the intended PowerShell module for interacting with Azure. Az offers shorter commands, improved stability, and cross-platform support. Az also offers feature parity and an easy migration path from AzureRM. Az uses the .NET Standard library,

Continue to read »

Multiple PowerShell commands at the same command line

In some situations I want to be able to run 2 or more PowerShell statements on the same line, without using a script (PS1 file). Semicolon can be used to chain Commands in PowerShell. powershell -command get-date;get-host This could for example come in handy in a Task Sequence as shown

Continue to read »

Detect if PowerShell remoting is enabled

In some scenarios I need to now if PowerShell remoting is enabled on the local host, this can be done in many different ways, but this is an easy way to do it: Start PowerShell on the local machine and enter the command Enter-PSSession -ComputerName localhost If PowerShell remoting is

Continue to read »

Get-WmiObject : Retrieving the COM class factory for component with CLSID {xxx} failed due to the following error: 80070005.

I have been writing about this before: http://larslohmann.blogspot.dk/2013/05/cscript-error-can-find-script-engine.html Apparently not only vbscript is affected by this but also PowerShell. Get-WmiObject : Retrieving the COM class factory for component with CLSID {xxx} failed due to the following error: 80070005. The script works outside the task sequence also with alternate credentials and

Continue to read »

Running PowerShell from Task Sequence

I often need to use a PowerShell script in a task Sequence, so in order to do that without any problems I use the following command line: Powershell.exe -noprofile -ExecutionPolicy Bypass -file .Script.ps1   PowerShell.exe Command-Line The Windows PowerShell Profile

Continue to read »

PowerShell versions

Let’s take a closer look on how to identify the powerShell version installed. We can check the version by using $psversiontable or get-host ($psversiontable is first available from version 2.0). Version 1.0 Version 1.0 is available for Windows XP, Windows Server 2003, Windows Vista and Windows Server 2008. http://support.microsoft.com/kb/926139  

Continue to read »

The trust relationship between this workstation and the primary domain failed

You might not be able to logon to your computer and Windows will sat that The trust relationship between this workstation and the primary domain failed. Typical this will mean that the secure channel with the domain is broken, as explained in this post: http://blogs.technet.com/b/asiasupp/archive/2007/01/18/typical-symptoms-when-secure-channel-is-broken.aspx Nowadays we are able to

Continue to read »
Search blog posts
Search
Authors
Modern Workplace consultant and a Microsoft MVP in Enterprise Mobility.

Modern Workplace consultant and a Microsoft MVP in Windows and Devices.

Infrastructure architect with focus on Modern Workplace and Microsoft 365 security.

Cloud & security specialist with focus on Microsoft backend products and cloud technologies.

Cloud & security specialist with focus on Microsoft 365.

Cloud & Security Specialist, with a passion for all things Cybersecurity

Cloud and infrastructure security specialist with background in networking.

Infrastructure architect with focus on design, implementation, migration and consolidation.

Infrastructure consultant with focus on cloud solutions in Office365 and Azure.

Modern workplace and infrastructure architect with a focus on Microsoft 365 and security.

follow us in feedly
Categories

Follow on SoMe