SCCM wmi object issues

So I have the following line of code that i routinely use for querying what kind of patches my servers have. $return = @{ “Server” = (hostname); “Available” = ((Get-WmiObject -Query “SELECT * FROM CCM_SoftwareUpdate Where EVALUATIONSTATE < 8” -Namespace “ROOTccmClientSDK”).count); “Error” = ((Get-WmiObject -Query “SELECT * FROM CCM_SoftwareUpdate WHERE EVALUATIONSTATE = 13” -Namespace “ROOTccmClientSDK”).count); […]

How do I open a child window Larger than the grid space it originated from.

Not sure I am going about this the right way so any suggestions are welcome. I have usercontrol1 that has a grid with a content control in it. User Control 1 <Grid Grid.Column=”1″> <Grid.RowDefinitions> <RowDefinition MinHeight =”150″ Height=”*”/> <RowDefinition Height=”Auto”/> <RowDefinition MinHeight=”650″ Height=”*”/> </Grid.RowDefinitions> <ContentControl Grid.Row=”0″ prism:RegionManager.RegionName=”{x:Static inf:RegionNames.MyRegion1}”/> <GridSplitter Grid.Row=”1″ VerticalAlignment=”Center” HorizontalAlignment=”Stretch” Background=”Black” ShowsPreview=”True” Height=”5″/> […]

Alright guys, I’m having an issue that is driving me nuts. Surely someone can spot what I’m missing

I’ve working on a script that is being used to install software on a local PC from a server. First, the script checks the OS Architecture to confirm 32/64, followed by running the installer for the corresponding version. The script, along with two directories (32bInstaller & 64Binstaller) each containing the correct installer.   Ex: servernamepathscript.ps1 […]

Powershell Excel Help

Hey Everyone, I’m a begginer at Powershell, and don’t have any experience writing scripts that hook into Excel, and would appreciate some help. What I’m trying to do is write a powershell script that looks at rows B3-?3, and if there is anything there, it goes down and looks at rows 12-18, 21-22, 25-29, 32-35 […]