Difference between revisions of "Powershell"
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[ AD cmdlets ]]<br> | [[ AD cmdlets ]]<br> | ||
[[ Add-QADGroupMember ]]<br> | [[ Add-QADGroupMember ]]<br> | ||
− | |||
[[ Appending to the description field ]]<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> | ||
− | + | [[ Disable account ]]<br> | |
− | + | [[ foreach-object ]]<br> | |
+ | [[ Functions ]]<br> | ||
+ | [[ get-adGroupmember ]]<br> | ||
[[ Get-QADUser options ]]<br> | [[ Get-QADUser options ]]<br> | ||
− | + | [[ Managed Service Accounts ]]<br> | |
− | [[ | + | |
− | + | ||
− | + | ||
− | + | ||
[[ O365 ]]<br> | [[ O365 ]]<br> | ||
− | |||
[[ ProxyAddresses ]] ( Quest )<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> | ||
Line 29: | Line 18: | ||
[[ Quest Active Directory and O365 ]]<br> | [[ Quest Active Directory and O365 ]]<br> | ||
[[ Reading a file ]]<br> | [[ Reading a file ]]<br> | ||
+ | [[ Remediating extension attributes ]]<br> | ||
+ | [[ Set-Qaduser ]]<br> | ||
+ | [[ Setting attributes with set QADUser ]]<br> | ||
[[ Simple loop ]]<br> | [[ Simple loop ]]<br> | ||
[[ Split ]] <br> | [[ Split ]] <br> | ||
[[ String length ]]<br> | [[ String length ]]<br> | ||
[[ String concatenation ]]<br> | [[ String concatenation ]]<br> | ||
+ | [[ Text colour, setting ]]<br> | ||
[[ The "if" statement ]]<br> | [[ The "if" statement ]]<br> | ||
[[ Writing to a file ]]<br> | [[ Writing to a file ]]<br> | ||
[[ Windows routes ]]<br> | [[ Windows routes ]]<br> | ||
+ | [[ Install all modules for Azure and O365 ]]<br> | ||
+ | [[ If a number lies between two values ]]<br> | ||
Line 45: | Line 40: | ||
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/ | ||
+ | setting up dirsync from ad to O365 http://www.codetwo.com/admins-blog/sync-premises-ad-office-365/ |
Latest revision as of 16:52, 16 December 2022
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
Set-Qaduser
Setting attributes with set QADUser
Simple loop
Split
String length
String concatenation
Text colour, setting
The "if" statement
Writing to a file
Windows routes
Install all modules for Azure and O365
If a number lies between two values
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/ setting up dirsync from ad to O365 http://www.codetwo.com/admins-blog/sync-premises-ad-office-365/