SCCM 2012 - Creating a Collection with Limiting memebers to 5 or 10 Computers even the Memebership Query can pull 1000 members

Dear Brothers,
I am deploying a huge application (requires 45 Minutes to Install, 3 to 5 Restarts), and I need to limit the deployment to 5 computers at a time. Limiting my Network Load and also the availability of the computers in operation as it requires a successive
Restart.
My aim is to "Create" a "Collection" to focus on deploying the software to
5 computers at a time. The collection that limits to 5 computers can help our production environment to focus on the total deployment time without disturbing other computers.
Regards,

I would use powershell to do this. Create a Collection with all the computers that should get the application.
Then in powershell - get all the members of that Collection into a variable. Use that variable as a basis for creating new Collection and create some logic that takes 5-10 machines and put those into a new Collection and then takes the next 5-10 machines
and so on.
I guess you could also do it using a combination of Query and Exclude Collections membership rules, but you would have to do it manually.

Similar Messages

  • XML Schema Collection (SQL Server 2012): Complex Schema Collection with Attribute - Should xs or xsd be used in the coding?

    Hi all,
    I just got a copy of the book "Pro SQL Server 2008 XML" written by Michael Coles (published by Apress) and try to learn the XML Schema Collection in my SQL Server 2012 Management Studio (SSMS2012). I studied Chapter 4 XML Collection of the book
    and executed the following code of Listing 4-8 Complex Schema with Attribute:
    -- Pro SQL Server 2008 XML by Michael Coles (Apress)
    -- Listing04-08.sql Complex XML Schema with Attribute
    -- shcColes04-08.sql saved in C:\\Documents\XML_SQL_Server2008_code_Coles_Apress
    -- 6 April 2015 8:00 PM
    CREATE XML SCHEMA COLLECTION dbo.ComplexTestSchemaCollection_attribute
    AS
    N'<?xml version="1.0"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="item">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="name" />
    <xs:element name="color" />
    <xs:group ref="id-price" />
    <xs:group ref="size-group" />
    </xs:sequence>
    <xs:attribute name="id" />
    <xs:attribute name="number" />
    </xs:complexType>
    </xs:element>
    <xs:group name="id-price">
    <xs:choice>
    <xs:element name="list-price" />
    <xs:element name="standard-cost" />
    </xs:choice>
    </xs:group>
    <xs:group name="size-group">
    <xs:sequence>
    <xs:element name="size" />
    <xs:element name="unit-of-measure" />
    </xs:sequence>
    </xs:group>
    </xs:schema>';
    GO
    DECLARE @x XML (dbo.ComplexTestSchemaCollection_attribute);
    SET @x = N'<?xml version="1.0"?>
    <item id="749" number="BK-R93R-62">
    <name>Road-150 Red, 62</name>
    <color>Red</color>
    <list-price>3578.27</list-price>
    <size>62</size>
    <unit-of-measure>CM</unit-of-measure>
    </item>';
    SELECT @x;
    GO
    DROP XML SCHEMA COLLECTION dbo.ComplexTestSchemaCollection_attribute;
    It worked nicely. But, I just found out the coding that was downloaded from the website of Apress and I just executed was different from the coding of Listing 4-8 listed in the book: all the <xs: ....> and </xs: ..> in my SSMS2012 are
    listed as <xsd:...> and </xsd:...> respectively in the book!!??  The same thing happens in the Listing 4-3 Simple XML Schema, Listing 4-5 XML Schema and Valid XML Document with Comple Type Definition, Listion 4-6 XML Schema and XML
    Document Document with Complex Type Using <sequence> and <choice>, and Listing 4-7 Complex XML Schema and XML Document with Model Group Definition (I executed last week) too.  I wonder: should xs or xsd be used in the XML
    Schema Collection of SSMS2012?  Please kindly help,  clarify this matter and explain the diffirence of using xs and xsd for me.
    Thanks in advance,
    Scott Chang   

    Hi Scott,
    Using xs or xsd depends on how you declare the namespace prefix.
      <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:element name="item">
    I've posted a very good link in your last question, just in case you might have missed it, please see the below link.
    Understanding XML Namespaces
    In an XML document we use a namespace prefix to qualify the local names of both elements and attributes . A prefix is really just an abbreviation for the namespace identifier (URI), which is typically quite long. The prefix is first mapped to a namespace
    identifier through a namespace declaration. The syntax for a namespace declaration is:
    xmlns:<prefix>='<namespace identifier>'
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • OS-Deployment to virtual servers with SCVMM 2012 R2 vs SCCM 2012 R2 or integration with both?

    Hi,
    OS-Deployment to virtual servers with SCVMM 2012 R2 vs SCCM 2012 R2 or integration with both?
    Is SCCM just for physical servers, and SCVMM for virtual?
    What are benefits of integrating them?
    /SaiTech

    Hi,
    Please refer to the links below:
    Introduction to Configuration Manager
    http://technet.microsoft.com/en-us/library/gg682140.aspx
    Virtual Machine Manager
    http://technet.microsoft.com/en-us/library/gg610610.aspx
    The System Center 2012 Integration Guide provides information about automating each of the System Center components and integrating them with each other and with other systems and applications.
    For more information, see the
    System Center 2012 Integration Guide.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Hello. I have an iPad2, and iMovie software. My main problem, for the moment, is the length of the videos: I can´t create a video with more than 56 seconds. When I try, the app shuts off... Can anyone help me?

    Hello. I have an iPad2, and iMovie software. My main problem, for the moment, is the length of the videos: I can´t create a video with more than 56 seconds. When I try, the app shuts off... Can anyone help me?

    Sorry. We can't help you. It's no longer an iPhone. Apple won't touch it.
    Take it to whoever replaced the screen and see if they can help you.
    iPhones are not user servicable and Apple does not sell iPhone parts at all. I'd be surprised if you were actually able to back it up at this point. It sounds like it's completely borked.

  • I am trying to create a signature with echosign. I cant seem to get to the right screen. Any ideas?

    I want to create my signature with Echosign, but I cant seem to get to the right screen. How can I either draw my signature or type it in? thanks.

    George, I respectfully disagree that it related to the document. All documents I receive have the same problem. Again, all I want is to have the options back under the “Place Signature” button to be able to type my signature or draw it. The only thing the button is currently letting me do is  in the screen print below.
    cid:[email protected]

  • We have a PC with iTunes that needs the hard drive reformatted. Right now, it can't connect to other computers on the network. Can I save my music to a thumb drive, then re-load when the computer is reformatted?

    We have a Windows XP desktop with iTunes for windows. The hard drive needs to be reformatted. Right now, the computer will not connect to other computers on the network. Can I save my iTunes songs to a thumbdrive, then re-load after reformatting?  How do I do it?

    Copy the entire iTunes folder out to the drive. If it is too big to go as one copy stuff over to another computer in batches. It is important to have not only the media but the library file in order to properly restore your library.
    See also this User Tip. Assuming the machine won't connect to the internet you could download the SyncToy installer on another machine and then transfer it with the thumb drive. If it will connect to the net don't forget to deauthorize the machine before reformatting the hard drive.
    tt2

  • Iphone 3gs no longer will work  after iOs5 update,comes up with message ' there is no sim card installed in the phone. Can anyone help me please. I am working as a volunteer in a remote location in Asia and no where near an Apple shop etc?

    I have tried to  update my 3GS phone and now it longer works as it comes up with message there is no sim card installed in the phone. Can anyone help please as I am no where near technical support as I am working as volunteer in remote Asian country

    Hi Allan,
    Thanks for asking, I knew I had forgotten to mention something. The phone was indeed unofficially unlocked, since there were no apple stores or even premium resellers in the region I lived in during the given procedure had to be done.
    I understand this could be a further complication, especially the fact the home button does not work. However, I was wondering if there would be a possibility to use a third-party application instead of iTunes to restore the iPhone? IF someone does know of such an application, I could easily solve further problems myself. Basically, the main issue here is my lack of ability to enter DFU mode.

  • HT1414 I have broken the glass on my ipod touch. I am having trouble with some of my apps opening when I touch the screen. Can the glass be replaced? Will that solve the problem?

    I have broken the glass on my ipod touch. I am having trouble with some of my apps opening when I touch the screen. Can the glass be replaced? Will that solve the problem?

    Very likely yes.
    Apple will exchange your iPod for a refurbished one for $199 if a 64 GB 4G, $99 for the other 4G iPods and $149 for a 5G. They do not fix yours.
    Apple - iPod Repair price              
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the screen yourself if you are up to it
    iPod Touch Repair – iFixit

  • Burned CDs will not sync to my ipod. I just replaced my computer with a different computer, unauathorizeed all previous computers, authorized the one i am now using, but only purchase content will transfer to my ipod.

    Burned CDs will not sync to my ipod. I just replaced my computer with a different computer, unauathorizeed all previous computers, authorized the one i am now using, but only purchase content will transfer to my ipod.

    Hi ballen13!
    I have an article here for you that may be able to address your question and provide some insight into this issue:
    Some songs in iTunes won't copy to iPod
    http://support.apple.com/kb/TS1420
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • Powershell SCCM 2012 and AD collections

    Greetings everyone, I am trying to take a select of groups in a certain OU within AD to make SCCM 2012 user collections from. I been playing around with just creating the collections based upon a txt file which would work and is probably easier. Can someone
    go through this mess I have down here and make this work. I found some scripts that do what I need but they just aren't flowing together well. Thanks for any help you can give. I think the 'DOMAIN\\'$ADName isn't going to work either. Thoughts?
    import-module ($Env:SMS_ADMIN_UI_PATH.Substring(0,$Env:SMS_ADMIN_UI_PATH.Length-5) + '\ConfigurationManager.psd1')
    $PSD = Get-PSDrive -PSProvider CMSite
    CD "$($PSD):"
    $ADName = Get-Content -Path C:\fso\ADgroups.txt
    New-CMUserCollection -Name $ADName -LimitingCollectionName "All Users and User Groups" -RefreshType Both
    Add-CMUserCollectionQueryMembershipRule -CollectionName $ADName -QueryExpression "select *  from  SMS_R_User where SMS_R_User.UserGroupName = 'DOMAIN\\'$ADName" -RuleName "QueryRuleName1"

    $ADName = Get-Content -Path C:\fso\ADgroups.txt
    To add-on to Torsten, this single line gets the content of your text file and (in most cases) will create an array filled with each line of the text file. So before you can use this information, you have to loop through it to get the information of the different
    lines in your text file.
    I think you should do something like this:
    $ADNames = Get-Content -Path C:\fso\ADgroups.txt
    foreach ($ADName in $ADNames){
    <YourCollectionActions>
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Deploy SCCM 2012 Monthly updates (not with ADR), updates get expired

    Hi,
    I’m looking howto use monthly updates in SCCM 2012 R2. This post is showing howto with automatic deployment rules (ADR), but I’d need to do this without ADR.
    http://www.windows-noob.com/forums/index.php?/topic/6799-using-system-center-2012-configuration-manager-part-9-deploying-monthly-updates/
    What I do:
    1.filter on updates I need
    2.add them to an update group
    3.distribute these updates as mandatory to our default windows 7 collection
    Now everything works fine until some updates in the update group get expired. Then no updates are distributed anymore. Please advise.
    J.
    Jan Hoedt

    Leave the expired updates and group the remaining updates (create software group fo these) and deploy to your clients.
    Search the updates in sccm console: Add criteria: Expired NO
    Have a look in this post (Software updates deployment without ADR)
    http://www.windows-noob.com/forums/index.php?/topic/4467-using-sccm-2012-rc-in-a-lab-part-6-deploying-software-updates/
    Thanks, Prabha G

  • App-V 5.0 SP2 user applications published via SCCM 2012 to VDI workstations with roaming only

    Hi,
    The environment consists of App-V 5.0 SP2 (KB2956985) user based applications published via SCCM 2012 to Windows 7 VDI snapshotted workstations that are reset at user logoff.
    When a user logs on the SCCM 2012 client initiates App-V client package publishing.  After a couple of minutes after logon the shortcuts appear and the user can launch their applications.
    The issue is that at logoff, even with roaming enabled, the publishing information disappears.  This causes the next logon process for that user to repeat, the applications are not available until the SCCM client has completed it's publishing cycle. 
    Roaming profiles are implemented. %APPDATA% is redirected to a UNC path.  The following registry key is set
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\Client\Integration\PreserveUserIntegrationsOnLogin=1
    U-EV, global publishing of applications, and AppLocker rules are not an option.  Also, I have read this already - http://technet.microsoft.com/en-us/library/dn659478.aspx#BKMK_PE
    I do not want to wait for the SCCM client to kick in prior to the user applications being available.  What do I need to roam or run to create a seamless transition for the user between sessions? 
    Eddie.

    Hi Tywin (bad username considering the last GoT Episode ;))
    If you ask Microsoft, they always recommend using SCCM for deploying App-V packages and reuse your current SCCM infrastructure if that is already in place. Problem is, as you now experience, is that there is some big caveats both in regards to publishing
    time and to roaming of settings.
    As Nické states I would suggest looking into the Full Infrastructure Model for App-V 5.x, which gives you much better performance in what I call "from no apps" to "being able to click the shortcut" - the add and publishing phase. If you don't have the time/budget/whatever
    to start looking into that, you could look into some community tools like App-V Scheduler which is developed specific by Citrix guys to ease the publishing and management in a Citrix world.
    Microsoft have a great article about Performance Guidelines, which you have read, but it mostly presumes you work with Full Infrastructure. Have you looked into Steve Thomas' session from TechEd NA? It talks about "implementation trends".
    Senior Consultant at Atea Denmark - http://Atea.dk Atea Technical Evangelist for App-V NoLightPeople - http://NoLightPeople.com Access Director - http://www.nolightpeople.com/index.aspx#accessdirector

  • Sccm 2012 create report from recently installed software on clients

    As stated in this thread for 2007. Has anyone had any luck with this type of report in 2012?
    http://social.technet.microsoft.com/Forums/en-US/fecbe492-6d9d-4a8e-8d6d-ac12b3364b32/sccm-2007-create-report-from-recently-installed-software-on-clients?forum=configmgrreporting

    As stated in this thread for 2007. Has anyone had any luck with this type of report in 2012?
    http://social.technet.microsoft.com/Forums/en-US/fecbe492-6d9d-4a8e-8d6d-ac12b3364b32/sccm-2007-create-report-from-recently-installed-software-on-clients?forum=configmgrreporting
    It worked perfectly in CM12. What is the problem?
    http://www.enhansoft.com/

  • RDS 2012 - Virtual desktop collection with powershell and custom answerfile fails on VDI deployment

    Hi Guys,
    I try to deploy a new virtual desktop collection with Win8 VDI's (pooled/managed) based on a custom answer file. Everything needs to automated so working with the server manager is not an option, that's why the answer file is needed.
    The lab environment is based on Windows Server 2012 and Win8 Enterprise only. So functional level etc. is off course Windows Server 2012.
    I Use the following command:
    New-RDVirtualDesktopCollection `
    -CollectionName "Pooled Managed Win8" `
    -Description "This collection contains Pooled and Managed Win 8 VDI machines." `
    -OU "VDI" `
    -ConnectionBroker "RDSCB01.lab.local" `
    -PooledManaged `
    -CustomSysprepUnattendFilePath "\\hyper02\_Unattend\OOBE-only.xml" `
    -VirtualDesktopAllocation @{"hyper02.lab.local"=3} `
    -VirtualDesktopNamePrefix "Pooled-Win8-" `
    -UserGroups "lab.local\domain users" `
    -MaxUserProfileDiskSizeGB 1 `
    -VirtualDesktopTemplateHostServer "hyper02.lab.local" `
    -VirtualDesktopTemplateName “_WIN8-Template” `
    -UserProfileDiskPath "\\hyper02.lab.local\_UserProfileDisks" `
    -StorageType LocalStorage `
    -LocalStoragePath "E:\_VDI" `
    -Force `
    -Debug
    $error[0]|format-list -force
    I tried multiple answer files, but even with this simple one it fails:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <InputLocale>en-US</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UILanguageFallback>en-US</UILanguageFallback>
    <UserLocale>nl-NL</UserLocale>
    </component>
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <UserAccounts>
    <AdministratorPassword>
    <Value>UABhAHMAcwB3AG8AcgBkACEAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
    <PlainText>false</PlainText>
    </AdministratorPassword>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>UABhAHMAcwB3AG8AcgBkACEAUABhAHMAcwB3AG8AcgBkAA==</Value>
    <PlainText>false</PlainText>
    </Password>
    <Description>Admin</Description>
    <DisplayName>Admin</DisplayName>
    <Group>Administrators</Group>
    <Name>Admin</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideLocalAccountScreen>true</HideLocalAccountScreen>
    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>3</ProtectYourPC>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <SkipUserOOBE>true</SkipUserOOBE>
    </OOBE>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:d:/=%20software/iso&apos;s/lic/en_windows_8_enterprise_x64_dvd_917522/sources/install.wim#Windows 8 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    Everything goes fine, until is comes to the deployment of the VDI machines and the answer file is called. It fails with the following error:
    PS N:\> \\dc01\isos\New-VirtualDesktopCollection.ps1
    Unable to retrieve the details of the virtual desktop collection.
    + CategoryInfo : WriteError: (:) [Start-RDVMRollout], RDManagementException
    + FullyQualifiedErrorId : StartRDVirtualMachineRollout,Microsoft.RemoteDesktopServices.Management.Cmdlets.StartRDVirtualMachineRo
    lloutCommand
    + PSComputerName : localhost
    CollectionName Type Size PercentInUse
    Pooled Managed... PooledManaged 0 0
    writeErrorStream : True
    OriginInfo : localhost
    Exception : System.Management.Automation.RemoteException: Unable to retrieve the details of the virtual desktop
    collection.
    TargetObject :
    CategoryInfo : WriteError: (:) [Start-RDVMRollout], RDManagementException
    FullyQualifiedErrorId : StartRDVirtualMachineRollout,Microsoft.RemoteDesktopServices.Management.Cmdlets.StartRDVirtualMachineRolloutCo
    mmand
    ErrorDetails :
    InvocationInfo :
    ScriptStackTrace :
    PipelineIterationInfo : {}
    PSMessageDetails :
    Without the answer file parameter is runs perfectly, BUT the VDI machines get the OOBE.... That's not what we want off course....
    This link (http://support.microsoft.com/kb/2747656?wa=wsignin1.0) and other sources tell me that when i set the regkeys i can find a log in c:\windows\logs, but there is
    nothing. I looked on the management server and the connection broker.
    The only thing i could find in the event viewer was this:
    The XML input specified for the VM Provisioning job is not in a valid format. Error: 0xC00CEE03
    Input XML:
    <?xml version="1.0"?>
    <rdvp:RDVProvisioning xmlns:rdvp="http://www.microsoft.com/rdv/2010/05/">
    <rdvp:ProvisionPoolRequest><rdvp:Job>
    <rdvp:Action>Create</rdvp:Action>
    <rdvp:OnError>Stop</rdvp:OnError></rdvp:Job>
    <rdvp:Pool><rdvp:Name>Pooled_Managed_W</rdvp:Name>
    <rdvp:Type></rdvp:Type>
    <rdvp:VhdType>DiffDisk</rdvp:VhdType>
    <rdvp:SaveDelay></rdvp:SaveDelay>
    <rdvp:Version></rdvp:Version>
    <rdvp:MARK_HA>No</rdvp:MARK_HA></rdvp:Pool>
    <rdvp:Vm>
    <rdvp:BaseVmLocation>\\RDSCB01\RDVirtualDesktopTemplate\Pooled_Managed_W\IMGS\__3</rdvp:BaseVmLocation>
    <rdvp:LocalVmCreationPath>E:\_VDI</rdvp:LocalVmCreationPath>
    <rdvp:LocalGoldCachePath></rdvp:LocalGoldCachePath>
    <rdvp:SMBShare></rdvp:SMBShare>
    <rdvp:EnableVmStreaming>0</rdvp:EnableVmStreaming>
    <rdvp:RunVMsFromSMB>0</rdvp:RunVMsFromSMB>
    <rdvp:NamingPrefix>Pooled-Win8</rdvp:NamingPrefix>
    <rdvp:NamingStartIndex>1</rdvp:NamingStartIndex>
    <rdvp:Domain>lab.local</rdvp:Domain>
    <rdvp:OU>OU=VDI,OU=Computers,OU=Kamer 2101,DC=lab,DC=local</rdvp:OU>
    <rdvp:ProductKey></rdvp:ProductKey>
    <rdvp:UnattendXml>
    <![CDATA[<?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideLocalAccountScreen>true</HideLocalAccountScreen>
    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>3</ProtectYourPC>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <SkipUserOOBE>true</SkipUserOOBE>
    </OOBE>
    </component>
    </settings>
    </unattend>]]>
    </rdvp:UnattendXml>
    </rdvp:Vm>
    <rdvp:HyperVHosts>
    <rdvp:HyperVHost>
    <rdvp:Name>hyper02.lab.local</rdvp:Name>
    <rdvp:NumberVms>3</rdvp:NumberVms>
    </rdvp:HyperVHost>
    </rdvp:HyperVHosts>
    </rdvp:ProvisionPoolRequest>
    </rdvp:RDVProvisioning>----------------------------------------------------------------------Log Name: Microsoft-Windows-TerminalServices-SessionBroker/Admin
    Source: TerminalServices-SessionBroker
    EventID: 1549
    Level: Error
    User: NETWORK SERVICE
    Task Category: MS VM Provisioning Plugin
    Computer: RDSCB01.lab.local
    I hope we can get this working, thanks in advance everybody!
    Regards,
    Bart

    Hi Bartsp34ks,
    I'm trying to make a powershell script like yours.
    But at some point I receive this error:
    System.Management.Automation.RemoteException: VM ASD-1: The data area passed to a system call is too small. (Exception from HRESULT: 0x8007007A)
    My Powershell script is:
    $CollectionName = Read-Host 'What Name should the Collection have?'
    $Description = Read-Host 'Type a description of the Collection'
    $OU = Read-Host 'In which OU should I put the Collection?'
    $ConnectionBroker = Read-Host 'What is the Connection Broker Name? (use FQDN)'
    $Sysprep = Read-Host 'Type the Unattend file location'
    $DesktopAllocation = Read-Host 'On which RD Virtualization Host server should I create the Collection?'
    $DesktopAllocationNR = Read-Host 'How many Virtual Desktop would you like?'
    $NamePrefix = Read-Host 'What is the Prefix Name?'
    $NameSuffix = Read-Host 'What is the Suffix Name?'
    $UserGroup = Read-Host 'Which User Group can use the Collection?'
    $UserProfile = Read-Host 'How big can the ProfileDisk be?'
    $TemplateServer = Read-Host 'What is the RD Host that has the Virtual Desktop Template? (use FQDN)'
    $TemplateName = Read-Host 'What is the Virtual Desktop Template Name?'
    $UserProfilePath = Read-Host 'What should be the User Profile Path?'
    $StorageType = Read-Host 'How should be stored?'
    $StoragePath = Read-Host 'Type the Path'
    New-RDVirtualDesktopCollection `
    -CollectionName $CollectionName `
    -Description $Description `
    -OU $OU `
    -ConnectionBroker $ConnectionBroker `
    -PooledManaged `
    -CustomSysprepUnattendFilePath $Sysprep `
    -VirtualDesktopAllocation @{$DesktopAllocation=$DesktopAllocationNR} `
    -VirtualDesktopNamePrefix $NamePrefix `
    -UserGroups $UserGroup `
    -MaxUserProfileDiskSizeGB $UserProfile `
    -VirtualDesktopTemplateHostServer $TemplateServer `
    -VirtualDesktopTemplateName $TemplateName `
    -UserProfileDiskPath $UserProfilePath `
    -StorageType LocalStorage `
    -LocalStoragePath $StoragePath `
    -Force `
    -Debug
    $error[0]|format-list -force
    Thanks for help

  • Unable to Create site collections with any template

    Hi All,
    We are using SharePoint 2013 , after long time am tried for create new BI center in one of our web application , but its taking more then 10 mints , the page is loading more then 10 mints , after that i just refresh the page and i got a error "Sorry
    this site was created already with this name".
    so , i try to enter the new site URL am getting error the page is not valid .
    i thought this was on issue with requirements on BI Center , so i checked the web application associated service application , but i have Visio Graphics service application , Excel Service Application and Performance point service application running for
    this web application .
    after some time i tried to create team site template site collection , i am facing the same issue again , i really dont know what is the issue with my CA , can any one help me to solve this issue ASAP.
    i tried to create site collection from PowerShell also , but am facing the same issue , even i got the same error while try to create sub site. i tried with refreshing IIS also , but its not worked.
    Am waiting for your valuable response .
    Thanks,
    Mani L
    Mani L

    Hello Mani L,
    Please make a host entry on you WFE server for the URL of the site you are trying to create. Then try browsing the site from same server.
    - First check if the binding is correctly configure in Alternate Access mapping on Central administration
    - Same binding should be provided under IIS for the web application
    If this doesn't resolve the issue then, for testing create a host entry for central admin hostheader url.
    To do this follow below mentioned steps:
    Go to Start -> Run -> Type drivers
    open HOSTS file in a notepad
    type IP address of the APP server and beside that with a tab key type URL of the site
    Save the file and try to browse the site in a fresh new browser after closing all the browser.
    Where SharePoint.com is my Host Header URL and IP address is the server IP where the site is hosted (APP Server generally)
    Thank You, Pallav S. Srivastav ----- If this helped you resolve your issue, please mark it Answered.

Maybe you are looking for

  • Difference between "Add File to Library" and "Import"

    I was just wondering...what is the difference between the "Add File to Library" option and the "Import" option in iTunes? Does one add the files to your iTunes Music folder and one leaves it in its current location? What exactly is the difference?

  • Goods Return ---Debit Note

    Dear Experts Whenever we r making Goods return Invoice after creating Debit Note material Document system will allow us to make Multiple Invoice through one material Document (debit note) in J1is. it would be happen , how to control  over the message

  • Business Process Monitoring via MAI

    Hi Experts, Currently I am exploring the new Business Process Monitoring via MAI (Monitoring and Alerting Infrastructure). I have setup monitoring objects and I am getting the required alerts. Need your help for following questions: 1. What is the co

  • What first - rollnames, comments, keywords, or albums?

    I'd like an idea how to get started with organizing approx. 20,800 pics (they are on the drive and ready to go!). The current roll names arent the greatest and really arent organized - but if I am making albums, etc. I dont think that matters,right?

  • Nokia C3-01 T screw size?

    Hi Need to repiar my screen on a Nokia C03-01. What screwdrivers will I need T sizes etc please?