tags
powershell
167 entradas
20 entradas

PowerShell – Comparing advanced objects
Compare nested and advanced PowerShell objects more reliably by flattening complex structures before visual diffing and review.

PowerShell – Converting advanced object to flat object
PowerShell language allows you to work and build complicated objects. There are multiple ways to save them, such as XML or JSON, but someti…

PowerShell – Environment Path is missing or overwritten
If PSModulePath is suddenly missing default module locations, PowerShell can stop discovering built-in or installed modules even though not…

PowerShell – Few tricks about HashTables and Arrays I wish I knew when I started
I’ve been working with PowerShell for a while now and like with most things I do I’ve learned it by doing and not by reading. I had a job t…

PowerShell – How to check response code from a website
Use PowerShell to check HTTP status codes in a cleaner way, return structured output, and handle both successful and failed web responses.

PowerShell – How to find users without default quota set on Microsoft Exchange
Use PowerShell to find Exchange mailboxes that are not inheriting database default quotas and switch them back to UseDatabaseQuotaDefaults…

PowerShell – How to format Write-Host with multiple colors
When you begin to write PowerShell scripts you usually just want it to do some simple tasks and automations. But…

PowerShell – Returning one object from a function as an Array
Few weeks had passed since I’ve initially written PowerShell – Few tricks about HashTables and Arrays I wish I knew when I started. I was h…

PowerShell – Single PSM1 file versus multi-file modules
Compare single-file and multi-file PowerShell module layouts, including the import-time tradeoffs that show up when modules grow large.

PowerShell – Working with Format-Table in Verbose, Debug, Output Streams
As you may know, PowerShell has multiple streams. Write-Output, Write-Error, Write-Warning, Write-Verbose, Write-Debug, and Write-Informati…

PowerShellGallery disables support for TLS 1.0 breaking Install-Module
Troubleshoot Install-Module failures on Windows Server 2008 R2 after PowerShell Gallery disabled TLS 1.0, and learn how switching to TLS 1.…

PowerShellGallery – You are installing modules from an untrusted repository
Learn why PowerShell prompts that PSGallery is untrusted, how to mark it as trusted, and when you may want to leave that warning in place.

Prepare Windows 10 Start Menu for all computers in Active Directory
Prepare and standardize the Windows 10 Start Menu for Active Directory computers with a repeatable deployment approach and centralized cont…

Preparing Azure App Registrations permissions for Office 365 Service Health
As you may have seen in my other post, there’s a simple, PowerShell way to get Office 365 Health Service data for you to use any way you li…

PSBlackListChecker – Added Discord support
It’s been less than 24 hours since I’ve released PSBlackListChecker with support, among other improvements, for Microsoft Teams and Slack a…

PSBlackListChecker – Notifications to Microsoft Teams, Slack of Blacklisted IPs
If this is the first time you’re reading about this module, it’s simple PowerShell module that allows you to verify…

PSTeams – Send notifications to MS Teams from Mac / Linux or Windows
If you’re new to this module it’s very simple PowerShell module allowing to send notifications straight to Microsoft Teams channels….

PSWinDocumentation – Audit Active Directory Passwords
Audit Active Directory passwords with PSWinDocumentation and breached-password data to find weak, reused, or exposed credentials before att…

PSWinDocumentation – Export to Word, Excel, SQL of AD, AWS, Exchange, O365 Exchange, O365 Azure AD
Today I’m pushing forward with PSWinDocumentation project. I’ve fixed some bugs but I also added a couple of new features. I did lie a bit…

PSWinDocumentation – Version 0.1 with Word / Excel export
A few weeks ago I’ve released my first version of PSWinDocumentation. It was simple, one command module where you start it and get some bas…