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
Upgrade your Question Security!
LVL 12
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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
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
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
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.

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
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
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
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
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
Keep up with what's happening at Experts Exchange!
LVL 12
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Enforcement Unknown state - Set of system repeated coming on ESU state every month, WSUS is reachable and and no errors in the logs as well. Refreshed the compliance state by using script.. still in same state.
0
Hello, I have a task that involves SCCM 2012 R2 re install off wsus and iis as i can no longer access wsus through the console and the MP is no longer processing http requests.

Servers SCCM 2012 R2
Server SCCM01 Pri: 2008 R2 : SQL Database: SUP wsus day
Server SCCM02 MP: OS 2008 R2 : WSUS 3.0 failed:IIS Failed
Server SCCM03 MP: OS 2008 R2 : WSUS 3.0:

In what order do I uninstall WSUS will i have to uninstall the SUP and delete the SUP instance from the sql server then remove WSUS ver 3 with the hot fixes and uninstall IIS then reboot the server and re install.

I have trolled the internet and to no avail have i managed to find a good comprehensive guide I am really not sure in what order to do all this and if i really need to uninstall the sup instance.

Any Help would be really greatly received.
0
I need help to export  two different registery  keys and import after OS is done.
I'm want to use this during refresh deployment usmt sccm tasksequence.


Help will be appreciated

Thanks
0
Hello all,

I have several distribution points, some are pull distribution points. Most of them are working good except three distribution points. they are very slow and its taking ever to download the content. What steps should I take to improve them?

Thanks in Advance
0
I do not have access to the SCCM server ... only the Windows 7 clients. How to fix software center "Waiting to install"? This is a common problem on many clients, but not all.
I have tried:
foreach($i in gwmi -Namespace root/ccm/policy/machine/actualconfig -Class ccm_softwaredistribution -Filter "ADV_AdvertisementID='CS123456'"){$i.delete()}

Open in new window

This only seems to address the applications that were waiting, not the updates.
0
Hi,

Can anyone advice why is the client check result is failed and how to fix it? See attached.
2.jpg
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
>