Office 365 portals language Hello, When using a worldwide Office 365 tenant, you have some challenges about the portals & web pages languages. Indeed, each tenant has a “default language”, but for big companies that span through different countries, we … Continue reading →
The post Office 365 portals language PowerShell appeared first on IT for Dummies.
Some time ago I've wrote PowerShell way to get all information about Office 365 Service Health, and if you were thinking that I would try the same concept for Azure Services you were right. However, I failed. This is because Office 365 Health can be gathered using Microsoft Graph API, and Azure Health information, as far as I know, is not available in the form I wanted it. Azure Status is available as part of Azure Status website.
I’ve spent quite some time researching how to create events using EventData with named Data elements. It’s not easy and
is even less easier to write some PowerShell to make it “dynamic”.
EventData with Named Data
In order to enable named Data elements in your event logs, you have to go through several hoops. I won’t go through them
in this post, but here are some links to various posts that can help you get started.
Hello! This is a quick blog post to demonstrate how to plot your Azure Metrics of any Resource in your PowerShell Console using the “Graphical Module” I’ve written sometimes back....
The post Plotting Azure Metrics in PowerShell Console Graphs appeared first on Ridicurious.
As you write PowerShell scripts, it is important that you include error handling. Most of the time, this involves the use of Try/Catch statements. The tricky thing with Try/Catch is that you can only catch a terminating exception. There are a few cmdlets that by design will throw a terminating exception. But you have no...
Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/ess
Here’s my PowerShell.org posts for November 2019. This was a first — I didn’t write any new PowerShell content at PowerShell.org (or anywhere) in November. It’s the first time since June 2014 where this happened. It feels weird. All that said, I did do something. I took some “free” time to help at Adam the […]
Over the last few years I’ve been using and tweaking a PowerShell script that generates an HTML report that provides information about a Hyper-V host and running virtual machines. This is another great use case for a PowerShell control script. The script helps me organize commands like Get-CimInstance, Get-VM and Get-Counter to retrieve pieces of...
Check out my PowerShell Essentials page https://jdhitsolutions.
A while ago, I posted an Iron Scripter challenge asking you to write some PowerShell code for working with items in the recycle bin. You were asked to calculate how much space the recycle bin is using and then restore a file. If you’d prefer, stop reading this post, check out the challenge and see...
Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential-powershell
In Part 9 of this series we’ll continue our journey with Ansible, Windows and PowerShell and look at how to handle disk creation. After ‘physically’ adding the new disk, either in a physical server or private / public cloud VM, typically you will need to initialize, partition and format it ready for use. In Windows … Continue reading Ansible, Windows and PowerShell: the Bas
Convert AzureAD ImutableID to MsDsConsistencyGUID Hello, When working with AADConnect, Active Directory & Azure AD, you may have to perform some hard matches to solve some weird issues, or for restoration purposes. Some time ago, I wrote an article that … Continue reading →
The post Convert AzureAD ImutableID to MsDsConsistencyGUID appeared first on IT for Dummies.
I’ve been using the new Windows Terminal from Microsoft for quite while. In fact, it has become my standard command line interface for PowerShell and more. I’m not sure at what point some of these features were added, but I can now set a background image and specify where to display it in the terminal....
Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential
I enjoying maintaining open source GitHub repositories such as dbachecks and ADSNotebook. I absolutely love it when people add more functionality to them. To collaborate with a repository in GitHub you need to follow these steps Fork the repository into your own GitHub Clone the repository to your local machine Create a new branch for […]
A Quick History Lesson
Today, I did a significant amount of work in a PowerShell session and, even though most of what I did was copy/pasted
from a file (open in VS Code), I wanted to grab only the essential commands from the session.
Instead of scrolling or arrowing up (which is actually using PowerShell history, by default), you can list all of the
commands that you have executed in your session, up to a predefined maximum.
In this article, Dan Franciscus covers how to use the Invoke-Command and why it is one of his favorite commands to use in PowerShell. Ever since I started using PowerShell as my command prompt and scripting language, there are various cmdlets that I admire. To me, Invoke-Command has been my favorite cmdlet to use for a few+ Read More
The post Using Invoke-Command In PowerShell appeared first on WinSysBlog.
When it comes to PowerShell scripting we tend to focus a lot on functions and modules. We place an emphasis on building re-usable tools. The idea is that we can then use these tools at a PowerShell prompt to achieve a given task. More than likely, these tasks are repetitive. In these situations, it makes...
Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential-powershel
I found this fantastic PowerShell module from jseerden that queries Microsoft Graph, and allows for cross-tenant Backup & Restore of your Intune Configuration. The Intune Configuration is backed up as JSON files in a given directory. The module allows an administrator to backup, restore and even compare different Intune backup sets.
The module requires a total of 3 modules to be present, you can install them by running the following commands in an administrative PowerShell prompt:
AzureAD (Install-Module -Name AzureAD)
MSGraphFunction (Install-Module -Name MSGraphFunctions)
The IntuneBackupandRestore PowerShell module is hosted on the PowerShell Gallery.
Olá pessoal, Recentemente tivemos o Ignite 2019 e junto deles inumeras gravações das sessões foram disponibilidadas, como o volume de sessões era muito grande decidi fazer […]
O post Baixando as Sessões do Ignite 2019 por Keyword pelo Powershell apareceu primeiro em Guido Oliveira.
The process of securely installing software in Windows is something that IT professionals grapple with, especially in an enterprise setting. The idea of using package management in Windows is a recent development with Chocolatey and has brought additional security enhancements, especially with the Chocolatey for Business version. The Chocolatey folks have gone to great lengths+ Read More
The post Four Chocolatey Security Features appeared first on WinSysBlog.
Or: Andy Authors An Amazing Alliteration Do enough work with PowerShell and you’ll build up a decent collection of modules installed from the gallery into either your computer or your user profile (or maybe both!). Here are two one-liners to help keep things up to date and tidy. Note: I’m calling these one-liners but I’ve … Continue reading "Monday Morning Module Maintenance Monoliners"The post Monday Morning Module Maintenance Monoliners appeared first on FLX SQL with Andy Levy.
Ola pessoal, Recentemente tive uma ideia de tocar um som aleatorio ao final da execucao de cada comando no Powershell customizando a funcao prompt, para o […]
O post Tocando um Som ao fim de cada comando no Powershell apareceu primeiro em Guido Oliveira.
Now that Azure Data Studio has PowerShell Notebooks and there is a PowerShell Module for creating notebooks. I have been asked, more than once, what is the point? What is the use case? How does this help. I hope that this post will spark some ideas of one particular use-case. I showed my silly example […]
I have to admit - executing the same command three times and expecting different results is dumb, but I still do it anyway. Fortunately, after trying three times I usually resort to other methods and try to solve the problem I have. Today while trying to trust PowerShellGallery I was greeted with an error.
The post Set-PSRepository Installation Policy Trusted – Invalid Class Error appeared first on Evotec.
Email address policies (EAP) define the rules that create email addresses for recipients. By setting up policies you can guarantee your users will have certain email address that follow the rules you have set in place. Unfortunately, in Office 365 Exchange Online there are no email address policies you can set for your users. In a larger organization where multiple people may be creating and editing users in Exchange Online, it’s possible that not all your users are following the address scheme you or your company has implemented.
When Craig and I first created PowervRA and PowervRO in 2016 we only initially thought about using them for our own purposes, since we were on a project at the time which required heavy use of automation around vRA and vRO. When we decided to put them out into the community we never expected them … Continue reading Want to become a maintainer of PowervRA or PowervRO? →
We need to deal with a group names through SID's rather than names because each group name is different in different languages. The second problem is to distinguish whether a user is a local or domain user. Finally, I need to connect to Active Directory to verify if the user I am about to remove has ExtensionAttribute10 (or any other field in AD) filled in or not.
The post Removing user from local administrator group based on data stored in Active Directory appeared first on Evotec.
I am currently doing a Auto Pilot / Intune deployment and was asked how we could deploy web link shortcuts to the users desktop as well as the start menu. Currently when you do a web link app deployment in Intune it will only ‘install’ it in the users Start menu and not the users desktop. By leveraging PowerShell and Intune Configuration policies we can have it deploy to the start menu and the desktop.
If you followed along with my recent articles about my PowerShell based backup system, you may recall that I used a PowerShell scheduled job an an event subscriber to monitor for file changes in key folders that I want to back up. I created the scheduled task to run at Windows startup and so far...
Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential-powershell-resourc
The latest update to the ADSNotebook PowerShell module I blogged about here now enables the creation of PowerShell notebooks with PowerShell. You can install the module with or if you have already installed it you can use In the latest release, there is an extra parameter for New-AdsWorkBook of -Type which will accept either SQL […]
We’re almost to the end of my PowerShell backup system. Last time I showed you how I handle my daily incremental backups. Today I figured I should circle back and go over how I handle weekly full backups. Remember, I am only concerned about backing up a handful of critical folders. I’ve saved that list...
Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential
If you don't know this yet, I use PSWriteHTML a lot. That means I get to test it under a lot of different conditions. I use it in reports, emails for small, medium, and large companies. Today's blog post summarizes the work I did in the last few weeks over different areas of PSWriteHTML.
The post Emailimo merged into PSWriteHTML, IE support and no dependencies appeared first on Evotec.
In Part 8 of this series we’ll continue our journey with Ansible, Windows and PowerShell and look at how to handle reboots. Despite improvements in Windows over the years, it’s still pretty common as part of VM or application deployment to need to restart the VM and wait for it to be available before carrying … Continue reading Ansible, Windows and PowerShell: the Basics – Part 8
Let’s continue exploring my PowerShell based backup system. If you are just jumping in, be sure to read part 1 and part 2 first. At the end of the previous article I have set up a scheduled job that is logging changed files in key folders to CSV files. The next order of business is...
Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential-powershell-resources/
Yesterday I began a series of articles documenting my PowerShell based backup system. The core of my system is using the System.IO.FileSystemWatcher as a means to track daily file changes so I know what to backup. However there are some challenges. I need to watch several folders, I need to have an easy way to...
Check out my PowerShell Essentials page https://jdhitsolutions.com/blog/essential-pow