Showing posts with label sql. Show all posts
Showing posts with label sql. Show all posts

Monday, February 25, 2008

ad groups\sql

PowerShell for Active Directory Examples « Dmitry’s PowerBlog PowerShell and beyond
AD cmdlets and domain statistics « Dmitry’s PowerBlog PowerShell and beyond
PowerGUI - Administrative Powershell Console Finding out the largest group in AD ...
PowerGUI - Administrative Powershell Console Mail Enabled Contacts in W2K3 ...
Hey, Scripting Guy! How Can I Use Windows PowerShell to Retrieve the Non-Unique Items in a List
--o-- PowerShelled PowerShell and Active Directory Part 9 (nested groups)
Windows Powershell Working with Active Directory -- TechNet Magazine, June 2007
Managing group membership in Active Directory with PowerShell (Part 1) Lead, Follow, or Move
Managing group membership in Active Directory with PowerShell (Part 2) Lead, Follow, or Move
PowerGUI - Administrative Powershell Console A quick intro to the Management Shell ...
Import-Export Members to a Group
List All Members of a Grouo, Including Members of Nested Groups
Project84 - Using PowerShell to find nested Groups for Active Directory Migration
AD cmdlets 1.0.3 to 1.0.4 upgrade « Dmitry’s PowerBlog PowerShell and beyond
Redmond Column Membership Has Its Privileges

windows forms
--o-- PowerShelled PowerShell Calendar Function (GUI)
Nivot Ink - Using Windows Forms Controls in PowerShell #1 ListBox
Hey, Scripting Guy! How Can I Remove EverythingFrom an Active Directory Group Except Other Groups
Hey, Scripting Guy! How Can I Configure an Active Directory Account So the Password Never Expires



Remove Password Never Expires on everyone in my AD domain - dBforums
sql
Hey, Scripting Guy! How Can I Enumerate All the Objects in an Active Directory OU
Hey, Scripting Guy! How Can I Determine if an OU is Blocking Group Policy Inheritance
Hey, Scripting Guy! How Can I List All the Sub-OUs in an OU
Allen White Accessing SQL Server data through PowerShell
AzamSharp Using PowerShell to View Images in Database
Allen White Using PowerShell and SQL Server Together
Allen White PowerShell, SQL Server and Large Resultsets
Learn SQL Server
T-SQL Programming
Custom reports in Management Studio, using the Performance Dashboard
Jeffrey McManus Database Queries with Windows Powershell
Hey, Scripting Guy! How Can I Use Windows PowerShell to Pull Records From a Microsoft Access Database
Comparing Python and PowerShell DBA Scripting
Beginning SQL Server 2005 Reporting Services Part 1
Precision Computing - Interacting with SQL Databases in PowerShell Invoke-SqlCommand
Reporting Services Cribsheet

ad groups\sql

PowerShell for Active Directory Examples « Dmitry’s PowerBlog PowerShell and beyond
AD cmdlets and domain statistics « Dmitry’s PowerBlog PowerShell and beyond
PowerGUI - Administrative Powershell Console Finding out the largest group in AD ...
PowerGUI - Administrative Powershell Console Mail Enabled Contacts in W2K3 ...
Hey, Scripting Guy! How Can I Use Windows PowerShell to Retrieve the Non-Unique Items in a List
--o-- PowerShelled PowerShell and Active Directory Part 9 (nested groups)
Windows Powershell Working with Active Directory -- TechNet Magazine, June 2007
Managing group membership in Active Directory with PowerShell (Part 1) Lead, Follow, or Move
Managing group membership in Active Directory with PowerShell (Part 2) Lead, Follow, or Move
PowerGUI - Administrative Powershell Console A quick intro to the Management Shell ...
Import-Export Members to a Group
List All Members of a Grouo, Including Members of Nested Groups
Project84 - Using PowerShell to find nested Groups for Active Directory Migration
AD cmdlets 1.0.3 to 1.0.4 upgrade « Dmitry’s PowerBlog PowerShell and beyond
Redmond Column Membership Has Its Privileges

