BMC TrueSight – An Aerial View!!! While working on Event Management a requirement popped up “Update TruSight the slot value when orchestrator automates the event(s)”. In short the automation agent should close the alert after auto-healing. I expected a REST endpoint but unfortunately SOAP web service was the only option. To solve this we have […]
#iHeartPowerShell One of my colleague asked me a PowerShell script to query AD User information! Yes, I did your voice!
Get-ADUser -Identity <samaccountname>
But, he asked “How will I do it in NODE JS with no AD Module?” Well! it’s too deep to discuss about node js! Anyways to make it simple I shared an app which […]
One of our valuable customer asked a script to create a HPSM9 incident with a screen shot! Yes, it is really easy if we understand the WSDL! With no wait here is the snippet
#region Attaching a screen shot
$Stream = [System.IO.MemoryStream]::new()
$Image = [System.Drawing.Bitmap]::new("C:\Temp\Pictures\easy.jpg")
$ImageBytes = $Stream.ToArray()
$Attachment = New-Object ($NameSpace + ".AttachmentType")
$Attachment.action = "add"
$Attachment.name = "EasyDemo.jpg"
$Attachment.len = $ImageBytes.Length
$Attachment.contentId = "attachment"
$Attachment.attachmentType = "Image/Jpeg"
$Attachment.Value = $ImageBytes
$IncidentInstanceType.attachments = $Attachment
The documentation for HPSM9 is here! Get the full script from GitHub!
This is a continuation of part 1 and we will cover about adding a custom action in site action of the web. Note: You can think about any solution. This blog post is to show an option in PowerShell and Client Side Object Model to customize the Site Actions of the web. To know Default Custom […]
A colleague shared a blog post and asked me a script to get high priority email using PowerShell? Well, it’s the same way by modifying the search filter as required as shown below.
$SearchFilter = [Microsoft.Exchange.WebServices.Data.SearchFilter+IsEqualTo]::new([Microsoft.Exchange.WebServices.Data.EmailMessageSchema]::Importance,
and the below is the view to get the number of email we need from the inbox – In our case […]
A friend of mine Erdem Avni Avni SELÇUK from Turkey showed a video sample which retrieves SharePoint Online list column information in Excel! Truly amazing stuff for SharePoint IT Professionals at least for me. So, thought of Sharing my demo code which simply lists all SharePoint list title and includes a header text and footer with image […]
During my web-ex session “Manage SharePoint Online Using CSOM” I showed few of the custom functions wrapped up as script module. I will be posting the recording session by next week and module will be shared in Git! In the session content management team was actively posting questions and this blog series shares […]
A colleague asked me a script for deleting nodes from Global Navigation or from Quick Launch in a SharePoint Site. Before we get into the PowerShell script lets know about the Navigation (In General). The below image illustrates the navigation settings in a SharePoint Site All the headings with folder signs are parent nodes and […]
A colleague asked me a script to retrieve SharePoint Site Groups information by excluding the user’s information and added he couldn’t use Select-Object cmdlet to exclude user’s collection in the group property. Yes, it’s not possible! But, we have a fix for it and here is the PowerShell script to get Group properties by ignoring […]
One of our customer requested a solution to import user profile picture from Exchange Online. Not a big task but this article is to share the simple and clean method to carry out the task without MSOnline module. Yes, we use only PowerShell! At customer environment user uploads profile picture in intranet portal which saves […]