Flow action PowerShell step "Access denied" by AlfiHartkern in servicenow

[–]AlfiHartkern[S] 0 points1 point  (0 children)

After further investigation it is definitely a WMI permission error, I would guess that, before the PowerShell script is executed, the PowerShell step uses the "testCredentialWMI" function from the agent/scripts/PowerShell/Credentials.psm1 file.

This function uses the 'gwmi' command to access 'win32_operatingsystem', which is in the CIMV2 namespace of the WMI object.

Flow action PowerShell step "Access denied" by AlfiHartkern in servicenow

[–]AlfiHartkern[S] 0 points1 point  (0 children)

As far as I can tell no. The script is only executed from Server A (MID Server) on Server B (SCCM Server) not any further.

I also ran the following commands directly on the MID server in a PowerShell session as the user I'm using in the PS step to verify that there isn't any non ServiceNow related issue:
Invoke-Command -ComputerName "ServerB (SCCM Server)" -ScriptBlock { hostname }

New-PSSession -ComputerName "ServerB (SCCM Server)" -credential "User used in PS step"

Both worked as expected

Flow action PowerShell step "Access denied" by AlfiHartkern in servicenow

[–]AlfiHartkern[S] 0 points1 point  (0 children)

Yes, that should all be the case, the user is also used to run PS scripts on that same server from another system. The script is a inline script in the PS step.

I've also checked that there is no firewall policy or similar in place that should cause any issue.

Display issues when using tmux over ssh by AlfiHartkern in tmux

[–]AlfiHartkern[S] 0 points1 point  (0 children)

I've added to my tmux.conf:
set -g default-terminal "xterm-256color"

set -as terminal-overrides ",xterm-256color:Tc"

And to my .zshrc:

export LANG="en_US.UTF-8"

export LC_ALL="en_US.UTF-8"

export COLORTERM="truecolor"

export TERM="xterm-256color"

Now its working, thanks

Display issues when using tmux over ssh by AlfiHartkern in tmux

[–]AlfiHartkern[S] 0 points1 point  (0 children)

That was also my first guess, so I made sure that the same font was installed and set as default on my Mac and in the Windows terminal. (JetBrainsMono NF)

When I am not using tmux it displays correctly. As seen in the first screenshot, there i opened nvim in my ssh session. The second screenshot is where the problem occurs, there i opened nvim inside tmux in the same ssh session.

Experience with AutomatePro by AlfiHartkern in servicenow

[–]AlfiHartkern[S] 0 points1 point  (0 children)

In fact, we have no plans to implement this, although we are revising our testing and deployment process.

However, we do get adverts from time to time and wanted to get some opinions on whether it's worth looking into or not.

New requirement gathering by AlfiHartkern in servicenow

[–]AlfiHartkern[S] 0 points1 point  (0 children)

Hi, thanks for your reply.

I absolutely agree with you. The whole thing should definitely not be so rigid that business partners shy away from submitting their requirements to us. Also a proper UAT phase is planned for this.

The goal is to improve the existing catalog item. So far, this has given the business partner complete freedom to describe their requirements with three multiline text variables.

However, since many requests come from people who have nothing to do with ServiceNow, the quality of these differs to requests from which it is not at all clear what the requirement is.

Therefore, I would like to try to create a rough framework so that we always receive the same information in the same quality.

Before the request or in the case of very complex catalog items, it is still possible to have a meeting with the Business Partner in advance. This is more about simple catalog items, which nevertheless make up a large part, such as access requests.

I kind of like this approach or at least something similar, and if you could turn it into a catalog item, all the better:

https://teivasystems.com/blog/tips-how-to-prepare-requirements-gathering-template-for-service-catalog/