Windows PowerShell (CM12 TR) Archives - FAQShop https://faqshop.com/category/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/ SCCM Tutorials, Help, Hints, Tips and FAQs Wed, 14 Mar 2018 14:09:29 +0000 en-GB hourly 1 https://wordpress.org/?v=6.8.3 https://i0.wp.com/faqshop.com/wp-content/uploads/2016/09/cropped-FAQShop-Favicon-1.jpg?fit=32%2C32&ssl=1 Windows PowerShell (CM12 TR) Archives - FAQShop https://faqshop.com/category/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/ 32 32 106710601 After creating a new Remote DP with the “Add-CMDistributionPoint” PowerShell cmdlet Clients try downloading content from the first Server installed in the Hierarchy and not the new DP https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/after-creating-a-new-remote-dp-with-the-add-cmdistributionpoint-powershell-cmdlet-clients-try-downloading-content-from-the-first-server-installed-in-the-hierarchy-and-not-the-new-dp/ https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/after-creating-a-new-remote-dp-with-the-add-cmdistributionpoint-powershell-cmdlet-clients-try-downloading-content-from-the-first-server-installed-in-the-hierarchy-and-not-the-new-dp/#respond Sun, 22 Feb 2015 12:20:44 +0000 http://faqshop.com/?p=29788 FAQShop.com -

After creating a new Remote DP with the “Add-CMDistributionPoint” PowerShell cmdlet Clients try downloading content from the first Server installed in the Hierarchy and not the new DP I’ve created a new Remote Distribution Point (DP), using the Add-CMDistributionPoint PowerShell … Continued

The post After creating a new Remote DP with the “Add-CMDistributionPoint” PowerShell cmdlet Clients try downloading content from the first Server installed in the Hierarchy and not the new DP appeared first on FAQShop.

]]>
FAQShop.com -

After creating a new Remote DP with the “Add-CMDistributionPoint” PowerShell cmdlet Clients try downloading content from the first Server installed in the Hierarchy and not the new DP

I’ve created a new Remote Distribution Point (DP), using the Add-CMDistributionPoint PowerShell cmdlet introduced in Cumulative Update 1 (CU1), for ConfigMgr 2012 Service Pack 1 (SP1).

The DP was created successfully and I’ve been able to deploy content to it.

However, when Clients in the same location as the new DP attempt to download the content they trying to access the first Server installed in the Hierarchy and not the new DP created with PowerShell.

You need a subscription to access the answer.


This content is restricted to subscribers

The post After creating a new Remote DP with the “Add-CMDistributionPoint” PowerShell cmdlet Clients try downloading content from the first Server installed in the Hierarchy and not the new DP appeared first on FAQShop.

]]>
https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/after-creating-a-new-remote-dp-with-the-add-cmdistributionpoint-powershell-cmdlet-clients-try-downloading-content-from-the-first-server-installed-in-the-hierarchy-and-not-the-new-dp/feed/ 0 29788
“Key not Found Exception” when running the Update-CMDistributionPoint –DeploymentTypeName cmdlet https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/key-not-found-exception-running-update-cmdistributionpoint-deploymenttypename-cmdlet/ https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/key-not-found-exception-running-update-cmdistributionpoint-deploymenttypename-cmdlet/#respond Tue, 25 Nov 2014 18:54:58 +0000 http://faqshop.com/?p=29805 FAQShop.com -

“Key not Found Exception” when running the Update-CMDistributionPoint –DeploymentTypeName cmdlet When I run the Update-CMDistributionPoint –DeploymentTypeName cmdlet I get the following error message: Key not Found Exception

The post “Key not Found Exception” when running the Update-CMDistributionPoint –DeploymentTypeName cmdlet appeared first on FAQShop.

]]>
FAQShop.com -

“Key not Found Exception” when running the Update-CMDistributionPoint –DeploymentTypeName cmdlet

When I run the Update-CMDistributionPoint –DeploymentTypeName cmdlet I get the following error message:

