Quantcast
Channel: SCCM Cuurent Branch Blog
Browsing latest articles
Browse All 57 View Live

SCCM.bat

sccmdotbat

View Article


Powershell Script for Installed driver details to export

param( [string]$outputFile ) $dateTimeString = $(get-date -UFormat '%Y-%m-%d_%T.%S').Replace(':','') if (! ($outputFile)) { $outputFile =...

View Article


event viewer log export by event id

Set-Variable -Name EventAgeDays -Value 1 #we will take events for the latest 7 days Set-Variable -Name CompArr -Value @("$env:COMPUTERNAME") # replace it with your server names Set-Variable -Name...

View Article

OS Installed Date > 10 Days

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join...

View Article

Image may be NSFW.
Clik here to view.

PNP Drivers import using Powershell

$path = $PSScriptRoot $driversCollection = (Get-ChildItem -Path $path -Filter “*.inf” ` -Recurse -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Fullname) foreach($driver In...

View Article


Get Add remove program entries from local or remote machines using Powershell...

Get Add remove program entries from local or remote machines using Powershell in a CSV format- function Get-Uninstall { param([parameter(Mandatory = $true)]$computer) # paths: x86 and x64 registry keys...

View Article

MY PS

$RESGUIDPATH = ‘HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{6C3683DE-A9F3-4BFA-BDF4-337860D52039}’ If((Test-Path $RESGUIDPATH) -eq $true){ $RESGUIDINFO = (Get-ItemProperty...

View Article

Intune Device Enrollment

md c:\\HWID Set-Location c:\\HWID Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted Install-Script -Name Get-WindowsAutoPilotInfo Get-WindowsAutoPilotInfo.ps1 -OutputFile...

View Article


Intune Configuration Backup

https://github.com/ThomasKur/IntuneDocumentation The post Intune Configuration Backup appeared first on SCCM Cuurent Branch Blog.

View Article


Add

The post Add appeared first on SCCM Cuurent Branch Blog.

View Article
Browsing latest articles
Browse All 57 View Live