Search found 2 matches

by ITVendor
Thu Oct 31, 2024 1:06 pm
Forum: PowerShell
Topic: $Host.Name / (Get-Host).Name and Using it with Invoke-Command
Replies: 2
Views: 584

Re: $Host.Name / (Get-Host).Name and Using it with Invoke-Command

I appreciate the idea -- I'm going to work though this, thank you.
by ITVendor
Wed Oct 30, 2024 11:55 am
Forum: PowerShell
Topic: $Host.Name / (Get-Host).Name and Using it with Invoke-Command
Replies: 2
Views: 584

$Host.Name / (Get-Host).Name and Using it with Invoke-Command

I have a PowerShell/JEA Session Configuration/endpoint. I want my form/application to be the only entity allowed to use it. This is to say, that I don't want people using it from the ConsoleHost, Code, ISE, etc. via Invoke-Command or Enter-PSSession. I thought I had an idea, but even though (Get ...