Showing posts with label check. Show all posts
Showing posts with label check. Show all posts

Saturday, 10 September 2016

Run Pre Scan to Avoid Windows 10 Upgrade Failures with SCCM 2012 R2

Avoid Windows 10 Upgrade Failures with SCCM 2012 R2

  • Windows 10 Upgrade is the most done work by SCCM today.
  • All most all organizations wants to upgrade from Window 7 to Windows 10.
  • But there comes the challenge the amount of failures with inplace upgrade is huge.
  • This is because of various reason.
  • One thing that all SCCM admin who are planning to upgrade should do is to run a Compatibility Check before doing the actual upgrade
  • What it does is SCAN the PC which is going to be upgraded and check for any conflicts or failures that are predicted during the upgrade.
  • This test helps you identify the failures before the upgrade and can avoid customer frustration.
  • The Command to Run this test is
SETUP.EXE /Auto Upgrade /Quiet /NoReboot /DynamicUpdate Disable /Compat ScanOnly

  • Happy upgrading

Saturday, 16 April 2016

Test-Connection:Powershell alternate command to Ping is Test-Connection

Powershell alternate command to Ping is Test-Connection



  • Ping is the first network utility that we use to test the connection
  • In Powershell Ping is called Test-Connection
  • It provides the same functionality of Ping

Thursday, 6 August 2015

SCOM 2012 R2 Powershell Command to check if Server is Physical or Virtual

SCOM Powershell Command to check if Server is Physical or Virtual


  • Get-SCOMaccesLicense where DEVICE_ID "Computername"
  • This will give you information whether the server is Virtual or Physical.Its agent managed or Agentless Managed.

Friday, 16 January 2015

VBSCript to check if file exist and update scom

VBSCript to check if file exist and update scom



Dim oAPI, oBag
Set oAPI = CreateObject("MOM.ScriptAPI")
Set oBag = oAPI.CreatePropertyBag()
Set objFSO = CreateObject("Scripting.FileSystemObject")
strFile = "C:\MYFILE.LOG"
If objFSO.FileExists(strFile) Then
Call oBag.AddValue("Status", "OK")
Else
Call oBag.AddValue("Status", "Error")
Call oAPI.Return(oBag)
End If

Saturday, 8 November 2014

How to Check if Powershell is installed on your Computer?

How to Check if Powershell is installed on your Computer?


  • To check if Powershell is installed on your Computer
  • Go to C: Drive and  Click on "Windows" Folder
  • Now click on Sytem32 folder then Click on "WindowsPowerShell" Folder
  • Now depending on the Version of Powershell installed You will se it as v1.0 or v2.0 or v3.0. This tell you what version of Powershell is installed.
  • Now in our case is v1.0. Click on v1.0 folder.
  • You will see a "Powershell.exe". This confirms that Powershell is installed on your system.