Difference between revisions of "Powershell"

From MyWiki
Jump to: navigation, search
Line 21: Line 21:
 
[[ get-adGroupmember ]]<br>
 
[[ get-adGroupmember ]]<br>
 
[[ Add-QADGroupMember ]]<br>
 
[[ Add-QADGroupMember ]]<br>
 +
[[ foreach-object ]]<br>
  
 
  http://richardspowershellblog.wordpress.com/2012/03/04/set-note-on-telephone-tab/
 
  http://richardspowershellblog.wordpress.com/2012/03/04/set-note-on-telephone-tab/
 
  http://www.coretekservices.com/2013/02/28/ad-attributes-lastlogon-vs-lastlogontimestamp
 
  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/
 
  Encoding ascii or unicode : http://www.johndcook.com/blog/2008/08/25/powershell-output-redirection-unicode-or-ascii/

Revision as of 15:41, 8 December 2014

Quest Active Directory and O365
O365
Simple loop
Reading a file
Writing to a file
Windows routes
Get-QADUser options
The "if" statement
Functions
Disable account
Appending to the description field
Remediating extension attributes
Split
Querying Sql Server
Querying mysql
String length
String concatenation
ProxyAddresses ( Quest )
AD cmdlets
Setting attributes with set QADUser
get-adGroupmember
Add-QADGroupMember
foreach-object

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/