Powershell : OpsMgr : SCOM 2012 Prereqs Powershell

Start-Transcript -Path c:transcript0.txt -noclobber# This scripts needs unrestricted accessWrite-Host "This scripts needs unrestricted access (Set-ExecutionPolicy Unrestricted.)" -ForegroundColor GreenWrite-Host "The prereq setup for System Center 2012 R2 Operations Manager takes around 15 minutes depending on your internet speed" -ForegroundColor Green# Setting the variables.$folderpath0 = 'C:Source'$ShareName = "Source$"#Check if folder exists, if not, create itif (Test-Path $folderpath0){Write-Host … Continue reading Powershell : OpsMgr : SCOM 2012 Prereqs Powershell

Advertisements