Jump to content


duckman8u2

Established Members
  • Posts

    4
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by duckman8u2

  1. First off, whomever created the script to install SQL...  THANK YOU! THANK YOU! THANK YOU! 

    Second, is there any way to modify that script to separate the SQL Data, SQL Logs, SQL backup, and SQL temp to a different drive?

    C-OSDrive
    D-ProgramFiles
    E-SQLData
    F-SQLLogs
    G-SQLBackups
    T-SQLTemp

    Thank you in advance for any help!

    • Like 1
  2. Yesterday I had to remove the SUP and WSUS from a standalone SCCM 2012 R2 (v1610) server.  After the reinstall of the WSUS (using SQL) and the SUP I went back in to recreate the Groups and Packages, but noticed that nearly all the updates were expired.  After MANY hours of research and learning that the expired updates will be removed after 7 days, I have to ask, if there is a quicker way to removed the expired updates?  The reason I ask is that although some of the updates say they are expired on the server, I still need the updates to fix vulnerabilities.  When I click to download the update I receive "All software updates in the selection are expired or meta-data only, and cannot be downloaded."

    Thank you in advance for any help anyone can assist with.

  3. Hey folks. Need some help here. So far, I have been able to figure out how to export an ISO file from a task sequence using powershell and it works great.

     

    My issue is, the scheduled task that I have setup says that it has run successfully, however, I look in the folder (S:\SourceFiles\Applications\PowerShell\Export-ISOs\) and there is no ISO there.

    I have created a task sequence to start a program to run whether a user is logged on or not and run with the highest privileges. For the Action on the task sequence, I have it start a program (powershell.exe) with the added arguments of "/executionpolicy bypass -file 'S:\SourceFiles\Applications\PowerShell\Export-ISOs\ExportISO-Server2012R2STD.ps1'".

     

    The following is the powershell that exports an ISO file from the task sequence.

    #Set connection to SCCM Server
    Import-Module 'D:\Program Files\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1'
    CD SED:
    #Create ISO
    New-CMTaskSequenceMedia -StandaloneMedia -MediaInputType CdDvd -MediaSize SizeUnlimited -MediaPath "\\ew2ginw5947\SourceFiles\Images\ISO-Files\2012R2\Server2012R2-STD.iso" -ProtectPassword 0 -TaskSequenceId SED00034 -TaskSequenceDistributionPointServerName "ew2ginw5947.soloeng.prv"
    Thanks in advance for any help.
    Rob
    !!UPDATE!!
    On the way home I continued to ponder as to why the PS script would work when I ran it with my cred's and not the cred's I specified on the scheduled task. Hmmm! Cred's...
    Yes, that's right, I specified cred's that the SCCM server did not know.
    Needless to say, I updated the SCCM console and server with the correct cred's for the scheduled task sequence and what do you know... It works.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.