IT Wiki

Category: Powershell

Deploy network printer with Intune

If you are using a print server and you would like to deploy network printers to endpoints you can follow the steps below.

  1. Gather your printer drivers
    Download your specific printer drivers. And save them to a folder.
    In my example I use a Konica printer driver.

    Continue reading

Get list of MSI GUIDS

Get list of MSI GUID of installed applications:

get-wmiobject Win32_Product | Format-Table IdentifyingNumber, Name, LocalPackage -AutoSize

 

How to connect to Office 365 with Powershell

Below the code used to connect to Office 365 with Powershell.

#Ask for O365 Credentials $Credentials = Get-Credential 

#Build session to O365 with specified credentials 
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $Credentials -Authentication Basic -AllowRedirection Import-PSSession $Session

 

© 2025 Van Ooijen

Theme by Anders NorenUp ↑