Key not Found Exception

You need a subscription to access the answer.


This content is restricted to subscribers

The post “Key not Found Exception” when running the Update-CMDistributionPoint –DeploymentTypeName cmdlet appeared first on FAQShop.

]]>
https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/key-not-found-exception-running-update-cmdistributionpoint-deploymenttypename-cmdlet/feed/ 0 29805
Why does the Add-CMDistributionPoint cmdlet incorrectly set the value of the ServerRemoteName parameter to the name of the first installed Site Server? https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/add-cmdistributionpoint-cmdlet-incorrectly-set-value-serverremotename-parameter-name-first-installed-site-server/ https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/add-cmdistributionpoint-cmdlet-incorrectly-set-value-serverremotename-parameter-name-first-installed-site-server/#respond Tue, 25 Nov 2014 16:53:44 +0000 http://faqshop.com/?p=29789 FAQShop.com -

Why does the Add-CMDistributionPoint cmdlet incorrectly set the value of the ServerRemoteName parameter to the name of the first installed Site Server? I’m seeing an issue with the Add-CMDistributionPoint cmdlet incorrectly setting the value of the ServerRemoteName parameter to the … Continued

The post Why does the Add-CMDistributionPoint cmdlet incorrectly set the value of the ServerRemoteName parameter to the name of the first installed Site Server? appeared first on FAQShop.

]]>
FAQShop.com -

Why does the Add-CMDistributionPoint cmdlet incorrectly set the value of the ServerRemoteName parameter to the name of the first installed Site Server?

I’m seeing an issue with the Add-CMDistributionPoint cmdlet incorrectly setting the value of the ServerRemoteName parameter to the name of the first installed Site Server. As a result my Clients are accessing content on the Site server instead of the intended Distribution Point server.

You need a subscription to access the answer.


This content is restricted to subscribers

The post Why does the Add-CMDistributionPoint cmdlet incorrectly set the value of the ServerRemoteName parameter to the name of the first installed Site Server? appeared first on FAQShop.

]]>
https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/add-cmdistributionpoint-cmdlet-incorrectly-set-value-serverremotename-parameter-name-first-installed-site-server/feed/ 0 29789
Why is the “refreshschedule” parameter not defined in the “NewByLimitName” parameter set when I run the “New-CMDeviceCollection” cmdlet? https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/refreshschedule-parameter-not-defined-newbylimitname-parameter-set-i-run-new-cmdevicecollection-cmdlet/ https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/refreshschedule-parameter-not-defined-newbylimitname-parameter-set-i-run-new-cmdevicecollection-cmdlet/#respond Tue, 25 Nov 2014 16:53:44 +0000 http://faqshop.com/?p=29801 FAQShop.com -

Why is the “refreshschedule” parameter not defined in the “NewByLimitName” parameter set when I run the “New-CMDeviceCollection” cmdlet? I am trying to run the New-CMDeviceCollection cmdlet but when I do the refreshschedule parameter is not being defined in the NewByLimitName parameter set.

The post Why is the “refreshschedule” parameter not defined in the “NewByLimitName” parameter set when I run the “New-CMDeviceCollection” cmdlet? appeared first on FAQShop.

]]>
FAQShop.com -

Why is the “refreshschedule” parameter not defined in the “NewByLimitName” parameter set when I run the “New-CMDeviceCollection” cmdlet?

I am trying to run the New-CMDeviceCollection cmdlet but when I do the refreshschedule parameter is not being defined in the NewByLimitName parameter set.

You need a subscription to access the answer.


This content is restricted to subscribers

