About
This blog is mostly about my work, but expect an occasional home project, productivity tip and tooling review.Search
Categories
- Conference (21)
- Development (217)
- Security (19)
- Test (32)
- Tooling (175)
- Uncategorized (168)
Most used tags
Tag Archives: powershell
Invoke-Webrequest UnauthorizedAccessException
Today I got an UnauthorizedAccessException when running the following script in powershell There was no logging on the webserver, there was no access-denied message, there was no traffic at all. What happend? Turns out the problem was the file (data.json) … Continue reading
Cannot upload task attachment file
We run Pester tests during our tfs release. The output is published as test results and saved to the log files. To save the output.xml to the log file we use task.uploadfile from azure pipeline tasks. This task failed because … Continue reading
Powershell extension method
We are testing our Powershell Module with Pester. Since the data is some sort of graph we need to work with indexers / lists all the time. After a small brainstorm session we decided on an Extension Method approach. Reading … Continue reading
Powershell module
Windows PowerShell is a Windows command-line shell designed especially for system administrators. Windows PowerShell includes an interactive prompt and a scripting environment that can be used independently or in combination. docs.microsoft.com We are building a system and need to transform-and-load … Continue reading
Regression test with Pester
My current project is a scrum project. We develop new features in sprints and deliver working software every 3 weeks. To keep the pace steady we have loads of tests that run every night after a build is deployed. Until … Continue reading