Jump to content


Danie

Established Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Danie's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello Windows-Noob Folks, Followed this topic https://www.windows-noob.com/forums/topic/11797-using-powershell-to-apply-task-sequence-variables/ To add the description in AD Computer. What I have done defined as below, 1. Created Powershell Script #Create OSD Task Sequence Environment Object $tsenv = New-Object -COMObject Microsoft.SMS.TSEnvironment #Get the ComputerDescription $strComputerDesc = $tsenv.Value("OSDComputerDesc") #Computer Name $strName = $env:computername #Get PSSession Credentials $strUser = "domain\user" $strPassword = "passw0rd" #Connect to Remote PowerShell Session #Set Active Directory Properties $pw = ConvertTo-SecureString -AsPlainText -Force -String $strPassword $cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList "$strUser", $pw $s = New-PSSession -Computer SERVER -Credential $cred Invoke-Command -Session $s -Script { Import-Module ActiveDirectory } Invoke-Command -Session $s -ScriptBlock { Set-ADComputer -Identity "$using:strname" -Description "$using:strComputerDesc" } 2. Created a Package (Not Program) and uploaded to DP 3. Now, How do I adds this in Task Sequence?? At first, I added as Run PowerShell Script but it won't worked out. Second do I run as Run Command Line and add these line in TS CMD.EXE /C %SYSTEMDRIVE%\windows\system32\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -file .\ADpowershell.ps1 What is the preferred way to do this? Thank you.
  2. Got some Client Logs files but there was no any generic error related to failure of updates. After that simply i ran all the cycles from configuration manager client and updates started installation? How can i initiate the cycles remotely or when second re-evaluation will be running?
  3. Dear All, I have deployed updates to the client machine till deadline reached all machines were in IN PROGRESS and all of them have downloaded the updates, So it was fine up to this but when deadline reached and installation started most of the machine failed to install the updates and appeared in Error state, further digging in to this i saw there were few updates were failed on many machines. One of my client machine on which updates were failed i just click install and installation completed successfully and machine became complaint. So my question is that How these failed update will be installed automatically? Do i have to change any settings in configuration manager to reinstall it? Kindly find attached snapshot for further reference. Waiting for your response.
  4. Hello, Im facing this log entries in DISTMGR.log file. Package 'PAK0002D' is found in active queue, will try it later Package 'PAK0002E' is found in active queue, will try it later Sleep 3600 seconds... Though these packages are not listed in Configmgr packages, i have searched individually in console also in WMI by using WMI query but there is no entry for this package file. But DistMgr.log file continuously prompt these logs. I have attached snapshot for furthure reference.
  5. Hello All, My team lead wants to know from which DP client is downloading the package. As we are going to deploy DP on windows 7 computer in our site which is composed of approx 100 clients.
×
×
  • 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.