The post Why is the “refreshschedule” parameter not defined in the “NewByLimitName” parameter set when I run the “New-CMDeviceCollection” cmdlet? appeared first on FAQShop.

]]>
https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/refreshschedule-parameter-not-defined-newbylimitname-parameter-set-i-run-new-cmdevicecollection-cmdlet/feed/ 0 29801
“The adapter cannot get property “GetType” for instance of SMS_ST_RecurInterval” error when the .GetType method is used for the object returned by the New-CMSchedule cmdlet https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/the-adapter-cannot-get-property-gettype-for-instance-of-sms_st_recurinterval-error-when-the-gettype-method-is-used-for-the-object-returned-by-the-new-cmschedule-cmdlet/ https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/the-adapter-cannot-get-property-gettype-for-instance-of-sms_st_recurinterval-error-when-the-gettype-method-is-used-for-the-object-returned-by-the-new-cmschedule-cmdlet/#respond Tue, 25 Nov 2014 14:06:46 +0000 http://faqshop.com/?p=29802 FAQShop.com -

“The adapter cannot get property “GetType” for instance of SMS_ST_RecurInterval” error when the .GetType method is used for the object returned by the New-CMSchedule cmdlet I am trying to use the .GetType method for the object returned by the New-CMSchedule … Continued

The post “The adapter cannot get property “GetType” for instance of SMS_ST_RecurInterval” error when the .GetType method is used for the object returned by the New-CMSchedule cmdlet appeared first on FAQShop.

]]>
FAQShop.com -

“The adapter cannot get property “GetType” for instance of SMS_ST_RecurInterval” error when the .GetType method is used for the object returned by the New-CMSchedule cmdlet

I am trying to use the .GetType method for the object returned by the New-CMSchedule cmdlet but it’s unsuccessful and I get the following error:

The adapter cannot get property “GetType” for instance of SMS_ST_RecurInterval

You need a subscription to access the answer.


This content is restricted to subscribers

The post “The adapter cannot get property “GetType” for instance of SMS_ST_RecurInterval” error when the .GetType method is used for the object returned by the New-CMSchedule cmdlet appeared first on FAQShop.

]]>
https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/the-adapter-cannot-get-property-gettype-for-instance-of-sms_st_recurinterval-error-when-the-gettype-method-is-used-for-the-object-returned-by-the-new-cmschedule-cmdlet/feed/ 0 29802
“The method or operation is not implemented” error when running the Clear-CMPxeDeployment cmdlet https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/the-method-or-operation-is-not-implemented-error-when-running-the-clear-cmpxedeployment-cmdlet/ https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/the-method-or-operation-is-not-implemented-error-when-running-the-clear-cmpxedeployment-cmdlet/#respond Tue, 25 Nov 2014 13:30:35 +0000 http://faqshop.com/?p=29791 FAQShop.com -

“The method or operation is not implemented” error when running the Clear-CMPxeDeployment cmdlet When I run the Clear-CMPxeDeployment cmdlet I get the following error message: The method or operation is not implemented

The post “The method or operation is not implemented” error when running the Clear-CMPxeDeployment cmdlet appeared first on FAQShop.

]]>
FAQShop.com -

“The method or operation is not implemented” error when running the Clear-CMPxeDeployment cmdlet

When I run the Clear-CMPxeDeployment cmdlet I get the following error message:

The method or operation is not implemented

You need a subscription to access the answer.


This content is restricted to subscribers

The post “The method or operation is not implemented” error when running the Clear-CMPxeDeployment cmdlet appeared first on FAQShop.

]]>
https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/the-method-or-operation-is-not-implemented-error-when-running-the-clear-cmpxedeployment-cmdlet/feed/ 0 29791
“Unable to cast object of type” error when running the New-CMDeviceCollection cmdlet together with the LimitingCollectionName option https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/unable-cast-object-type-error-running-new-cmdevicecollection-cmdlet-together-limitingcollectionname-option/ https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/unable-cast-object-type-error-running-new-cmdevicecollection-cmdlet-together-limitingcollectionname-option/#respond Mon, 24 Nov 2014 18:38:24 +0000 http://faqshop.com/?p=29793 FAQShop.com -

“Unable to cast object of type” error when running the New-CMDeviceCollection cmdlet together with the LimitingCollectionName option I am trying to run the New-CMDeviceCollection cmdlet together with the LimitingCollectionName option. However, this fails with the following error message: Unable to … Continued

