Jump to content


Search the Community

Showing results for tags 'powershell osd 1709'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Cloud
    • Azure
    • Microsoft Intune
    • Office 365
    • Windows 365
  • General Stuff
    • General Chat
    • Events
    • Site News
    • Official Forum Supporters
    • Windows News
    • Suggestion box
    • Jobs
  • MDT, SMS, SCCM, Current Branch &Technical Preview
    • How do I ?
    • Microsoft Deployment Toolkit (MDT)
    • SMS 2003
    • Configuration Manager 2007
    • Configuration Manager 2012
    • System Center Configuration Manager (Current Branch)
    • Packaging
    • scripting
    • Endpoint Protection
  • Windows Client
    • how do I ?
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows Vista
    • Windows XP
    • windows screenshots
  • Windows Server
    • Windows Server General
    • Active Directory
    • Microsoft SQL Server
    • System Center Operations Manager
    • KMS
    • Windows Deployment Services
    • NAP
    • Failover Clustering
    • PKI
    • Hyper V
    • Exchange
    • IIS/apache/web server
    • System Center Data Protection Manager
    • System Center Service Manager
    • System Center App Controller
    • System Center Virtual Machine Manager
    • System Center Orchestrator
    • Lync
    • Application Virtualization
    • Sharepoint
    • WSUS

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests

Found 1 result

  1. dear all, I have a problem with adding a client during osd to a device collection. After install of the os en sccm client we want to add it automatically to a device collection where windows updates are linked to. I ve found a script on the web which we adapted to our needs _____________________________________ $computer = hostname $remotesession = New-PSSession -ComputerName YourSiteServer -ConfigurationName Microsoft.PowerShell32 Invoke-Command -Session $remotesession -ScriptBlock { param($computer) Import-module 'D:\Program Files\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1' Set-Location YourSiteCode: Add-CMDeviceCollectionDirectMembershipRule -CollectionName "YourCollectionName" -ResourceID (Get-CMDevice -Name $computer).ResourceID } -Args $computer Remove-PSSession $remotesession __________________________________ powershell remote connection is enabled on our sccm server, but the execution is blocked by our server. I think we have to set the executionpolicy on our server but which one and which value do we have to set? thank you al
×
×
  • 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.