Powershell doesn't have some builtin help topics - powershell

I found my powershell doesn't have some help topics like about_profiles. I tried update-help but it doesn't help. Can anyone help to take a look?
PS C:\> systeminfo
Host Name: ******************
OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.10586 N/A Build 10586
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
Registered Owner: ******
Registered Organization:
Product ID: *********************
Original Install Date: 7/29/2016, 1:55:43 AM
System Boot Time: 8/2/2016, 1:39:10 AM
System Manufacturer: LENOVO
System Model: *********
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 60 Stepping 3 GenuineIntel ~2494 Mhz
BIOS Version: LENOVO GNET75WW (2.23 ), 9/1/2015
Windows Directory: C:\Windows
System Directory: C:\Windows\system32
Boot Device: \Device\HarddiskVolume1
System Locale: en-us;English (United States)
Input Locale: en-us;English (United States)
Time Zone:
Total Physical Memory: 16,009 MB
Available Physical Memory: 10,029 MB
Virtual Memory: Max Size: 18,953 MB
Virtual Memory: Available: 11,073 MB
Virtual Memory: In Use: 7,880 MB
Page File Location(s): C:\pagefile.sys
Domain: WORKGROUP
Logon Server:
Hotfix(s): 1 Hotfix(s) Installed.
[01]: KB3116278
Network Card(s): 5 NIC(s) Installed.
[01]: Intel(R) Ethernet Connection I217-LM
Connection Name: Ethernet
DHCP Enabled: Yes
DHCP Server:
IP address(es)
[01]:
[02]:
[02]: Intel(R) Dual Band Wireless-AC 7260
Connection Name: Wi-Fi
Status: Media disconnected
[03]: TeamViewer VPN Adapter
Connection Name: Ethernet 2
Status: Media disconnected
[04]: VMware Virtual Ethernet Adapter for VMnet1
Connection Name: VMware Network Adapter VMnet1
DHCP Enabled: Yes
DHCP Server:
IP address(es)
[01]:
[02]:
[05]: VMware Virtual Ethernet Adapter for VMnet8
Connection Name: VMware Network Adapter VMnet8
DHCP Enabled: Yes
DHCP Server:
IP address(es)
[01]:
[02]:
Hyper-V Requirements: VM Monitor Mode Extensions: Yes
Virtualization Enabled In Firmware: Yes
Second Level Address Translation: Yes
Data Execution Prevention Available: Yes
PS C:\> help profile
Name Category Module Synopsis
---- -------- ------ --------
Get-NetConnectionProfile Function NetConnection ...
Set-NetConnectionProfile Function NetConnection ...
Get-NetFirewallProfile Function NetSecurity ...
Set-NetFirewallProfile Function NetSecurity ...
Disable-NetIPHttpsProfile Function NetworkTransition ...
Enable-NetIPHttpsProfile Function NetworkTransition ...
PS C:\>

There's a known bug with WMF5 (PowerShell 5) where it will not update the help files because Microsoft didn't package them correctly.
If you're on an updated version of PowerShell, you should be able to run Install-Script -Name Install-AboutHelp followed by Install-AboutHelp.ps1.

Related

esm_cache.py crash with no network connectivity after

I've recently updated Ubuntu to 22.04, and it seemed to work perfectly fine for about 2 weeks. Yesterday while launching Rstudio I got a message about an internal error with title "esm_cache.py crashed with apt.cache.FetchFailedException" relating to package ubuntu-advantage-tools 27.13.2-22.04.1.
Afterwards I completely lost network connection and can't restore it in any way. This is a dual boot system, and the same ethernet cable still works on Windows 11.
I am very new to Ubuntu and am not able to think of any solution short of re-installing the system from scratch. After a search for similar issues, I tried to do some diagnostics:
sudo lshw -C network
*-network UNCLAIMED
description: Ethernet controller
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci#0000:04:00.0
version: 15
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list
configuration: latency=0
resources: ioport:f000(size=256) memory:fc604000-fc604fff memory:fc600000-fc603fff
nmcli device
DEVICE TYPE STATE CONNECTION
lo loopback unmanaged --
Any help would be very appreciated!

Webscoket error connection problem in bigblueutton

