PowerShell – Return Current User from QUser

Quser.exe, short for Query User, is a utility in the Windows Command Prompt that allows administrators to view information about currently logged-on users. It’s particularly useful in environments with multiple users, such as corporate networks or shared computers. I like to use it, because it just works, and is available on all the Windows computers. Read More …

Batch – Return User Session Information

This will return the user’s session information locally, and remotely. I use this with SCCM and Intune. :: MrNetTek :: eddiejackson.net :: 7/11/2024 :: free for public use :: free to claim as your own @ECHO OFF :: Initialize SETLOCAL enabledelayedexpansion SET tstQUser=false SET tstQWin=false :: Detect Session :: Method 1 quser | find /i Read More …

Windows – Servicing – Company Portal

You can use app package servicing commands to add, remove, and list provisioned app packages (.appx or .appxbundle) in a Windows image. Command to Add Company Portal DISM.EXE /Online /Add-ProvisionedAppxPackage /PackagePath:C:\PathToFile\Microsoft.CompanyPortal_2022.409.807.0_neutral___8wekyb3d8bbwe.AppxBundle /SkipLicense   Notes   DISM App Package (.appx or .appxbundle) Servicing Command-Line Options