windows forms
--o-- PowerShelled PowerShell Calendar Function (GUI)
Nivot Ink - Using Windows Forms Controls in PowerShell #1 ListBox
Hey, Scripting Guy! How Can I Remove EverythingFrom an Active Directory Group Except Other Groups
Hey, Scripting Guy! How Can I Configure an Active Directory Account So the Password Never Expires



Remove Password Never Expires on everyone in my AD domain - dBforums
sql
Hey, Scripting Guy! How Can I Enumerate All the Objects in an Active Directory OU
Hey, Scripting Guy! How Can I Determine if an OU is Blocking Group Policy Inheritance
Hey, Scripting Guy! How Can I List All the Sub-OUs in an OU
Allen White Accessing SQL Server data through PowerShell
AzamSharp Using PowerShell to View Images in Database
Allen White Using PowerShell and SQL Server Together
Allen White PowerShell, SQL Server and Large Resultsets
Learn SQL Server
T-SQL Programming
Custom reports in Management Studio, using the Performance Dashboard
Jeffrey McManus Database Queries with Windows Powershell
Hey, Scripting Guy! How Can I Use Windows PowerShell to Pull Records From a Microsoft Access Database
Comparing Python and PowerShell DBA Scripting
Beginning SQL Server 2005 Reporting Services Part 1
Precision Computing - Interacting with SQL Databases in PowerShell Invoke-SqlCommand
Reporting Services Cribsheet

Tuesday, February 12, 2008

GalaXQL - Interactive SQL tutorial

GalaXQL - Interactive SQL tutorial

Who said SQL tutorials have to be boring?

WQL to SQL
This SQL Query can be used to see how WQL is converted to SQL by SMS for collections.
SelectCollections.SiteID, Collections.CollectionName, Collection_Rules.QueryName, Collection_Rules_SQL.WQL, Collection_Rules_SQL.SQL From Collections,Collection_Rules, Collection_Rules_SQLWhere Collections.CollectionID = Collection_Rules.CollectionIDAND Collections.CollectionID = Collection_Rules_SQL.CollectionID

Friday, October 19, 2007

myITforum_sms scripts

Query for machine with no logged on user for 30
may need to change the quotes around the numbers to single to get it to
quote:select SYS.Netbios_Name0, SYS.AD_Site_Name0, OS.LastBootUpTime0, WS.LastHWScan as 'Last Reported to SMS' from v_GS_Operating_System OS join v_r_system SYS on OS.ResourceID=SYS.ResourceID join v_gs_workstation_status ws on sys.resourceid=ws.resourceid Where OS.Version0 = '5.1.2600' and datediff(day,ws.LastHWScan,getdate()) < "2" and datediff(day,OS.LastBootUpTime0,getdate()) > "14" Order by SYS.AD_Site_Name0, OS.LastBootUpTime0

anyone have a vbs to edit registry key and push out wit...

sms client health script

sms sql help

Distributing a file from a central location overnight -

Simple way to identify/correct duplicate machines in co...

How to troubleshoot SMS Administrator console connectivity

gather the information contained in the local workstation’s “Administrators” group.

Tuesday, August 21, 2007

Wednesday, July 18, 2007

Locating Machines Not Reporting Heartbeat Discovery In The Last

Locating Machines Not Reporting Heartbeat Discovery In The Last Week - Don Hite

This SQL query will allow you to find or locate machines in your SMS database that have not reported a Heartbeat discovery record in the last week or seven days.

SQL Query:

Select
SD.Netbios_Name0,
A.AgentName,
DI.AgentTime

From System_Disc SD

Inner Join DiscItemAgents DI on SD.DiscArchKey = DI.DiscArchKey
Cross Join Agents A

Where A.AgentName = 'Heartbeat Discovery'
And DatePart (D,DI.AgentTime) >= 7