Difference between revisions of "Powershell"

From MyWiki
Jump to: navigation, search
Line 1: Line 1:
 
[[ AD cmdlets ]]<br>
 
[[ AD cmdlets ]]<br>
 +
[[ Add-QADGroupMember ]]<br>
 +
 +
[[ Appending to the description field ]]<br>
 
[[ Create an AD user using Quest cmdlets ]]<br>
 
[[ Create an AD user using Quest cmdlets ]]<br>
 
[[ Delete an AD user using Quest cmdlets ]] <br>
 
[[ Delete an AD user using Quest cmdlets ]] <br>
[[ Quest Active Directory and O365 ]]<br>
+
 
[[ O365 ]]<br>
+
  
 
[[ Get-QADUser options ]]<br>
 
[[ Get-QADUser options ]]<br>
[[ The "if" statement ]]<br>
+
 
 
[[ Functions ]]<br>
 
[[ Functions ]]<br>
 
[[ Disable account ]]<br>
 
[[ Disable account ]]<br>
[[ Appending to the description field ]]<br>
+
 
 
[[ Remediating extension attributes ]]<br>
 
[[ Remediating extension attributes ]]<br>
[[ Split ]] <br>
+
[[ O365 ]]<br>
[[ Querying Sql Server ]]<br>
+
 
[[ Querying mysql ]]<br>
+
[[ String length ]]<br>
+
[[ String concatenation ]]<br>
+
 
[[ ProxyAddresses ]] ( Quest )<br>
 
[[ ProxyAddresses ]] ( Quest )<br>
 
[[ Setting attributes with set QADUser ]]<br>
 
[[ Setting attributes with set QADUser ]]<br>
 
[[ get-adGroupmember ]]<br>
 
[[ get-adGroupmember ]]<br>
[[ Add-QADGroupMember ]]<br>
+
 
 
[[ foreach-object ]]<br>
 
[[ foreach-object ]]<br>
 +
 +
 +
[[ Managed Service Accounts ]]<br>
 
[[ Powershell string contains ]]<br>
 
[[ Powershell string contains ]]<br>
 
[[ Quest powershell to create a batch of users ]] <br>
 
[[ Quest powershell to create a batch of users ]] <br>
[[ Managed Service Accounts ]]<br>
+
[[ Querying Sql Server ]]<br>
 +
[[ Querying mysql ]]<br>
 +
[[ Quest Active Directory and O365 ]]<br>
 
[[ Reading a file ]]<br>
 
[[ Reading a file ]]<br>
 
[[ Simple loop ]]<br>
 
[[ Simple loop ]]<br>
 +
[[ Split ]] <br>
 +
[[ String length ]]<br>
 +
[[ String concatenation ]]<br>
 +
[[ The "if" statement ]]<br>
 
[[ Writing to a file ]]<br>
 
[[ Writing to a file ]]<br>
 
[[ Windows routes ]]<br>
 
[[ Windows routes ]]<br>
 +
  
  

Revision as of 15:43, 6 March 2015

AD cmdlets
Add-QADGroupMember

Appending to the description field
Create an AD user using Quest cmdlets
Delete an AD user using Quest cmdlets


Get-QADUser options

Functions
Disable account

Remediating extension attributes
O365

ProxyAddresses ( Quest )
Setting attributes with set QADUser
get-adGroupmember

foreach-object


Managed Service Accounts
Powershell string contains
Quest powershell to create a batch of users
Querying Sql Server
Querying mysql
Quest Active Directory and O365
Reading a file
Simple loop
Split
String length
String concatenation
The "if" statement
Writing to a file
Windows routes




http://richardspowershellblog.wordpress.com/2012/03/04/set-note-on-telephone-tab/
http://www.coretekservices.com/2013/02/28/ad-attributes-lastlogon-vs-lastlogontimestamp
Encoding ascii or unicode : http://www.johndcook.com/blog/2008/08/25/powershell-output-redirection-unicode-or-ascii/