Difference between revisions of "Powershell"
From MyWiki
Line 1: | Line 1: | ||
+ | [[ AD cmdlets ]]<br> | ||
+ | [[ Create an AD user using Quest cmdlets ]]<br> | ||
+ | [[ Delete an AD user using Quest cmdlets ]] <br> | ||
[[ Quest Active Directory and O365 ]]<br> | [[ Quest Active Directory and O365 ]]<br> | ||
[[ O365 ]]<br> | [[ O365 ]]<br> | ||
[[ Simple loop ]]<br> | [[ Simple loop ]]<br> | ||
− | + | ||
[[ Writing to a file ]]<br> | [[ Writing to a file ]]<br> | ||
[[ Windows routes ]]<br> | [[ Windows routes ]]<br> | ||
Line 17: | Line 20: | ||
[[ String concatenation ]]<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> | ||
Line 23: | Line 25: | ||
[[ foreach-object ]]<br> | [[ foreach-object ]]<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> | [[ Managed Service Accounts ]]<br> | ||
+ | [[ Reading a file ]]<br> | ||
Revision as of 15:39, 6 March 2015
AD cmdlets
Create an AD user using Quest cmdlets
Delete an AD user using Quest cmdlets
Quest Active Directory and O365
O365
Simple loop
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 )
Setting attributes with set QADUser
get-adGroupmember
Add-QADGroupMember
foreach-object
Powershell string contains
Quest powershell to create a batch of users
Managed Service Accounts
Reading a file
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/