sourcingnoob.blogg.se

Install rsat tools windows 10 1809 powershell using sccm
Install rsat tools windows 10 1809 powershell using sccm










install rsat tools windows 10 1809 powershell using sccm

You can use the below script for the RSAT install effort via the task.You can write a separate script to create the scheduled task.So, could be considered off-topic for Stackoverflow and more a question for SuperUser or StackExchange.Īll that being said, you can still use PowerShell to do this, but doing so by using PowerShell to set a scheduled task to the targets and set that to the admin creds at run once at login. It's specifically how do I use GPO to enable a Windows feature or install software, using PowerShell? Lastly, this is not a PowerShell code/programming issue and not something PowerShell can fix relative to how you are trying to do this.

install rsat tools windows 10 1809 powershell using sccm

Otherwise, because it's a system-wide change.

  • Installing software is an Admin level thing, local, GPO, or.
  • Is just bad practice and should not be done.
  • Why are you putting credentials in clear text in a script file? That.
  • The goal is to install via GPO Get-ADuser (maybe RSAT) to domain workstations with OS Windows 10 But, it doesn't when I am trying to use it from gpo. Start-Process -FilePath powershell.exe -ArgumentList -credential $CredĪnd from a normal PowerShell window, it works. $Cred = New-Object -ArgumentList $Username,$pass

    install rsat tools windows 10 1809 powershell using sccm

    $pass = ConvertTo-SecureString -AsPlainText $Password -Force So I tried to add credentials in order to automate the installation and changed the script to : $Username = 'domain\domain_adm' Yet when I run it, a message appears asking for elevated privileges. I created a PowerShell script using the following command: Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability –Online My main goal is to use Get-ADuser command as a necessity to gain information from my Windows domain. I am facing a difficulty on installing RSAT to remote windows 10 workstations via gpo.












    Install rsat tools windows 10 1809 powershell using sccm