SCCM

805

Solutions

734

Contributors

Systems Center Configuration Manager (SCCM, formerly known as Systems Management Server) is Microsoft’s system software for managing large groups of not only Microsoft computers, but those running other operating systems, such as Linux, OS-X, and various mobile technologies.

Share tech news, updates, or what's on your mind.

Sign up to Post

Greetings Experts,

I have a PowerShell script that sends an email when the imaging process is completed in MDT.  It also send a notification to my Slack channel.  It works really nice so I would like to incorporate the same script in an SCCM OSD deployment task sequence.  I thought that by simply adding $tsenv = New-Object -COMObject Microsoft.SMS.TSEnvironment at the start of the script would make everything work.  I was wrong!

I am pre-populating all my variables before the script runs.  When I pause the TS I can see all my variables with the correct values.  My goal is to pass my custom (and some default) variables to the PowerShell script.  Any help I can get would be greatly appreciated.

See attached PowerShell script.
TSSendMail.ps1
0
Cloud Class® Course: Amazon Web Services - Basic
LVL 12
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

The vbscript is below.  When I run this from my local system it works beautifully.  I tried deploying it without cscript.exe and with cscript.exe in front of the .vbs file but I get the following errors:

    Prepared working directory: C:\Windows\ccmcache\5      AppEnforce      8/15/2018 4:38:19 PM      3388 (0x0D3C)
Found executable file cscript.exe with complete path C:\Windows\system32\cscript.exe      AppEnforce      8/15/2018 4:38:19 PM      3388 (0x0D3C)
    Prepared command line: "C:\Windows\system32\cscript.exe" Install-CiscoAC-Y-N.vbs      AppEnforce      8/15/2018 4:38:19 PM      3388 (0x0D3C)
    Executing Command line: "C:\Windows\system32\cscript.exe" Install-CiscoAC-Y-N.vbs with user context      AppEnforce      8/15/2018 4:38:19 PM      3388 (0x0D3C)
    Working directory C:\Windows\ccmcache\5      AppEnforce      8/15/2018 4:38:19 PM      3388 (0x0D3C)
    Post install behavior is BasedOnExitCode      AppEnforce      8/15/2018 4:38:19 PM      3388 (0x0D3C)
    Waiting for process 1444 to finish.  Timeout = 60 minutes.      AppEnforce      8/15/2018 4:38:19 PM      3388 (0x0D3C)
    Process 1444 terminated with exitcode: 1      AppEnforce      8/15/2018 4:38:19 PM      3388 (0x0D3C)
    Looking for exit code 1 in exit codes table...      AppEnforce      8/15/2018 4:38:19 PM      3388 (0x0D3C)
    Unmatched exit code (1) is considered an execution failure.      AppEnforce      8/15/2018 4:38:19 PM      3388 (0x0D3C)
++++++ App enforcement completed (0 seconds) for App DT "Install" [ScopeId_8D979019-6A8D-4166-A6B5-7321FD9A126B/DeploymentType_df8b95c0-b12f-4b9c-b456-4e2e8ef52e72], Revision: 12, …
0
I have sccm 2012 server. One of my server can't show software update in software update center
0
Have a potential client with following setup:
3 Node Hyper-V failover cluster.
SCCM Server (Service not running and SCCM DB is offline)
SCOM Server (Service not running and SCOM DB is offline)
SCVMM Server (Service not running and SCOM DB is offline)
DPM - two DPM servers one replicates the other. DPM is online and backuping up the Failover cluster. No issues on DPM as far as I can tell.

As far as I can see SCCM, SCOM, VMM were never confgiured correctly - logs filled with various errors going back years. All these errors stopped one month ago however - reason is the previous IT admin turned off these services (Services stoped, databases not running).

Question - How will DPM react to the other System center services being offline for a month? Are the other System center components required for DPM to continue running correctly.
0
Hello all,

we got a requirement to create 500 collections based on subnets from csv file. these are all query based collections using subnet from csv file. Also they need to be placed into folder based on network speed. network speed has also column in csv file (high, low, medium) next to subnet column.

Is this possible?

thanks
0
Experts,
Deployed  applications stalled on 'waiting to begin installation'  on software manager on a windows 10 client. Please advise how to go about troubleshooting this. Some applications did installed successfully. I am just getting introduced to SCCM and manager console.
0
SCCM2012. Limited experience. I have created a package and deployed. It has been successfully deployed to all DP's its a simple MSI file. When I created the package I captured both x86 and x64, however when I deployed I pointed the install at x64 thinking that will be sufficient but apparently there are 32 bit machines.

So, I have now gone back into properties of my application and have added another deployment type and created the X64 variant. I then added requirements and associated each of the install with its O/S architecture.

I am now expecting this to go out to the 32bit O/S's but noting appears to be happening? As both MSI files were in the original package I didnt think I will need to update push out this change>?


Probably something obvious im not doing....help appreciated.
0
Hi All

I would like to install 2 following apps , the following products will become SCCM applications.

Microsoft Visio 2016 (VLK/enterprise licence /perpetual)
Microsoft Project 2016 (VLK/enterprise licence /perpetual)

these packages must be compatible with the click to run deployment of office 365.

Please advise me how to accomplish this

Thanks in advance
0
Hi Guys,

Our requirement is like need info(details inside) of text file from following location in all machines(almost 500)
C:\temp\layers\status.text
 
Text file is like this :
 
VERIFY LAYERS
LatLonGO: 2018-07-25T13:32:48 INFO: version of layer VIC_LANDBASE is 1
LatLonGO: 2018-07-25T13:32:48 INFO: version of layer ELECTRICITY_LAYER is 356793
LatLonGO: 2018-07-25T13:32:48 INFO: version of layer BACKGROUND_LAYER_ELEC is 2
We need a report based on the content of the file, something like this:
 
 
 
