Difference between revisions of "Powershell"

From MyWiki
Jump to: navigation, search
Line 5: Line 5:
 
[[ Delete an AD user using Quest cmdlets ]] <br>
 
[[ Delete an AD user using Quest cmdlets ]] <br>
 
[[ Disable account ]]<br>
 
[[ Disable account ]]<br>
[[ Get-QADUser options ]]<br>
+
 
 
[[ foreach-object ]]<br>
 
[[ foreach-object ]]<br>
 
[[ Functions ]]<br>
 
[[ Functions ]]<br>
 +
[[ get-adGroupmember ]]<br>
 +
[[ Get-QADUser options ]]<br>
 +
 +
 +
  
  
[[ O365 ]]<br>
 
[[ ProxyAddresses ]] ( Quest )<br>
 
  
[[ get-adGroupmember ]]<br>
 
  
 
[[ Managed Service Accounts ]]<br>
 
[[ Managed Service Accounts ]]<br>
 +
[[ O365 ]]<br>
 +
[[ ProxyAddresses ]] ( Quest )<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>

Revision as of 15:45, 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
Disable account

foreach-object
Functions
get-adGroupmember
Get-QADUser options




Managed Service Accounts
O365
ProxyAddresses ( Quest )
Powershell string contains
Quest powershell to create a batch of users
Querying Sql Server
Querying mysql
Quest Active Directory and O365
Reading a file
Remediating extension attributes
Setting attributes with set QADUser
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/