Ryan, It runs but I cannot say if the computers are moving or not. Some have and some have not. I have also applied to the collection a client reinstall job that specifies the new site. I've run your commandlet several times and still see some of the same active clients show up over and over saying Successful. My problem is that I don't know how long it takes to move or if a reboot or client service restart is needed.
Dave On Wed, Apr 15, 2015 at 7:26 AM, David Jones <[email protected]> wrote: > There is 'Download ZIP' button at the lower right corner. I doing it. I > will let you know how it goes. > > Thanks! > Dave > > > On Tue, Apr 14, 2015 at 3:54 PM, Ryan <[email protected]> wrote: > >> I added the Now Micro Right Click Tool Cmdlets to GitHub and added a >> function to them called Start-ChangeSiteCode. You can find the code here: >> https://github.com/Ryan2065/CM-Modules >> >> If you have the new right click tools, just replace the psm1 file in the >> cmdlet folder with the one on GitHub. Then, you can do these commands to >> change the site code of a collection: >> >> Import-Module "C:\Program Files (x86)\Now Micro\Right Click >> Tools\PSModule\NowMicro-ClientActions\NowMicro-ClientActions.psm1" >> $ComputerList = Get-CollectionMembers -Server "nm-cm12" -SiteCode "ps1" >> -CollectionName 'All Systems' >> Start-ChangeSiteCode -ComputerList $ComputerList -TestConnection $true >> -NewSiteCode "PS1" | Out-GridView >> >> Hmm, I just realized downloading files from GitHub isn't the easiest. It >> might be easier to open the file in your browser, select all the text in >> the psm1 file, and then paste it into the psm1 file in the Now Micro cmdlet >> install directory. >> >> >> >> On Tue, Apr 14, 2015 at 1:26 PM, David Jones <[email protected]> >> wrote: >> >>> SCCM 2012 R2. Has anyone had any luck having this work? I have been >>> trying to move computers from one Site to another for 2 weeks and I don't >>> see them move. They are live and active and checking in every hour. >>> >>> [image: Inline image 1] >>> >>> >> >> > >
