powershell

Merging, splitting and creating PDF files with PowerShellMerging, splitting and creating PDF files with PowerShell

Merging, splitting and creating PDF files with PowerShell

We're in the last days of 2019, and this will be my last blog post this year. What better way…

4 hours ago
Sending Messages to Microsoft Teams from PowerShell just got easier and betterSending Messages to Microsoft Teams from PowerShell just got easier and better

Sending Messages to Microsoft Teams from PowerShell just got easier and better

Christmas time is upon us, and I've decided that my PSTeams module needs some love. I wrote it in late…

4 hours ago
Invoke-RestMethod : The underlying connection was closed: An unexpected error occurred on a send while connecting Graph APIInvoke-RestMethod : The underlying connection was closed: An unexpected error occurred on a send while connecting Graph API

Invoke-RestMethod : The underlying connection was closed: An unexpected error occurred on a send while connecting Graph API

In the last few days, I've got two reports that my PowerShell module for Office 365 Health suddenly started giving…

1 day ago
Getting Azure Health by parsing HTML using PSParseHTMLGetting Azure Health by parsing HTML using PSParseHTML

Getting Azure Health by parsing HTML using PSParseHTML

Some time ago I've wrote PowerShell way to get all information about Office 365 Service Health, and if you were…

4 hours ago
Microsoft Graph – InvalidAuthenticationToken – Access token validation failure. Invalid audienceMicrosoft Graph – InvalidAuthenticationToken – Access token validation failure. Invalid audience

Microsoft Graph – InvalidAuthenticationToken – Access token validation failure. Invalid audience

Today I had a need to connect to Microsoft Graph and do some tasks on Office 365. Since I have…

1 day ago
Set-PSRepository Installation Policy Trusted – Invalid Class ErrorSet-PSRepository Installation Policy Trusted – Invalid Class Error

Set-PSRepository Installation Policy Trusted – Invalid Class Error

I have to admit - executing the same command three times and expecting different results is dumb, but I still…

1 day ago
Removing user from local administrator group based on data stored in Active DirectoryRemoving user from local administrator group based on data stored in Active Directory

Removing user from local administrator group based on data stored in Active Directory

We need to deal with a group names through SID's rather than names because each group name is different in…

4 hours ago
Emailimo merged into PSWriteHTML, IE support and no dependenciesEmailimo merged into PSWriteHTML, IE support and no dependencies

Emailimo merged into PSWriteHTML, IE support and no dependencies

If you don't know this yet, I use PSWriteHTML a lot. That means I get to test it under a…

4 hours ago
Create a local user or administrator account in Windows using PowerShellCreate a local user or administrator account in Windows using PowerShell

Create a local user or administrator account in Windows using PowerShell

Recently I got a simple task to implement LAPS for the newly created local user instead of using the built-in…

4 hours ago
Nested Tabs, Diagram Updates, Diagram Events, Calendar Object and more in PSWriteHTMLNested Tabs, Diagram Updates, Diagram Events, Calendar Object and more in PSWriteHTML

Nested Tabs, Diagram Updates, Diagram Events, Calendar Object and more in PSWriteHTML

One of the new features I've worked on was connecting Diagrams with Tables. Someone suggested, and I thought it would…

4 hours ago