Can you help on this.
1
Hello all,

 I am trying to upgrade windows 10 LTSB to 1709 using sccm task sequence. I want to set bios to uefi.
I added run command line "cmd /c MBR2GPT /convert /disk:0 /AllowFullOS", in the upgrade TS. I am getting error.
Am i doing anything wrong?

Regards
0
Cloud Class® Course: Ruby Fundamentals
LVL 12
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

I'm working on an SCCM application to install VPSX print management software on client machines.
The app was put through Admin Studio.  The Install part of the script runs successfully.  
The software is an .exe file.  It prompts for the user to check a box to accept the companies license agreement, before continuing with the install.

I have the install set to silent, and would like it to run in the background without user involvement.  Is there a way to force check this license checkbox, so that the install continues? Currently, the application runs once deployed in SCCM, but when looking at Task Manager the install .exe just sits there.  I'm assuming it's stuck, waiting for the license box to be checked? Is there a way to code or setting I can check, to force this?  Still getting my feet wet with SCCM/Powershell scripting, etc.

Thanks,
install_license_prompt.jpg
0
Hello all,

I am trying to write a SCCM query that can pull all the required updates for all the machines in my organization. Is there any way to do this.

Regards
0
Hello all,

How to enable UEFI as part of task sequence.

for now I create a step for setBiosmode and in options SMSTSBootUEFI equals true

convert MVR2GPT

Enable UEFI: cctk.exe bootorder --activebootlist=uefi

Restart.

Do I have to do anything else?

regards
0
Hi EE,

I need assistance creating an SCCM Query that will tell me which version and edition of SQL Server each server (that has SQL on it) is running, I have tried severals queries on the internet but since I am running SCCM v5.00.8540.1000 I don't think reflect the current SCCM DB table/object structure:

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
where SMS_R_System.ResourceId in (select distinct SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID
from SMS_G_System_ADD_REMOVE_PROGRAMS where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName = 'Microsoft SQL Server 2012')

Any assistance is welcome.

Thank you
0
Hello Folks,

i'm trying to identify the SCCM site for few computers. I know a local script in powershell would be something like
$SCCMSiteCode = $([WmiClass]"\\localhost\ROOT\ccm:SMS_Client").GetAssignedSite()
$SCCMSiteCode.sSiteCode

Open in new window


however i'm not quiet sure how can I implement it to other PCs remotely. also have to say  "invoke-" is not enabled in my environment

does anybody have any thoughts or other methods?
thanks for looking!
0
Asus Windows setup error
Windows could not parse or process unattend answer file [C:\windows\panther\unattend\unatten.xml] for pass [specialize]. The answer file is invalid.
once click on OK it goes into endless reboot loop.

I have Asus VM65 G078Z which i am trying to image through SCCM.
0
I had an sccm 2012 server that died.  It was a primary site.  My plan is to build a new sccm server from scratch, just like the first one was built.  I am concerned that there may be issues, possibly with remnants of the old sccm server still in active directory.  Is there anything I should do before building a new one?
0
Application repeatedly tries to install Via SCCM . Even though application is showing that it is already installed. How do I resolve this issue?
0
I need to get the list of members from the Administrator group from almost 1000 windows servers and then collect all the output in a spreadsheet for consolidation.

I have tried couple of commands to fetch the report on each server, but the challenging part is to export the report to the network share path because of permission issues as servers are in different network.

Please suggest me a feasible method to achieve the report either through Script or BMC Bladelogic job or SCCM. Thanks!
0
Cloud Class® Course: CompTIA Healthcare IT Tech
LVL 12
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Unable to create a boot image in SCCM. Getting an errror when mapping out the network path: "The specified UNC path does not contain a valid boot image file or you do not have permission to access it. Specify a valid path."

It's not a permissions issue. I've granted that folder with all the permissions it needs to access it.

Even to test further I moved the file into a public folder and it still is giving me that error. Any support would be greatly appreciated.
0
Hello, I'm a brand new Sysadmin setting up SCCM for the first time on a virtual server. I think I have it all setup correctly but I do not know how to setup PXE boot so Computers can just reach out and grab the image.

What I have done is gone to: Administrator > Servers and Site System Roles > Distribution Point

Clicked on the PXE tab and made sure to check mark:

Enable PXE support for Clients

Allow this distribution point to respond to incoming PXE requests

Enable unknown computer support

And I have the radio button selected for Respond to PXE requests on all network interfaces.

So I go to a test computer click on F12 and click the PXE boot option and it just sits there and looks at me. Nothing happens. So what else do I need to do?
0
hello all,

i am trying to create a Query to find out which workstations have particular application shortcut. I mean we want to check which machine have specific application shortcut on their desktop.

regards
0
My team will be performing an SCCM upgrade to 1802.  In the upgrade checklist it says to backup the Site (of course) but also says to:

•Delete Aged Client Operations
•Delete Aged Discovery Data

These are scheduled in the Maintence Tasks section but I don't see a way to run them manually.  I searched quite a bit but have found no way to do this so far.  Does anyone out there know how to run SCCM maintenance tasks manually - on the fly?

Thank you
0
Hello all,

What query should I use to check what updates are needed by client machine?
Is there any way like that?

Regards
Anche
0
I have passion about sccm, any link for test like microsoft doing for test and learn sccm?
0

SCCM

805

Solutions

734

Contributors

Systems Center Configuration Manager (SCCM, formerly known as Systems Management Server) is Microsoft’s system software for managing large groups of not only Microsoft computers, but those running other operating systems, such as Linux, OS-X, and various mobile technologies.

Top Experts In
SCCM
<
Monthly
>