I use the following Powershell Profile. This is a File called profile.ps1, located in %userprofile%\documents and preconfigures my environment.
The first line adds the Quest (Dell) AD Powershell Cmdlets to my console.
The Second line Imports the SCCM2012 Powershell Module.
The third line changes my PS-drive to the SCCM Module.
Finally the last lines configure query limits to be higher then default.
Add-PSSnapin quest.activeroles.admanagement
import-module ($Env:SMS_ADMIN_UI_PATH.Substring(0,$Env:SMS_ADMIN_UI_PATH.Length-5) + '\ConfigurationManager.psd1')
cd <SccmHierarchyName>:
set-qadpssnapinsettings -defaultsizelimit 0
set-cmqueryresultmaximum 50000
No comments:
Post a Comment