跳到主要內容

發表文章

目前顯示的是有「powershell」標籤的文章

[Powershell] Convert Chinese character to pinying

Found a new job in Beijing, the company was using cloud stuff for infrastructure IT systems, like mail system, mobile messaging, IM. The company is going bigger and stronger, making more money, so the bosses decided update to AD/exchange/lync. from Pocket https://ift.tt/2X6BuSH via IFTTT

Powershell 學習筆記

前陣子體驗到 Powershell 免編譯可直接修改調整的好處,而明文格式人眼可辨,列入 SOP 移交 OP 接受度較高,加上 Powershell 已取代 VBScript 成為微軟系統管理腳本主力,相關資源豐富,近期手邊有些排程應用,便計劃改用 Powershell from Pocket https://ift.tt/2FH8lDz via IFTTT

[SQL]在 SQL Agent 裡面執行 Powershell,取代效果不佳的維護清除工作

利用 Powershell 的腳本來取代維護計畫裡面的「維護清除工作」 今天一個朋友傳來一個訊息,表示在他的 SQL Server 2008 上面,當在維護計畫裡面使用「維護清除工作」的時候,總是要花費非常長的時間,且很多時候沒有正常刪除 from Pocket https://ift.tt/2T10CF5 via IFTTT

活用PowerShell命令 高效管理Hyper-V

儘管Windows的視窗介面設計一路走來不斷地力求創新與突破,但可別忘了DOS的命令列視窗始終也一直跟隨著它,甚至進一步為了力抗強敵UNIX/Linux的Shell,還推出了以.NET Framework和.NET Core為基礎的PowerShell,它支援與UNIX Shell命令和Cmd. from Pocket https://ift.tt/2IBGZ68 via IFTTT

Example PowerShell SCOM Scripts

Even though we believe our System Performance and Sizing Site is easier to setup, maintain and use than Microsoft’s System Center Operations Manager, some of our customers also require the advanced monitoring that SCOM provides. from Pocket http://ift.tt/2zYIFRM via IFTTT

Powershell : Check if AD User is Member of a Group

We can find if an Active Directory user is member of an AD group using Get-ADGroupMember cmdlet. In this article, I am going to write powershell script to check if user is exists in a group or nested group, and check multiple users are member of an AD group. from Pocket http://ift.tt/2jaYoqp via IFTTT

squid808/gShell

Welcome to gShell! PowerShell Cmdlets for G Suite Administration gShell is a toolset to help you access and manage information from your G Suite (formerly Google Apps) domain through Windows PowerShell. from Pocket http://ift.tt/2asTPDi via IFTTT

jay0lee/GAM

GAM is a command line tool for Google G Suite Administrators to manage domain and user settings quickly and easily. Download the MSI Installer from the GitHub Releases page. Install the MSI and you'll be prompted to setup GAM. from Pocket http://ift.tt/1DLrsFk via IFTTT

Microsoft System Powershell

$compObject = get-wmiobject -query "select * from SMS_R_SYSTEM WHERE Name='[computername]'" -computername [sccm-server] -namespace "ROOT\SMS\site_[yoursite]" $compObject.psbase.delete() Remove-DisabledMonitoringObject Remove-SCOMDisabledClassInstance # To find out what options are available to your output of the list of objects in the group use Get-Member (GM) cmdlet Get-SCOMGroup -DisplayName "UR Computer Group" | Get-SCOMClassInstance | GM # after looking at the GM output we decide that DisplayName will work best Get-SCOMGroup -DisplayName "UR Computer Group" | Get-SCOMClassInstance | sort DisplayName |FT DisplayName For UIGeneratedMonitor: Get-SCOMMonitor | where {$_.name -eq "UIGeneratedMonitorGUID#"} | select DisplayName For UIGeneratedRule: Get-SCOMRule | where {$_.name -eq "MomUIGeneratedRuleGUID#"} | select DisplayName Create SCOM 2012 Subscribers using PowerShell Add-SCOMNotificationSubscr...