I just deploy bigbluebutton using amazon lightsail. Everything is working fine except audio call and video. When I'm trying to connect audio call and video call I'm getting webscket error.
I've already disable all the firewall.
I deploy bigbluebutton using bbb-install.sh
https://github.com/bigbluebutton/bbb-install
Here is system specifications
ip-xx.xx.xx.xx
description: Computer
product: HVM domU
vendor: Xen
version: 4.2.amazon
serial: ec222835-0f97-80b8-2cbf-361289de5846
width: 64 bits
capabilities: smbios-2.7 dmi-2.7 vsyscall32
configuration: boot=normal uuid=352822EC-970F-B880-2CBF-361289DE5846
*-core
description: Motherboard
physical id: 0
*-firmware
description: BIOS
vendor: Xen
physical id: 0
version: 4.2.amazon
date: 08/24/2006
size: 96KiB
capabilities: pci edd
*-cpu:0
description: CPU
product: Intel(R) Xeon(R) CPU E5-2686 v4 # 2.30GHz
vendor: Intel Corp.
physical id: 401
bus info: cpu#0
slot: CPU 1
size: 2300MHz
capacity: 2300MHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl xtopology pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm invpcid_single kaiser fsgsbase bmi1 avx2 smep bmi2 erms invpcid xsaveopt
*-cpu:1
description: CPU
vendor: Intel
physical id: 402
bus info: cpu#1
slot: CPU 2
size: 2300MHz
capacity: 2300MHz
*-cpu:2
description: CPU
vendor: Intel
physical id: 403
bus info: cpu#2
slot: CPU 3
size: 2300MHz
capacity: 2300MHz
*-cpu:3
description: CPU
vendor: Intel
physical id: 404
bus info: cpu#3
slot: CPU 4
size: 2300MHz
capacity: 2300MHz
*-cpu:4
description: CPU
vendor: Intel
physical id: 405
bus info: cpu#4
slot: CPU 5
size: 2300MHz
capacity: 2300MHz
*-cpu:5
description: CPU
vendor: Intel
physical id: 406
bus info: cpu#5
slot: CPU 6
size: 2300MHz
capacity: 2300MHz
*-cpu:6
description: CPU
vendor: Intel
physical id: 407
bus info: cpu#6
slot: CPU 7
size: 2300MHz
capacity: 2300MHz
*-cpu:7
description: CPU
vendor: Intel
physical id: 408
bus info: cpu#7
slot: CPU 8
size: 2300MHz
capacity: 2300MHz
*-memory
description: System Memory
physical id: 1000
size: 32GiB
*-bank:0
description: DIMM RAM
physical id: 0
slot: DIMM 0
size: 16GiB
width: 64 bits
*-bank:1
description: DIMM RAM
physical id: 1
slot: DIMM 1
size: 16GiB
width: 64 bits
*-pci
description: Host bridge
product: 440FX - 82441FX PMC [Natoma]
vendor: Intel Corporation
physical id: 100
bus info: pci#0000:00:00.0
version: 02
width: 32 bits
clock: 33MHz
*-isa
description: ISA bridge
product: 82371SB PIIX3 ISA [Natoma/Triton II]
vendor: Intel Corporation
physical id: 1
bus info: pci#0000:00:01.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: isa bus_master
configuration: latency=0
*-ide
description: IDE interface
product: 82371SB PIIX3 IDE [Natoma/Triton II]
vendor: Intel Corporation
physical id: 1.1
bus info: pci#0000:00:01.1
version: 00
width: 32 bits
clock: 33MHz
capabilities: ide isa_compatibility_mode-only_controller__supports_bus_mastering bus_master
configuration: driver=ata_piix latency=64
resources: irq:0 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:c100(size=16)
*-bridge UNCLAIMED
description: Bridge
product: 82371AB/EB/MB PIIX4 ACPI
vendor: Intel Corporation
physical id: 1.3
bus info: pci#0000:00:01.3
version: 01
width: 32 bits
clock: 33MHz
capabilities: bridge bus_master
configuration: latency=0
*-display UNCLAIMED
description: VGA compatible controller
product: GD 5446
vendor: Cirrus Logic
physical id: 2
bus info: pci#0000:00:02.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: vga_controller bus_master
configuration: latency=0
resources: memory:f0000000-f1ffffff memory:f3000000-f3000fff
*-generic
description: Unassigned class
product: Xen Platform Device
vendor: XenSource, Inc.
physical id: 3
bus info: pci#0000:00:03.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=xen-platform-pci latency=0
resources: irq:28 ioport:c000(size=256) memory:f2000000-f2ffffff
*-network
description: Ethernet interface
physical id: 1
logical name: eth0
serial: 02:0c:36:8d:8e:60
capabilities: ethernet physical
configuration: broadcast=yes driver=vif ip=172.26.9.115 link=yes multicast=yes
After searching here and there i found this one, But i'm also not sure weather this one works properly or not.
https://github.com/bigbluebutton/bigbluebutton/issues/2628#issuecomment-635107717
What is difference between single colon and double colon in this file
WebRtcEndpoint.conf.ini
I'm also little bit confused about some of the terminology used here like internal ip and external ip.
and
stunServerAddress=64.233.177.127 stunServerPort=19302 Just copy from github.
What kind of ip shoud i use here, internal ip or external ip.
`
Check /opt/freeswitch/etc/freeswitch/sip_profiles/external.xml settings firstly.
if your binding is like that:
ws-binding: :5066
wss-binding: :7443
change it to like this:
ws-binding: your_external_ip_address:5066
wss-binding: your_external_ip_address:7443
Your external ip address is same with external_sip_ip address.
Then dont forget to restart bbb (bbb-conf --restart)
I think that this problem has arisen from a firewall issue, Check your firewall and be sure that UDP traffic can pass over the firewall.

Service fabric and IPv4

After running DevClusterSetup.ps1, fabric gateway by default listens on IpV6 only even if the host doesn't even have an ipv6 IP address.
Since in my lap we only have ipv4 I wonder how to bind it to ipv4 ?
PS C:\Program Files\Microsoft SDKs\Service Fabric\ClusterSetup> netstat -ano | select-string 19000
TCP 127.0.0.1:2880 127.0.0.1:19000 ESTABLISHED 7848
TCP 127.0.0.1:19000 0.0.0.0:0 LISTENING 5764
TCP 127.0.0.1:19000 127.0.0.1:2880 ESTABLISHED 5764
TCP [::1]:19000 [::]:0 LISTENING 5764
PS C:\Program Files\Microsoft SDKs\Service Fabric\ClusterSetup> get-process -id 5764
Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
------- ------ ----- ----- ----- ------ -- -----------
155 61 5436 13056 52 0.09 5764 FabricGateway
PS C:\Program Files\Microsoft SDKs\Service Fabric\ClusterSetup> telnet 192.168.88.153 19000
Connecting To 192.168.88.153...Could not open connection to the host, on port 19000: Connect failed
As you can see FabricGateway is the one listening on port 19000 but I can't telnet to it with the IPv4 address.
When you have an IPv4 only environment somewhere, this is going to cause an interesting issue.
How can we configure this ?
For security reasons, a DEV cluster by default listens on loopback addresses, 127.0.0.0:19000 for IPv4 and [::1]:19000 for IPv6, to disallow connections from outside the machine. telnet 192.168.88.153 19000 does not work as it tries to connect to non-loopback address 192.168.88.153 of your machine, there is no listener on 192.168.88.153:19000 by default. This is not about IPv4 vs IPv6. If you want to connect with 192.168.88.153, you will need to replace localhost with either 192.168.88.153 or FQDN of your machine in your cluster manifest file. Be aware that this makes your endpoint visible from outside your machine.
<NodeList>
<Node NodeTypeRef="NodeType01" IsSeedNode="true" IPAddressOrFQDN="localhost" NodeName="Node1" FaultDomain="fd:/RACK1" UpgradeDomain="MYUD1" />

Chipset Information - AMD OR Intel

I want to get the chipset off multiple servers. Just testing the main line that will get this information.
Some servers have Intel and others have AMD - when I use the below it really does not work - it just sends everything back - I will choose First 1 so I only get back one but how do I make sure the script looks at either Intel or AMD only?
Get-WMIObject win32_pnpentity -ComputerName SERVERNAME| where { $_.caption -like "*AMD*" -or "*Intel*" } | select caption #-First 1
Output I get:
caption
-------
ACPI Multiprocessor PC
Microsoft ACPI-Compliant System
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
Intel(R) Xeon(R) CPU X5560 # 2.80GHz
PCI bus
Intel(R) 5520/5500/X58 I/O Hub to ESI Port - 3406
Intel(R) 7500/5520/5500/X58 I/O Hub PCI Express Root Port 1 - 3408
Smart Array P410i Controller
HP Virtual LUN
HP LOGICAL VOLUME SCSI Disk Device
HP LOGICAL VOLUME SCSI Disk Device
HP LOGICAL VOLUME SCSI Disk Device
HP LOGICAL VOLUME SCSI Disk Device
HP LOGICAL VOLUME SCSI Disk Device
HP LOGICAL VOLUME SCSI Disk Device
Intel(R) 7500/5520/5500/X58 I/O Hub PCI Express Root Port 2 - 3409
Intel(R) 7500/5520/5500/X58 I/O Hub PCI Express Root Port 3 - 340A
Intel(R) 7500/5520/X58 I/O Hub PCI Express Root Port 4 - 340B
Intel(R) 7500/5520/X58 I/O Hub PCI Express Root Port 5 - 340C
Intel(R) 7500/5520/X58 I/O Hub PCI Express Root Port 6 - 340D
Intel(R) 7500/5520/5500/X58 I/O Hub PCI Express Root Port 7 - 340E
Intel(R) 7500/5520/5500/X58 I/O Hub PCI Express Root Port 8 - 340F
Intel(R) 7500/5520/5500/X58 I/O Hub PCI Express Root Port 9 - 3410
Intel(R) 7500/5520/5500/X58 I/O Hub PCI Express Root Port 10 - 3411
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
Intel(R) 7500/5520/5500/X58 Physical Layer Port 0 - 3418
Intel(R) 7500/5520/5500 Physical Layer Port 1 - 3419
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard host CPU bridge
PCI standard PCI-to-PCI bridge
Broadcom BCM5709C NetXtreme II GigE #62
Broadcom BCM5709C NetXtreme II GigE (NDIS VBD Client) #62
Broadcom BCM5709C NetXtreme II GigE #63
Broadcom BCM5709C NetXtreme II GigE (NDIS VBD Client) #63
PCI standard PCI-to-PCI bridge
Broadcom BCM5709C NetXtreme II GigE #103
Broadcom BCM5709C NetXtreme II GigE (NDIS VBD Client) #103
Standard Universal PCI to USB Host Controller
USB Root Hub
figured it out - it should be:
Get-WMIObject win32_pnpentity -ComputerName SERVERNAME | where {( $_.caption -like "*AMD*" ) -or ($_.caption -like "*Intel*")} | select caption -First 1
Try the Win32_BaseBoard and Win32_Bios WMI classes.

KVM and libvirt: wrong CPU type in virtual host

We us KVM and libvirt on a 6 core (12 HT cores) machine for virtualization.
Problem: wrong CPU type in virtual host.
used KVM, libvirt, kernel version:
libvirt version: 0.9.8
QEMU emulator version 1.0 (qemu-kvm-1.0), Copyright (c) 2003-2008 Fabrice Bellard
Ubuntu 12.04.1 LTS
kernel: 3.2.0-32-generic x86_64
/usr/share/libvirt/cpu_map.xml does not support more recent cpu types than Westmare.
Do I need this kind of virtualisation of the cpu at all? because of some reasons we need maximum cpu-performance in the virtual host. Will be glad to have some cores of the server's i7-3930K CPU#3.20GHz available in my virtual machines.
Maybe we do too muczh virtualization...?
my virtual host's xml looks like: where can I set the cpu -host flag?
<domain type='kvm'>
<name>myVirtualServer</name>
<uuid>2344481d-f455-455e-9558</uuid>
<description>Test-Server</description>
<memory>4194304</memory>
<currentMemory>4194304</currentMemory>
<vcpu>2</vcpu>
<cpu match='exact'>
<model>Westmere</model>
<vendor>Intel</vendor>
</cpu>
<os>
<type arch='x86_64' machine='pc-1.0'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
$ lscpu of physical Server with 6 (12) cores with HT
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 12
On-line CPU(s) list: 0-11
Thread(s) per core: 2
Core(s) per socket: 6
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 45
Stepping: 7
CPU MHz: 1200.000
BogoMIPS: 6400.05
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 12288K
NUMA node0 CPU(s): 0-11
$ lscpu of virtual Server (wrong CPU type, wrong L2-Cache, wrong MHz)
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 2
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 15
Stepping: 11
CPU MHz: 3200.012
BogoMIPS: 6400.02
Virtualisation: VT-x
Hypervisor vendor: KVM
Virtualisation type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 4096K
NUMA node0 CPU(s): 0,1
in the client's xml
<cpu mode='custom' match='exact'>
<model fallback='allow'>core2duo</model>
<feature policy='require' name='vmx'/>
</cpu>
as an example. virsh edit then restart the guest.
EDIT. Ignore this. I've just re-read your question and you're already doing that.