The post “Unable to cast object of type” error when running the New-CMDeviceCollection cmdlet together with the LimitingCollectionName option appeared first on FAQShop.

]]>
FAQShop.com -

“Unable to cast object of type” error when running the New-CMDeviceCollection cmdlet together with the LimitingCollectionName option

I am trying to run the New-CMDeviceCollection cmdlet together with the LimitingCollectionName option.

However, this fails with the following error message:

Unable to cast object of type ‘Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlArrayItems’ to type’System.Management.ManagementBaseObject’.

You need a subscription to access the answer.


This content is restricted to subscribers

The post “Unable to cast object of type” error when running the New-CMDeviceCollection cmdlet together with the LimitingCollectionName option appeared first on FAQShop.

]]>
https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/unable-cast-object-type-error-running-new-cmdevicecollection-cmdlet-together-limitingcollectionname-option/feed/ 0 29793
Why does PowerShell quit unexpectedly when I run the “New-CMSiteSystemServer” cmdlet? https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/why-does-powershell-quit-unexpectedly-when-i-run-the-new-cmsitesystemserver-cmdlet/ https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/why-does-powershell-quit-unexpectedly-when-i-run-the-new-cmsitesystemserver-cmdlet/#respond Tue, 09 Sep 2014 12:53:12 +0000 http://faqshop.com/?p=29803 FAQShop.com -

Why does PowerShell quit unexpectedly when I run the “New-CMSiteSystemServer” cmdlet? I am trying to run the ConfigMgr 2012 R2 New-CMSiteSystemServer cmdlet but PowerShell exits unexpectedly.

The post Why does PowerShell quit unexpectedly when I run the “New-CMSiteSystemServer” cmdlet? appeared first on FAQShop.

]]>
FAQShop.com -

Why does PowerShell quit unexpectedly when I run the “New-CMSiteSystemServer” cmdlet?

I am trying to run the ConfigMgr 2012 R2 New-CMSiteSystemServer cmdlet but PowerShell exits unexpectedly.

You need a subscription to access the answer.


This content is restricted to subscribers

The post Why does PowerShell quit unexpectedly when I run the “New-CMSiteSystemServer” cmdlet? appeared first on FAQShop.

]]>
https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/why-does-powershell-quit-unexpectedly-when-i-run-the-new-cmsitesystemserver-cmdlet/feed/ 0 29803
Why does the upgrade of a Shared Distribution Point fail when I use the “Start-CMDistributionPointUpgrade” PowerShell cmdlet? https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/upgrade-shared-distribution-point-fail-i-use-start-cmdistributionpointupgrade-powershell-cmdlet/ https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/upgrade-shared-distribution-point-fail-i-use-start-cmdistributionpointupgrade-powershell-cmdlet/#respond Thu, 05 Jun 2014 17:53:19 +0000 http://faqshop.com/?p=29804 FAQShop.com -

Why does the upgrade of a Shared Distribution Point fail when I use the “Start-CMDistributionPointUpgrade” PowerShell cmdlet? I am trying to upgrade a shared Distribution Point (DP), to a ConfigMgr 2012 R2 DP using the Start-CMDistributionPointUpgrade PowerShell cmdlet but it … Continued

The post Why does the upgrade of a Shared Distribution Point fail when I use the “Start-CMDistributionPointUpgrade” PowerShell cmdlet? appeared first on FAQShop.

]]>
FAQShop.com -

Why does the upgrade of a Shared Distribution Point fail when I use the “Start-CMDistributionPointUpgrade” PowerShell cmdlet?

I am trying to upgrade a shared Distribution Point (DP), to a ConfigMgr 2012 R2 DP using the
Start-CMDistributionPointUpgrade PowerShell cmdlet but it fails.

I’m seeing the following exception message:

Initiation of upgrade of BDP: server1.contoso.internal, failed.
Exception Type: System.Collections.Generic.KeyNotFoundException,Microsoft.ConfigurationManagement.Cmdlets.HS.Commands.StartDistributionPointUpgradeCommand :: Exception Message: System.Collect
ions.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Microsoft.ConfigurationManagement.Cmdlets.HS.Commands.StartDistributionPointUpgradeCommand.SetObjectProperties(IResultObject siteSystemObject, IResultObject distributionPointObject)
at Microsoft.ConfigurationManagement.Cmdlets.HS.Commands.StartDistributionPointUpgradeCommand.ProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord().

You need a subscription to access the answer.


This content is restricted to subscribers

The post Why does the upgrade of a Shared Distribution Point fail when I use the “Start-CMDistributionPointUpgrade” PowerShell cmdlet? appeared first on FAQShop.

]]>
https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/upgrade-shared-distribution-point-fail-i-use-start-cmdistributionpointupgrade-powershell-cmdlet/feed/ 0 29804
After creating a new SMP with the “Add-CMStateMigrationPoint” PowerShell cmdlet Clients try contacting the first Server installed in the Hierarchy and not the new SMP https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/creating-new-smp-add-cmstatemigrationpoint-powershell-cmdlet-clients-try-contacting-first-server-installed-hierarchy-not-new-smp/ https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/creating-new-smp-add-cmstatemigrationpoint-powershell-cmdlet-clients-try-contacting-first-server-installed-hierarchy-not-new-smp/#respond Mon, 21 Oct 2013 18:07:15 +0000 http://faqshop.com/?p=29790 FAQShop.com -

After creating a new SMP with the “Add-CMStateMigrationPoint” PowerShell cmdlet Clients try contacting the first Server installed in the Hierarchy and not the new SMP I’ve created a new State Migration Point (SMP), using the Add-CMStateMigrationPoint PowerShell cmdlet introduced in … Continued

The post After creating a new SMP with the “Add-CMStateMigrationPoint” PowerShell cmdlet Clients try contacting the first Server installed in the Hierarchy and not the new SMP appeared first on FAQShop.

]]>
FAQShop.com -

After creating a new SMP with the “Add-CMStateMigrationPoint” PowerShell cmdlet Clients try contacting the first Server installed in the Hierarchy and not the new SMP

I’ve created a new State Migration Point (SMP), using the Add-CMStateMigrationPoint PowerShell cmdlet introduced in Cumulative Update 1 (CU1), for ConfigMgr 2012 Service Pack 1 (SP1).

However, it doesn’t appear to have worked as if I look in the Smpisapi.log I see the following errors:

::SecureAccess(pszStorePath, m_sAccessAccount, dwAccess, bGrantAccess), HRESULT=80070043 (e:\nts_sccm_release\sms\server\smp\isapi\smprequesthandler.cpp,941)

AddACE to store with access account failed for directory \\SMPSTOREM_28C49E47$\FBC02D2321401636EFBD99756C5AAF338C3D018C06B9724EB56B409163928473

hr, HRESULT=80070043 (e:\nts_sccm_release\sms\server\smp\isapi\smprequesthandler.cpp,2311)

Revoke access failed for directory \\SMPSTOREM_28C49E47$\FBC02D2321401636EFBD99756C5AAF338C3D018C06B9724EB56B409163928473

StatusRequest::UpdateStatus failed with errorcode (0x80070043)

You need a subscription to access the answer.


This content is restricted to subscribers

The post After creating a new SMP with the “Add-CMStateMigrationPoint” PowerShell cmdlet Clients try contacting the first Server installed in the Hierarchy and not the new SMP appeared first on FAQShop.

]]>
https://faqshop.com/sccm-2012/troubleshooting-cm12/windows-powershell-cm12-tr/creating-new-smp-add-cmstatemigrationpoint-powershell-cmdlet-clients-try-contacting-first-server-installed-hierarchy-not-new-smp/feed/ 0 29790