This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Disables SCCM push install for a specified collection. | |
.DESCRIPTION | |
Disables SCCM push install for a specified collection using the ExcludeServers registry key. | |
.PARAMETER CMSiteServer | |
Specifies the NetBIOS name of the SCCM Site Server. | |
.PARAMETER CMCollection | |
Specifies the Collection Name to exclude from Push Install. | |
.PARAMETER DeleteAllCollectionMembers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Sets maintenance windows using a CSV file. | |
.DESCRIPTION | |
Sets maintenance windows using a CSV file and is triggered when the settings CSV file is saved. using file watcher. | |
.EXAMPLE | |
Set-ClientMaintenanceWindows.ps1 | |
.NOTES | |
Created by Ioan Popovici | |
Uses FileSystemWatcher to see when the CSV file is changed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Adds devices from a txt file to a SCCM device collection. | |
.DESCRIPTION | |
Adds devices from a txt file to a SCCM device collection, triggered when the txt file is saved. | |
.EXAMPLE | |
Add-CMDeviceDirectMemebershipRules.ps1 | |
.INPUTS | |
System.String | |
.OUTPUTS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
********************************************************************************************************* | |
* * | |
*** This PowerShell script is Get the SCEP Logs from SCCM DB and export them to a CSV file *** | |
* * | |
********************************************************************************************************* | |
* Created by Octavian Cordos, 2017-03-28 | Requirements: PowerShell 3.0, SQL PS commandlets * | |
* ======================================================================================================* | |
* Modified by | Date | Version | Comments * | |
*_______________________________________________________________________________________________________* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Define ROOT C:\Program Files (x86)\nxlog | |
Moduledir %ROOT%\modules | |
CacheDir %ROOT%\data | |
Pidfile %ROOT%\data\nxlog.pid | |
SpoolDir %ROOT%\data | |
LogFile %ROOT%\data\nxlog.log | |
<Extension gelf> | |
Module xm_gelf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE @AuthListLocalID AS int | |
SELECT @AuthListLocalID=CI_ID | |
FROM v_AuthListInfo | |
WHERE v_AuthListInfo.Ci_UniqueID=@AuthListID; | |
SELECT DISTINCT rs.NetBios_Name0 AS Name, | |
CASE | |
WHEN os.Caption0 LIKE '%2003%' THEN 'Windows 2003' | |
WHEN os.Caption0 LIKE '%2008R2%' THEN 'Windows 2008 R2' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE @AuthListLocalID AS int | |
SELECT @AuthListLocalID=CI_ID | |
FROM v_AuthListInfo | |
WHERE CI_UniqueID=@AuthListID | |
SELECT DISTINCT ui.BulletinID, | |
ui.ArticleID, | |
ui.Title, | |
a ui.Description, | |
ui.DateRevised, | |
CASE ui.Severity |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Performs a windows cleanup. | |
.DESCRIPTION | |
Performs a windows cleanup by removing volume caches, update backups, update and CCM caches. | |
.PARAMETER CleanupOptions | |
Supported options: | |
"comCacheRepair" # Component Cache Repair | |
"comCacheCleanup" # Component Cache Cleanup | |
"volCacheCleanup" # Volume Cache Cleanup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
********************************************************************************************************* | |
* Created by Ioan Popovici, 2015-08-18 | Requirements: HWI - Win32_QuickfixEngineering WMI Class. * | |
* ======================================================================================================* | |
* Modified by | Date | Revision | Comments * | |
*_______________________________________________________________________________________________________* | |
* Ioan Popovici/Octavian Cordos | 2015-08-18 | v1.0 | First version * | |
*-------------------------------------------------------------------------------------------------------* | |
* * | |
********************************************************************************************************* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
.SYNOPSIS | |
Parses a CSV string. | |
.DESCRIPTION | |
Parses a CSV string and returns individual substrings. | |
.PARAMETER pInputString | |
Specifies the input string. | |
.PARAMETER pDelimiter | |
Specifies the delimiter. | |
.EXAMPLE |