Im starting to think this is a problem in SQL rather than in Powershell 
cmdlets.  I think maybe the settings tables have had columns added and then the 
views have not been rebuilt and that is the problem.  So maybe never mind.
________________________________
From: [email protected] [[email protected]] on behalf 
of Miller, Todd [[email protected]]
Sent: Thursday, January 15, 2015 5:34 PM
To: [email protected]
Subject: [MDT-OSD] Help with MDT Powershell commandlets

I am trying to use some of the MDT powershell commansdlets so that I can build 
the Web site that lists the MDT monitoring status.

I have trouble with the Get-MDTComputer commandlet because I have added 
settings to the Settings table via the MDT Front end.

I don’t know wnough powershell to fix it – can anyone help.

When doing a get-mdtcomputer –id 3 (or any other ID) I get this error…  I 
suppose someqwhere I need to twell the commandlets that there are more collumns 
in settings.

Exception calling "Fill" with "2" argument(s): "View or function 
'ComputerSettings' has more column names specified than columns
defined."
At C:\Program Files\Microsoft Deployment Toolkit\OSDStatus\MDTDB.psm1:258 char:9
+         $null = $selectAdapter.Fill($selectDataset, "ComputerSettings")
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SqlException




________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the 
Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and 
may be legally privileged.  If you are not the intended recipient, you are 
hereby notified that any retention, dissemination, distribution, or copying of 
this communication is strictly prohibited.  Please reply to the sender that you 
have received the message in error, then delete it.  Thank you.
________________________________


________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the 
Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and 
may be legally privileged.  If you are not the intended recipient, you are 
hereby notified that any retention, dissemination, distribution, or copying of 
this communication is strictly prohibited.  Please reply to the sender that you 
have received the message in error, then delete it.  Thank you.
________________________________

Reply via email to