본문 바로가기

PowerShell27

[PowerShell]8. Exception(error) Handling Scripts do not always go as intented. Errors in the middle of task can harm data reliability. For example, Active Directory user account inactivation script stops in the middle the task and it only partly removed AD groups which is related to Office 365 licenses. This can mislead that the user account has been deactived as status but actually the business ends up paying license fees until someon.. 2023. 5. 2.
[PowerShell]Moving Computers from OSD Folder [Scenario] In AD(Active Directory) OSD OU(Organizational Unit), there are number of computers which have not been placed to local OU properly. This could cause issues such as AD policy unsync and lack of local admin. manegebility due to absence of local admin. AD group assigment. [Objectives] - Create PowerShell script to place computers in OSD OU to local OU - Make it run daily - Send email as .. 2023. 4. 24.
[PowerShell]Resetting User Password [Scenario] User requests to reset the account password becuase the user forgot the old password [Objectives] Reset the user password [Steps] User password can be eaily reset by PowerShell command "Set-ADAccountPassword" Set-ADAccountPassword (ActiveDirectory) | Microsoft Learn Set-ADAccountPassword (ActiveDirectory) Use this topic to help manage Windows and Windows Server technologies with Windo.. 2023. 4. 12.
[PowerShell]Creating Room Mailbox As Resource [Scenario] Dear Chinese IT colleague asks to create a mailbox as resource to manage booking schedules of a meeting room [Objectives] Create two meeting room resource emailboxs with the given information below. #1. CN Shanghai A1F Mtg Room mailbox name:CN Shanghai A1F Mtg Room email address:CNShanghai.A1FMtgRoom@rotork.com #2. CN Shanghai B2F Small Mtg Room mailbox name:CN Shanghai B2F Small Mtg .. 2023. 4. 7.
반응형